Skip to content

Commit 7dc6608

Browse files
committed
Update docker-hub-rate-limiting.md
1 parent b0d6869 commit 7dc6608

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/guides/docker-hub-rate-limiting.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,19 @@ kubectl patch serviceaccount operator --namespace default \
130130
kubectl patch serviceaccount fluentd --namespace default \
131131
-p "{\"imagePullSecrets\": [{\"name\": \"registry-credentials\"}]}"
132132
133+
kubectl patch serviceaccount default --namespace kube-system \
134+
-p "{\"imagePullSecrets\": [{\"name\": \"registry-credentials\"}]}"
135+
133136
kubectl patch serviceaccount cluster-autoscaler --namespace kube-system \
134137
-p "{\"imagePullSecrets\": [{\"name\": \"registry-credentials\"}]}"
135138
136139
kubectl patch serviceaccount metrics-server --namespace kube-system \
137140
-p "{\"imagePullSecrets\": [{\"name\": \"registry-credentials\"}]}"
138141
142+
# Only if you are using cortex version <= 0.20.0:
143+
kubectl patch serviceaccount istio-cni --namespace kube-system \
144+
-p "{\"imagePullSecrets\": [{\"name\": \"registry-credentials\"}]}"
145+
139146
# Only if you are using Inferentia:
140147
kubectl patch serviceaccount neuron-device-plugin --namespace kube-system \
141148
-p "{\"imagePullSecrets\": [{\"name\": \"registry-credentials\"}]}"
@@ -163,8 +170,11 @@ kubectl delete secret --namespace kube-system registry-credentials
163170
kubectl patch serviceaccount default --namespace default -p "{\"imagePullSecrets\": []}"
164171
kubectl patch serviceaccount operator --namespace default -p "{\"imagePullSecrets\": []}"
165172
kubectl patch serviceaccount fluentd --namespace default -p "{\"imagePullSecrets\": []}"
173+
kubectl patch serviceaccount default --namespace kube-system -p "{\"imagePullSecrets\": []}"
166174
kubectl patch serviceaccount cluster-autoscaler --namespace kube-system -p "{\"imagePullSecrets\": []}"
167175
kubectl patch serviceaccount metrics-server --namespace kube-system -p "{\"imagePullSecrets\": []}"
176+
# Only if you are using cortex version <= 0.20.0:
177+
kubectl patch serviceaccount istio-cni --namespace kube-system -p "{\"imagePullSecrets\": []}"
168178
# Only if you are using Inferentia:
169179
kubectl patch serviceaccount neuron-device-plugin --namespace kube-system -p "{\"imagePullSecrets\": []}"
170180
```

0 commit comments

Comments
 (0)