Difference between revisions of "Kubectl logs -f"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
   [[kubectl logs]] -f -n karpenter $([[kubectl get pods]] -n karpenter -l [[karpenter=controller]] -o name)
 
   [[kubectl logs]] -f -n karpenter $([[kubectl get pods]] -n karpenter -l [[karpenter=controller]] -o name)
  
  [[kubectl logs my-pod -f]]
+
  [[kubectl logs]] my-pod -f
  
  
  
 
{{kubectl logs}}
 
{{kubectl logs}}

Revision as of 11:39, 9 December 2022

 kubectl logs -f -n karpenter $(kubectl get pods -n karpenter -l karpenter=controller -o name)
kubectl logs my-pod -f


kubectl logs, ktail, stern, --previous, -c

Advertising: