kubectl logs -n kube-system

From wikieduonline
Jump to navigation Jump to search

kubectl logs -n kube-system


kubectl logs -n kube-system aws-node-123 
error: a container name must be specified for pod aws-node-w75dq, choose one of: [aws-node aws-eks-nodeagent] or one of the init 
containers: aws-vpc-cni-init
kubectl logs aws-node-12345 -n kube-system -c aws-vpc-cni-init
kubectl logs aws-node-12345 -n kube-system -c aws-eks-nodeagent 
kubectl logs aws-node-12345 -n kube-system -c aws-node 

kubectl logs -n kube-system aws-node-w75dq  -c aws-node aws-eks-nodeagent 
error: only one of -c or an inline [CONTAINER] arg is allowed

Related

See also

Advertising: