How can web-stack.yaml define two Deployments and two Services in one reusable file?
web-stack.yaml
Define one Pod that runs NGINX and Apache in the same container.
Create live objects imperatively and leave web-stack.yaml empty.
Define both Deployments and both Services as four YAML documents separated by ---.
---
Define only the two Services because they automatically create their backend Pods.