Reputation: 21
error installing Istio in Mac M1.
istioctl install --set profile=demo -y
Error: Get “http://localhost:8080/api?timeout=32s”: dial tcp [::1]:8080: connect: connection refused
Upvotes: 2
Views: 1175
Reputation: 1
You don't have a cluster running. Try running istioctl version and see what comes up. If it says refused to connect to pods, then you need to start a cluser. For example, if you have minikubes downloaded in your system, use command: minikube start.
Upvotes: 0
Reputation: 5277
You can try to use other installation method - "Istio Operator Install". This problem can also occur if you are using k3s. Then it helps to set a variable:
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
You can read more about this problem here.
Upvotes: 1