💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**1. 安装前你可以查看kubeadm,kubelet、kubectl有哪些可用版本【任意一节点】** ```shell # yum --showduplicates list kubelet --nogpgcheck ... kubelet.x86_64 1.26.0-0 kubernetes kubelet.x86_64 1.26.1-0 kubernetes kubelet.x86_64 1.26.2-0 kubernetes # yum --showduplicates list kubeadm --nogpgcheck ... kubeadm.x86_64 1.26.0-0 kubernetes kubeadm.x86_64 1.26.1-0 kubernetes kubeadm.x86_64 1.26.2-0 kubernetes # yum --showduplicates list kubectl --nogpgcheck ... kubectl.x86_64 1.26.0-0 kubernetes kubectl.x86_64 1.26.1-0 kubernetes kubectl.x86_64 1.26.2-0 kubernetes ``` **2. 安装 kubeadm、kubelet、kubectl【所有节点】** ```shell (1)不指定版本默认就是最新版本 # yum install -y kubelet-1.26.2-0 kubeadm-1.26.2-0 kubectl-1.26.2-0 --disableexcludes=kubernetes (2)开机自启 # systemctl enable kubelet ```