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

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
* https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/#ephemeral-container
  
 
  [[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
Line 5: Line 5:
 
  [[kubectl debug]] -it ephemeral-demo --image=[[busybox]]:1.28 [[--target]]=ephemeral-demo
 
  [[kubectl debug]] -it ephemeral-demo --image=[[busybox]]:1.28 [[--target]]=ephemeral-demo
  
 +
== See also ==
 +
* {{K8s tr}}
  
{{K8s tr}}
+
[[Category:K8s]]

Latest revision as of 08:28, 23 October 2023

Advertising: