Skip to content

Commit

Permalink
fix: specify cri-tools package version to 1.25.* - #171
Browse files Browse the repository at this point in the history
  • Loading branch information
sykim-etri committed Mar 15, 2023
1 parent a74c174 commit 475104a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ sudo curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-ke
sudo apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main"
sudo apt-get update

# cri-tools
sudo apt-get install -y cri-tools=1.25.*
sudo apt-mark hold cri-tools

# container runtime
sudo apt-get install -y containerd.io=1.2.13-2
cat <<EOF | sudo tee /etc/modules-load.d/containerd.conf
Expand Down Expand Up @@ -167,4 +171,4 @@ RestartSec=10s
WantedBy=kubelet.service
EOF'
sudo systemctl daemon-reload
sudo systemctl enable mcks-bootstrap
sudo systemctl enable mcks-bootstrap

0 comments on commit 475104a

Please sign in to comment.