This website uses cookies to ensure you get the best experience.
Learn more.
A container repeatedly exits and restarts. Its current log is nearly empty, but the previous instance emitted the failure. Which command retrieves that instance's log?
Published
- kubectl logs api -c server --tail=0
- kubectl describe namespace default
- kubectl logs api -c server --previous
- kubectl get service api -o yaml
Comments — 0
Sign in to comment