This document provides detailed steps for setting up Kubernetes 1.23.5 cluster using Aliyun's mirror sources on Ubuntu 18.04, including component installation and network configuration.
This article was published 2122 days ago, some content may be outdated. If you have any questions, please leave a comment.
Installing Kubernetes
Install kubelet, kubeadm, kubectl
Add Kubernetes repository
1
2
3
4
5
6
7
8
sudo apt-get install -y ca-certificates curl software-properties-common apt-transport-https curl
curl -s https://mirrors.aliyun.com/kubernetes/apt/doc/apt-key.gpg | sudo apt-key add -
sudo tee /etc/apt/sources.list.d/kubernetes.list <<EOF
deb https://mirrors.aliyun.com/kubernetes/apt/ kubernetes-xenial main
EOF sudo apt-get update