Difference between revisions of "Kubectl run nginx --image=nginx"
Jump to navigation
Jump to search
(7 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: | ||
+ | kubectl run nginx [[--image]]=nginx | ||
+ | [[pod/]]nginx created | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[kubectl run -it ubuntu --image=ubuntu -- bash]]</code> | ||
+ | * <code>[[kubectl run alpine]]</code> | ||
== See also == | == See also == | ||
* {{k run}} | * {{k run}} | ||
+ | |||
+ | [[Category:K8s]] |
Latest revision as of 10:38, 22 October 2024
Advertising: