|
@@ -8,6 +8,9 @@ RUN apt-get update && apt-get install --yes --no-install-recommends \
|
|
iproute2 \
|
|
iproute2 \
|
|
iptables
|
|
iptables
|
|
|
|
|
|
|
|
+
|
|
|
|
+RUN update-alternatives --set iptables /usr/sbin/iptables-legacy
|
|
|
|
+
|
|
ARG KUBERNETES_VERSION=v1.17.0
|
|
ARG KUBERNETES_VERSION=v1.17.0
|
|
RUN curl --location https://dl.k8s.io/$KUBERNETES_VERSION/kubernetes-node-linux-amd64.tar.gz \
|
|
RUN curl --location https://dl.k8s.io/$KUBERNETES_VERSION/kubernetes-node-linux-amd64.tar.gz \
|
|
| tar -xvz --directory=/usr/local/bin --strip-components=3 kubernetes/node/bin/kubelet
|
|
| tar -xvz --directory=/usr/local/bin --strip-components=3 kubernetes/node/bin/kubelet
|