Commit 895ac2c1 authored by Patrick Baxter's avatar Patrick Baxter

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

parent ed3a29bd
...@@ -72,6 +72,14 @@ COPY cni /opt/cni ...@@ -72,6 +72,14 @@ COPY cni /opt/cni
COPY cni-conf /etc/cni/net.d COPY cni-conf /etc/cni/net.d
# Create symlinks for each hyperkube server # Create symlinks for each hyperkube server
# TODO: this is unreliable for now (e.g. running "/kubelet" panics) # TODO: replace manual symlink creation with --make-symlink command once
# Also, it doesn't work for other architectures # cross-building with qemu supports go binaries. See #28702
# RUN /hyperkube --make-symlinks # 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment