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

第 10 章 Helm - The package manager for Kubernetes

目录

10.1. 安装 Helm
10.1.1. AlmaLinux
10.1.2. Rocky Linux
10.1.3. Ubuntu
10.1.4. Mac
10.2. 快速开始
10.3. Helm 命令
10.3.1. 初始化 Helm
10.3.2. 查看仓库列表
10.3.3. 搜索
10.3.4. 查看包信息
10.3.5. 安装
10.3.6. 列表
10.3.7. 删除
10.3.8. 升级
10.3.9. 回滚
10.3.10. 查看状态
10.4. ingress-nginx
10.5. elastic
10.6. Helm The package manager for Kubernetes
10.7. Helm Faq

https://helm.sh

10.1. 安装 Helm

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

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

10.1.3. Ubuntu

			
snap install helm --classic		
			
			

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