This website uses cookies to ensure you get the best experience.
Learn more.
A Pod contains containers api and metrics. A developer needs the api container's logs, but the Pod has no default-container annotation. Which command is unambiguous?
Published
- kubectl logs service/checkout --selector=app=metrics
- kubectl get checkout -c api
- kubectl logs checkout -c api
- kubectl logs checkout -c metrics
Comments — 0
Sign in to comment