mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-16 15:20:17 +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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user