From d5f964d7ae9795b963d611ac067cfab1a6aa8c2c Mon Sep 17 00:00:00 2001 From: Seth Rutner Date: Wed, 9 Jun 2021 12:43:39 -0700 Subject: [PATCH] Update README.md This won't work if the ImagePullPolicy is not set to never as it tries to pull it. --- examples/in-cluster-client-configuration/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/in-cluster-client-configuration/README.md b/examples/in-cluster-client-configuration/README.md index 83ad1a6b..5aaf4956 100644 --- a/examples/in-cluster-client-configuration/README.md +++ b/examples/in-cluster-client-configuration/README.md @@ -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 + kubectl run --rm -i demo --image=in-cluster --image-pull-policy=Never There are 4 pods in the cluster There are 4 pods in the cluster