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

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
  kubectl run nginx [[--image]]=nginx
 
  kubectl run nginx [[--image]]=nginx
 
  [[pod/]]nginx created
 
  [[pod/]]nginx created
 +
 +
== Related ==
 +
* <code>[[kubectl run -it ubuntu --image=ubuntu -- bash]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 18:18, 22 October 2023

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

Related

See also

Advertising: