Ubuntu上安装Helm

在使用K8S搭建集群服务时,有时候需要用到Helm(一个用于Kubernetes应用管理的工具),下面是在Ubuntu上安装Helm的过程。

1.更新系统软件包列表

sudo apt-get update

image

2.安装必要的依赖项

sudo apt-get install apt-transport-https --yes

image
3. 添加Helm的GPG密钥

curl -fsSL https://baltocdn.com/helm/signing.asc | sudo apt-key add -

image
4. 添加Helm的APT存储库

sudo apt-get install software-properties-common
sudo add-apt-repository "deb https://baltocdn.com/helm/stable/debian/ all main"

image
image
5. 更新APT软件包列表并安装Helm

sudo apt-get update
sudo apt-get install helm

image
image
6. 验证

helm version

image

posted @ 2025-02-11 10:42  lipu123  阅读(400)  评论(0)    收藏  举报