Difference between revisions of "Kubectl annotate"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
  [[kubectl annotate pods]] my-nginx-v4-9gw19 description='my frontend running nginx'
 
  [[kubectl annotate pods]] my-nginx-v4-9gw19 description='my frontend running nginx'
 
  [[kubectl get pods]] my-nginx-v4-9gw19 -o yaml
 
  [[kubectl get pods]] my-nginx-v4-9gw19 -o yaml
 +
 +
[[kubectl annotate storageclass gp2 storageclass.kubernetes.io/is-default-class=true]]
  
 
  [[kubectl annotate serviceaccount]]  
 
  [[kubectl annotate serviceaccount]]  

Revision as of 13:30, 30 December 2022

Advertising: