kubernetes module: kubelet, add socat to path for kubectl portforward

This commit is contained in:
Jaka Hudoklin 2017-06-04 22:41:19 +02:00 committed by Robin Gloster
parent 8e48fff268
commit 55dbbfd899

View File

@ -736,7 +736,7 @@ in {
description = "Kubernetes Kubelet Service";
wantedBy = [ "kubernetes.target" ];
after = [ "network.target" "docker.service" "kube-apiserver.service" ];
path = with pkgs; [ gitMinimal openssh docker utillinux iproute ethtool thin-provisioning-tools iptables ] ++ cfg.path;
path = with pkgs; [ gitMinimal openssh docker utillinux iproute ethtool thin-provisioning-tools iptables socat ] ++ cfg.path;
preStart = ''
docker load < ${infraContainer}
rm /opt/cni/bin/* || true