[+] helm
Some checks failed
Build Docker Image / Explore-Gitea-Actions (push) Failing after 6m49s

This commit is contained in:
Martin 2025-03-20 17:25:27 +08:00
parent 229da36283
commit b7fd3d3623
2 changed files with 15 additions and 0 deletions

View File

@ -8,6 +8,9 @@ export vip_ip=10.1.3.100
export vip=$vip_ip/16
export masters=10.1.3.101,10.1.3.102,10.1.3.103
curl -sSL https://git.martin98.com/MartinFarm/init/raw/branch/main/init-k8s.sh | bash
# master 节点更新 helm 相关
curl -sSL https://git.martin98.com/MartinFarm/init/raw/branch/main/init-helm.sh | bash
```
### 其他说明

12
init-helm.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
# 安装 helm
curl https://mirrors.martin98.com/repository/helm-apt/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://mirrors.martin98.com/repository/helm-apt/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
# 添加 helm 镜像
helm repo remove stable
helm repo add stable https://mirrors.martin98.com/repository/helm-stable/stable
helm repo update