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
When kubestr is run inside a k8s pod, explicitly specifying KUBECONFIG has no effect
kubectl behavior
/ # kubectl get pods
Error from server (Forbidden): pods is forbidden: User "system:serviceaccount:monito-rss:default" cannot list resource "pods"in API group ""in the namespace "monito-rss"
/ # KUBECONFIG=/tmp/k kubectl get pods
NAME READY STATUS RESTARTS AGE
redis-0 1/1 Running 0 4h44m
kubestr behavior
/ # kubestr **************************************
_ ___ _ ___ ___ ___ _____ ___
||/ / ||| _ ) __/ __|_ _| _ \
|' <| |_| | _ \ _|\__ \ | | | / |_|\_\\___/|___/___|___/ |_| |_|_\Explore your Kubernetes storage options**************************************Kubernetes Version Check: Valid kubernetes version (v1.20.2+k3s1) - OKRBAC Check: Kubernetes RBAC is enabled - OKAggregated Layer Check: The Kubernetes Aggregated Layer is enabled - OKError listing provisioners: storageclasses.storage.k8s.io is forbidden: User "system:serviceaccount:monito-rss:default" cannot list resource "storageclasses" in API group "storage.k8s.io" at the cluster scopeError: Error listing provisioners: storageclasses.storage.k8s.io is forbidden: User "system:serviceaccount:monito-rss:default" cannot list resource "storageclasses" in API group "storage.k8s.io" at the cluster scope/ # KUBECONFIG=/tmp/k kubestr************************************** _ ___ _ ___ ___ ___ _____ ___ | |/ / | | | _ ) __/ __|_ _| _ \ | '<||_|| _ \ _|\__ \ ||| /
|_|\_\\___/|___/___|___/ |_||_|_\
Explore your Kubernetes storage options
**************************************
Kubernetes Version Check:
Valid kubernetes version (v1.20.2+k3s1) - OK
RBAC Check:
Kubernetes RBAC is enabled - OK
Aggregated Layer Check:
The Kubernetes Aggregated Layer is enabled - OK
Error listing provisioners: storageclasses.storage.k8s.io is forbidden: User "system:serviceaccount:monito-rss:default" cannot list resource "storageclasses"in API group "storage.k8s.io" at the cluster scope
Error: Error listing provisioners: storageclasses.storage.k8s.io is forbidden: User "system:serviceaccount:monito-rss:default" cannot list resource "storageclasses"in API group "storage.k8s.io" at the cluster scope
The text was updated successfully, but these errors were encountered:
When
kubestr
is run inside a k8s pod, explicitly specifyingKUBECONFIG
has no effectkubectl behavior
kubestr behavior
The text was updated successfully, but these errors were encountered: