Difference between revisions of "Kubernetes debugging with an ephemeral debug container"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
  
  
  [[kubectl run]] ephemeral-demo --image=registry.k8s.io/[[pause]]:3.1 --restart=Never
+
  [[kubectl run]] ephemeral-demo --image=registry.k8s.io/[[pause]]:3.1 [[--restart]]=Never
  
  [[kubectl debug]] -it ephemeral-demo --image=[[busybox]]:1.28 --target=ephemeral-demo
+
  [[kubectl debug]] -it ephemeral-demo --image=[[busybox]]:1.28 [[--target]]=ephemeral-demo
  
  
 
{{K8s tr}}
 
{{K8s tr}}

Revision as of 07:34, 20 September 2023

Advertising: