From 59fc4eb222f6a8a481ae479d971397c45e83e3ed Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Mon, 4 Jan 2016 08:31:03 +0100 Subject: [PATCH] add pod infrastructure container --- init/systemd/environ/kubelet | 3 +++ init/systemd/kubelet.service | 1 + 2 files changed, 4 insertions(+) diff --git a/init/systemd/environ/kubelet b/init/systemd/environ/kubelet index db93a5e..028043f 100644 --- a/init/systemd/environ/kubelet +++ b/init/systemd/environ/kubelet @@ -13,5 +13,8 @@ KUBELET_HOSTNAME="--hostname-override=127.0.0.1" # location of the api-server KUBELET_API_SERVER="--api-servers=http://127.0.0.1:8080" +# pod infrastructure container +KUBELET_POD_INFRA_CONTAINER="--pod-infra-container-image=registry.access.redhat.com/rhel7/pod-infrastructure:latest" + # Add your own! KUBELET_ARGS="" diff --git a/init/systemd/kubelet.service b/init/systemd/kubelet.service index 41a25f5..fb540cb 100644 --- a/init/systemd/kubelet.service +++ b/init/systemd/kubelet.service @@ -16,6 +16,7 @@ ExecStart=/usr/bin/kubelet \ $KUBELET_PORT \ $KUBELET_HOSTNAME \ $KUBE_ALLOW_PRIV \ + $KUBELET_POD_INFRA_CONTAINER \ $KUBELET_ARGS Restart=on-failure -- 1.9.3