尝试在 ibm Kubernetes 集群中安装 Tiller 时,出现错误,因为 Tiller pod 未准备好

When Trying to Install Tiller in ibm Kubernetes cluster, I got an error as Tiller pod not ready

我使用 kubectl describe pod tiller-deploy -n kube-system 描述了 pod,我发现消息如下:

Failed to pull image "gcr.io/kubernetes-helm/tiller:v2.16.7": rpc error: code = Unknown desc = failed to pull and unpack image "gcr.io/kubernetes-helm/tiller:v2.16.7": failed to resolve reference "gcr.io/kubernetes-helm/tiller:v2.16.7": failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized

谁能帮我解决这个问题?谢谢

当我尝试安装 helm3 时遇到以下问题

Commands used:

1) curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3

2) chmod 700 get_helm.sh

3) ./get_helm.sh

IBM Cloud Shell 是预配置的 shell 环境,因此您无法安装您选择的 packages/binaries。相反,您只能使用已安装的软件包。

此外,IBM Cloud Shell 同时支持 helm 版本 2 和版本 3,并且都已安装。

要使用 helm v3,请使用以下命令: helm3

要使用 helm v2,请使用您当前使用的命令: helm

如果您需要的包和二进制文件没有安装到 IBM Cloud Shell,您将需要使用 IBM Cloud 配置您的本地终端,然后安装您需要的包和二进制文件。

请参阅下文 link,了解如何在本地安装和设置 IBM CLI 以使用您在 IBM Cloud 上的资源。 https://cloud.ibm.com/docs/cli?topic=cli-getting-started