Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

第 112 章 Helm - The package manager for Kubernetes

目录

112.1. 安装 Helm
112.1.1. AlmaLinux
112.1.2. Rocky Linux
112.1.3. Ubuntu
112.1.4. Mac
112.2. 快速开始
112.3. Helm 命令
112.3.1. 初始化 Helm
112.3.2. 查看仓库列表
112.3.3. 搜索
112.3.4. 查看包信息
112.3.5. 安装
112.3.6. 列表
112.3.7. 删除
112.3.8. 升级
112.3.9. 回滚
112.3.10. 查看状态
112.4. ingress-nginx
112.5. elastic
112.6. Helm The package manager for Kubernetes
112.7. Helm Faq

https://helm.sh

112.1. 安装 Helm

112.1.1. AlmaLinux

CURL 安装

			
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash			
			
			

二进制安装

			
cd /usr/local/src/
wget https://get.helm.sh/helm-v3.9.4-linux-amd64.tar.gz
tar zxvf helm-v3.9.4-linux-amd64.tar.gz 
mv linux-amd64 /srv/helm-v3.9.4
alternatives --install /usr/local/bin/helm helm /srv/helm-v3.9.4/helm 10
			
			

112.1.2. Rocky Linux

			
[root@netkiller ~]# dnf install -y snapd
[root@netkiller ~]# ln -s /var/lib/snapd/snap /snap
[root@netkiller ~]# systemctl enable --now snapd.socket
[root@netkiller ~]# systemctl start --now snapd.socket
[root@netkiller ~]# snap install helm --classic
			
			

			
cat >> /etc/profile.d/snap.sh <<EOF
export PATH=$PATH:/snap/bin
EOF
source /etc/profile.d/snap.sh
			
			

112.1.3. Ubuntu

			
snap install helm --classic		
			
			

112.1.4. Mac

homebrew 安装 Helm

			
iMac:~ neo$ brew install helm

iMac:~ neo$ helm version
version.BuildInfo{Version:"v3.3.3", GitCommit:"55e3ca022e40fe200fbc855938995f40b2a68ce0", GitTreeState:"dirty", GoVersion:"go1.15.2"}
			
			

旧版本

			
brew install kubernetes-helm