mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-16 07:13:53 +00:00
cluster/images/hyperkube: re-add hyperkube busybox style symlinks
This commit is contained in:
parent
ed3a29bd6a
commit
895ac2c1d4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user