UPGRADE FAILED: Kubernetes cluster unreachable - Deployment of custom action server from a private registry through one line deployment

Hello all, Hope you are safe!

So, I have deployed my assistant on server using one line deployment and this guide. Thanks a lot for such an easy way for getting application deployed.

But I am not clear how to deploy the custom action image which is pushed to a private registry. Following this guide, I understood that imagePullSecrets is to be specified in values.yml but when I tried to upgrade the rasa-x chart using the command

helm upgrade --values values.yml --namespace rasa --reuse-values rasa rasa-x/rasa-x

I am getting error as UPGRADE FAILED: Kubernetes cluster unreachable

Also, I did not find option of exporting the secret key to the one line deployment script like one provided for action server name and tag as shown below:

export ACTION_SERVER_IMAGE="<username/customaction>"
export ACTION_SERVER_TAG="<version1.0>"

Please provide information regarding how to go forward!

Thanks in advance!


It looks like you don’t have access to a Kubernetes cluster, make sure that variable export KUBECONFIG=/etc/rancher/k3s/k3s.yaml is set and k3s service is running (systemctl status k3s).

You can check if you have access to the Kubernetes cluster by using e.g. kubectl get nodes command.