You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using in-cluster Kubernetes configuration
You are not connected to a Kubernetes cluster. Please connect to a cluster and re-run the command: Get "https://10.241.8.1:443/api/v1/namespaces": dial tcp 10.241.8.1:443: i/o timeout
The IP 10.241.8.1 is correct. It is the ClusterIP of the kubernetes Service in the default namespace. I have other applications in the cluster that uses the kubernetes API address and works without issues.
Viewing GetClientset() in scanner.go this is where it seems to be determined that the in-cluster Kubeconfig should be used.
Looking at the netfetch Helm Chart values.yaml file I don't see any way to impact the kubeconfig configuration used.
What can I do to get to a place where this works? And what could be wrong.
Other info
Kubernetes: v1.31.1
Kubernetes distro: k3s
OS: Ubuntu 24.04
Looking forward to knowing more and thank you very much.