This is why teams should be cross-functional and product-organized, divided, if further is necessary, by product component not function, instead of function-organized.
Function-organized teams encourage knowledge siloes, and its-some-othrler-teams-problem-ism.
That sounds great in theory, but what happens if your dev/ops ratio is something like 15/1? How do you put an ops person in every team? I think it's the right answer but it seems impossible to put in practice.