-
Notifications
You must be signed in to change notification settings - Fork 213
Description
Hi,
I am trying to install Cilium on a k3s node, which is load balanced using haproxy and keepalived. I have installed k3s on the first node, but without a CNI, so kubectl get no returns the node but of course "Not Ready" due to the lack of a CNI.
However, when I run cilium install, ie:
cilium upgrade --set k8sServiceHost=10.0.10.10 --set k8sServicePort=6443 --set namespace=kube-system --set ipam.operator.clusterPoolIPv4PodCIDRList=10.42.0.0/16
I get:
Error: Unable to install Cilium: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp 127.0.0.1:8080: connect: connection refused
However, in my kubeconfig file, I updated the ip to point to the vip above. If I run sudo KUBECONFIG=$KUBECONFIG cilium context, I see:
Context: default
Cluster: default
Auth: default
Host: https://10.0.10.10:6443
TLS server name:
CA path: