Hello,
Tried to setup ingree-controller by following Kubernetes ingress controller prerequisites.
The following command gave permission denied
helm3 install ingress-controller ingress-nginx/ingress-nginx --namespace kube-system --values ingress-config.yaml
Error: INSTALLATION FAILED: Kubernetes cluster unreachable: error loading config file "/etc/kubernetes/admin.conf": open /etc/kubernetes/admin.conf: permission denied
However, I have no problem to open the file /etc/kubernetes/admin.conf
I checked the node which is in Ready state
kubectl get node -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
myapi Ready control-plane 4d18h v1.28.2 192.168.253.155 <none> Ubuntu 22.04.3 LTS 6.2.0-39-generic containerd://1.6.26
Some basic pods are in running state:
kubectl get pods -A -o wide
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
calico-apiserver calico-apiserver-6b8c464f88-wbhn9 1/1 Running 10 (11m ago) 4d18h 192.168.131.70 myapi <none> <none>
calico-apiserver calico-apiserver-6b8c464f88-wxfhb 1/1 Running 10 (11m ago) 4d18h 192.168.131.126 myapi <none> <none>
calico-system calico-kube-controllers-5ddbbd46fd-n242s 1/1 Running 10 (11m ago) 4d18h 192.168.131.69 myapi <none> <none>
calico-system calico-node-42b7d 1/1 Running 10 (11m ago) 4d18h 192.168.253.155 myapi <none> <none>
calico-system calico-typha-57fbbff7fb-ksqlf 1/1 Running 12 (11m ago) 4d18h 192.168.253.155 myapi <none> <none>
calico-system csi-node-driver-lq69g 2/2 Running 20 (11m ago) 4d18h 192.168.131.67 myapi <none> <none>
kube-system coredns-5dd5756b68-7wcmb 1/1 Running 10 (11m ago) 4d18h 192.168.131.127 myapi <none> <none>
kube-system coredns-5dd5756b68-nf2g7 1/1 Running 10 (11m ago) 4d18h 192.168.131.125 myapi <none> <none>
kube-system etcd-myapi 1/1 Running 10 (11m ago) 4d18h 192.168.253.155 myapi <none> <none>
kube-system kube-apiserver-myapi 1/1 Running 10 (11m ago) 4d18h 192.168.253.155 myapi <none> <none>
kube-system kube-controller-manager-myapi 1/1 Running 10 (11m ago) 4d18h 192.168.253.155 myapi <none> <none>
kube-system kube-proxy-jqm5c 1/1 Running 10 (11m ago) 4d18h 192.168.253.155 myapi <none> <none>
kube-system kube-scheduler-myapi 1/1 Running 10 (11m ago) 4d18h 192.168.253.155 myapi <none> <none>
tigera-operator tigera-operator-94d7f7696-sdvdc 1/1 Running 20 (10m ago) 4d18h 192.168.253.155 myapi <none> <none>
How could I solve the issue of "helm3 install"?
Thanks very much in advance
------------------------------
Frank Ning
Technical consultant - solution architect
Toronto ON
------------------------------