Difference between revisions of "Kubectl run nginx --image=nginx"
Jump to navigation
Jump to search
(5 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 | ||
Solution: | Solution: | ||
− | 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: