mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Updated command to start in-cluster deployment
Updated the --image-pull-policy=Never option with default 'IfNotPresent'. 'Never' causes the pod to be in state: ErrImageNeverPull
This commit is contained in:
parent
41b3e60f0e
commit
7400cf937b
@ -37,7 +37,7 @@ kubectl create clusterrolebinding default-view --clusterrole=view --serviceaccou
|
||||
|
||||
Then, run the image in a Pod with a single instance Deployment:
|
||||
|
||||
kubectl run --rm -i demo --image=in-cluster --image-pull-policy=Never
|
||||
kubectl run --rm -i demo --image=in-cluster
|
||||
|
||||
There are 4 pods in the cluster
|
||||
There are 4 pods in the cluster
|
||||
|
Loading…
Reference in New Issue
Block a user