Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | 51CTO学院 | CSDN程序员研修院 | OSChina 博客 | 腾讯云社区 | 阿里云栖社区 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏多维度架构

第 9 章 Helm - The package manager for Kubernetes

目录

9.1. 安装 Helm
9.1.1. AlmaLinux
9.1.2. Rocky Linux
9.1.3. Ubuntu
9.1.4. Mac
9.2. 快速开始
9.3. Helm 命令
9.3.1. 初始化 Helm
9.3.2. 查看仓库列表
9.3.3. 搜索
9.3.4. 查看包信息
9.3.5. 安装
9.3.6. 列表
9.3.7. 删除
9.3.8. 升级
9.3.9. 回滚
9.3.10. 查看状态
9.4. ingress-nginx
9.5. elastic
9.6. Helm The package manager for Kubernetes
9.7. Helm Faq

https://helm.sh

9.1. 安装 Helm

9.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
			
			

9.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
			
			

9.1.3. Ubuntu

			
snap install helm --classic		
			
			

9.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