- curl –fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | sudo gpg –dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
- echo ‘deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /’ | sudo tee /etc/apt/sources.list.d/kubernetes.list
- sudo apt update
- sudo apt install –y kubeadm=1.28.1–1.1 kubelet=1.28.1–1.1 kubectl=1.28.1–1.1
Để lại một bình luận