java
java copied to clipboard
list listPodForAllNamespaces error
trafficstars
Describe the bug Hi, I'm using your example https://github.com/kubernetes-client/java/blob/master/examples/examples-release-18/src/main/java/io/kubernetes/client/examples/Example.java to get all Pod in a K8s cluster.
CoreV1Api.listPodForAllNamespaces return a 401 response.
Could you suggest how to configure the client to correctly access the cluster? thanks in advance luca
Client Version 13.0.0
Kubernetes Version 1.29
Java Version java 11