If you are running Rancher with no internet access or Rancher does not have access to DockerHub (i.e. docker.io
) and Google Container Registry (i.e. gcr.io
), then the pod infra container image and Kubernetes add-ons will not be installed. You will need to configure Kubernetes to point a private registry for being able to installing the Kubernetes add-ons and the pod infra container image.
Rancher expects the private registry to mirror DockerHub (i.e docker.io
) and Google Container Registry (i.e. gcr.io
).
When configuring Kubernetes, Rancher uses an image whose network/ipc namespaces in each pod will use.
# Located as a default value in the k8s templates
Image: gcr.io/google_containers/pause-amd64:3.0
The namespace/name:tag
is expected to be consistent the images in the Rancher add-on templates.
The images below are the list of add-ons that are currently supported, you will need to check the Github repo for exact version and copy the exact version for each image.
# Located in the helm/tiller-deploy.yaml
image: <$PRIVATE_REGISTRY>/kubernetes-helm/tiller:<VERSION>
# Located in the dashboard/dashboard-controller.yaml
image: <$PRIVATE_REGISTRY>/google_containers/kubernetes-dashboard-amd64:<VERSION>
# Located in the heapster/heapster-controller.yaml
image: <$PRIVATE_REGISTRY>/google_containers/heapster:<VERSION>
# Located in the heapster/influx-grafana-controller.yaml
image: <$PRIVATE_REGISTRY>/kubernetes/heapster_influxdb:<VERSION>
image: <$PRIVATE_REGISTRY>/google_containers/heapster_grafana:<VERSION>