orbidden: User "system:anonymous"
harissutanrafiq opened this issue · comments
I try run on GCPcloudshell with KUBECONFIG environment its error, ut if using kubectl proxy its working
INF Starting version ... branch= buildDate= goVersion=go1.13 os=linux revision=
DBG Serving /liveness endpoint... port=:5000
DBG Serving Prometheus metrics... port=:9101
INF Listing all preemptible nodes for cluster...
ERR Error while getting the list of preemptible nodes error="kubernetes api: Failure 403 nodes is forbidden: User "system:anonymous" cannot list resource "nodes" in API group "" at the cluster scope"
INF Sleeping for 9 seconds...
^C INF Received signal interrupt. Waiting for running tasks to finish...
INF Shutting down...