Difference between revisions of "Kubectl run nginx --image=nginx"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
  k run nginx
+
  [[k run]] nginx
 
  error: required flag(s) "[[image]]" not set
 
  error: required flag(s) "[[image]]" not set
  

Revision as of 18:17, 22 October 2023

k run nginx
error: required flag(s) "image" not set
Solution:
kubectl run nginx --image=nginx
pod/nginx created

See also

Advertising: