Difference between revisions of "Kubectl run nginx --image=nginx"
Jump to navigation
Jump to search
m (Welcome moved page K run nginx to Kubectl run nginx --image=nginx) |
|||
(3 intermediate revisions by the same user not shown) | |||
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 | ||
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> | ||
+ | * <code>[[kubectl run alpine]]</code> | ||
== See also == | == See also == |
Latest revision as of 10:38, 22 October 2024
Advertising: