Skip to content

Commit

Permalink
add prompt about KUBE_REPO_PREFIX (#3597)
Browse files Browse the repository at this point in the history
* add prompt about KUBE_REPO_PREFIX

* add period
  • Loading branch information
xilabao authored and chenopis committed May 31, 2017
1 parent 4471d3d commit 75303cf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/admin/kubeadm.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,18 @@ 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 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
support http_proxy, https_proxy, or no_proxy.

Expand Down

0 comments on commit 75303cf

Please sign in to comment.