add prompt about KUBE_REPO_PREFIX (#3597)

* add prompt about KUBE_REPO_PREFIX

* add period
This commit is contained in:
Charlie R.C 2017-06-01 01:45:55 +08:00 committed by Andrew Chen
parent 4471d3dbf0
commit 75303cfee4
1 changed files with 12 additions and 0 deletions

View File

@ -389,6 +389,18 @@ configuration file.
If `KUBE_KUBERNETES_DIR` is specified, you may need to rewrite the arguments of the kubelet. If `KUBE_KUBERNETES_DIR` is specified, you may need to rewrite the arguments of the kubelet.
(e.g. --kubeconfig, --pod-manifest-path) (e.g. --kubeconfig, --pod-manifest-path)
If `KUBE_REPO_PREFIX` is specified, you may need to set the kubelet flag `--pod-infra-container-image` which specifies which pause image to use.
Defaults to `gcr.io/google_containers/pause-${ARCH}:3.0` where `${ARCH}` can be one of `amd64`, `arm`, `arm64`, `ppc64le` or `s390x`.
```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 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. support http_proxy, https_proxy, or no_proxy.