kubernetes-helmminikube

Helm: how set Kubernetes cluster Endpoint


I have two containers:

When running elm install I get

Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp 127.0.0.1:8080: connect: connection refused

This is clear, because my cluster is running on a different host). How/Where can I set the Kubernetes Cluster IP address? When I run helm install my app should be deployed on the remote cluster.


Solution

  • It can be done with

    helm --kube-context=
    

    The steps to create the context are desribed here