3
0
Fork 0
forked from mirrors/nixpkgs

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