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

9/22/2021

helm version

I Described the pod using kubectl describe pod tiller-deploy -n kube-system, I Found message like:

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

Can anyone help me out with this issue? Thanks

Here is the error encountered

When Im Trying to install helm3 I got below issue

enter image description here

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

-- harish hari
ibm-cloud
kubernetes
kubernetes-helm

1 Answer

9/22/2021

The IBM Cloud Shell is a preconfigured shell environment and thus you don't have the ability to install packages/binaries of your choosing to it. You're instead restricted to what packages are already installed.

Additionally, the IBM Cloud Shell supports both helm version 2 and version 3, and both are installed.

To use helm v3, use the following command: helm3

To use helm v2, you use the command you're currently using: helm

If packages and binaries you need are not installed into the IBM Cloud Shell, you will instead want to configure your local terminal with IBM Cloud, and then install the packages and binaries you need.

See the below link for installing and setting up the IBM CLI locally to work with your resources on IBM Cloud. https://cloud.ibm.com/docs/cli?topic=cli-getting-started

-- Justin Kanz
Source: StackOverflow