Skip to content

Commit

Permalink
Support volumes for bootstrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Sep 25, 2022
1 parent eff5dc6 commit 83eab2f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions templates/bootstrap/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,22 @@ FROM quay.io/rockylinux/rockylinux:${ROCKYLINUX_VERSION} as server
ENV container docker
STOPSIGNAL SIGRTMIN+3
VOLUME [ "/sys/fs/cgroup" ]

# Volumes Configuration
## binary.cni
VOLUME [ "/opt/cni" ]
## binary.common
VOLUME [ "/opt/bin" ]
## binary.etcd
VOLUME [ "/opt/etcd" ]
## binary.pypy3
VOLUME [ "/opt/pypy3" ]
## var.cni
VOLUME [ "/var/lib/cni" ]
## var.containerd
VOLUME [ "/var/lib/containerd" ]
## var.k8s
VOLUME [ "/var/lib/kubelet" ]

# Server Configuration
WORKDIR /root/
Expand Down

0 comments on commit 83eab2f

Please sign in to comment.