Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleWindows shell command
$Env:POD_NAME=$(kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{end}}')

...


Change a label within a POD

Info
titleLinux shell command
kubectl label pod $POD_NAME app=v1

...