File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
staging/src/k8s.io/kubectl/pkg/cmd/run Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,13 @@ var (
68
68
kubectl run nginx --image=nginx
69
69
70
70
# Start a single instance of hazelcast and let the container expose port 5701 .
71
- kubectl run hazelcast --image=hazelcast --port=5701
71
+ kubectl run hazelcast --image=hazelcast/hazelcast --port=5701
72
72
73
73
# Start a single instance of hazelcast and set environment variables "DNS_DOMAIN=cluster" and "POD_NAMESPACE=default" in the container.
74
- kubectl run hazelcast --image=hazelcast --env="DNS_DOMAIN=cluster" --env="POD_NAMESPACE=default"
74
+ kubectl run hazelcast --image=hazelcast/hazelcast --env="DNS_DOMAIN=cluster" --env="POD_NAMESPACE=default"
75
75
76
76
# Start a single instance of hazelcast and set labels "app=hazelcast" and "env=prod" in the container.
77
- kubectl run hazelcast --image=hazelcast --labels="app=hazelcast,env=prod"
77
+ kubectl run hazelcast --image=hazelcast/hazelcast --labels="app=hazelcast,env=prod"
78
78
79
79
# Start a replicated instance of nginx.
80
80
kubectl run nginx --image=nginx --replicas=5
You can’t perform that action at this time.
0 commit comments