安装Helm:
1. 运行如下命令
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- 2執行命令 choco install kubernetes-helm 安裝 Helm 到 Kubernetes
PS C:\WINDOWS\system32> choco install kubernetes-helm
错误分析:
Error: unknown command "init" for "helm"
Did you mean this?
lint
Run 'helm --help' for usage.
init命令为helm2的命令,helm3已经弃用,可使用helm env查看环境配置信息
Helm 3 中,Tiller 被移除了