Skip to content

Commit

Permalink
add prompt about KUBE_REPO_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
xilabao committed May 3, 2017
1 parent c849d16 commit 29b95a5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/admin/kubeadm.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,16 @@ configuration file.

If `KUBE_KUBERNETES_DIR` is specified, you may need to rewrite the arguments of the kubelet.
(e.g. --kubeconfig, --pod-manifest-path)
If `KUBE_REPO_PREFIX` is specified, you may need to set --pod-infra-container-image which is the pause image.

```bash
cat > /etc/systemd/system/kubelet.service.d/20-pod-infra-image.conf <<EOF
[Service]
Environment="KUBELET_EXTRA_ARGS=--pod-infra-container-image=<your-image>"
EOF
systemctl daemon-reload
systemctl restart kubelet
```

If you want to use kubeadm with an http proxy, you may need to configure it to
support http_proxy, https_proxy, or no_proxy.
Expand Down

0 comments on commit 29b95a5

Please sign in to comment.