Files
k3s/009-基础设施/003-helm/install_helm.sh
2026-02-05 00:11:05 +08:00

4 lines
190 B
Bash

# 写入以下内容
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
# 记录 K3s 环境变量
echo "export KUBECONFIG=/etc/rancher/k3s/k3s.yaml" >> ~/.bashrc