cluster/images/hyperkube: re-add hyperkube busybox style symlinks

This commit is contained in:
Patrick Baxter 2016-07-26 02:33:26 +00:00
parent ed3a29bd6a
commit 895ac2c1d4

View File

@ -72,6 +72,14 @@ COPY cni /opt/cni
COPY cni-conf /etc/cni/net.d
# Create symlinks for each hyperkube server
# TODO: this is unreliable for now (e.g. running "/kubelet" panics)
# Also, it doesn't work for other architectures
# TODO: replace manual symlink creation with --make-symlink command once
# cross-building with qemu supports go binaries. See #28702
# RUN /hyperkube --make-symlinks
RUN ln -s /hyperkube /apiserver \
&& ln -s /hyperkube /controller-manager \
&& ln -s /hyperkube /federation-apiserver \
&& ln -s /hyperkube /federation-controller-manager \
&& ln -s /hyperkube /kubectl \
&& ln -s /hyperkube /kubelet \
&& ln -s /hyperkube /proxy \
&& ln -s /hyperkube /scheduler