k8s包管理器Helm

Helm官网 安装Helm 安装 1 2 3 4 5 curl https://baltocdn.com/helm/signing.asc | sudo apt-key add - sudo apt-get install apt-transport-https --yes echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list sudo apt-get update sudo apt-get install helm 添加chart仓库,从Artifact Hub中

k8s数据持久化存储之NFS

安装NFS Server NFS服务端IP为: 10.20.70.113 1 sudo apt-get -y install nfs-kernel-server # 包含nfs-common 1 2 3 sudo mkdir -p /data/k8s-nfs echo '/data/k8s-nfs *(rw,sync,no_root_squash)' | sudo tee /etc/exports sudo exportfs -a 检查状态 1 2 3 systemctl status nfs-server sudo rpcinfo -p |grep nfs cat /var/lib/nfs/etab

Kubernetes Dashboard安装

安装Dashboard kubernetes.io地址 github地址 下载文件后稍作修改,方便集群外访问 1 2 #有可能要梯子下载,请到官方确认最