Open joelgriffiths opened 1 year ago
@joelgriffiths Would you be able to try the following command and report the result
kubectl create -f - -o yaml << EOF
apiVersion: authorization.k8s.io/v1
kind: SelfSubjectRulesReview
spec:
namespace: default
EOF
I did this with one of the devs. It gave me this, but I am definitely running as the cluster-admin.
apiVersion: authorization.k8s.io/v1
kind: SelfSubjectRulesReview
metadata:
creationTimestamp: null
spec: {}
status:
incomplete: false
nonResourceRules:
- nonResourceURLs:
- /healthz
- /livez
- /readyz
- /version
- /version/
verbs:
- get
- nonResourceURLs:
- /api
- /api/*
- /apis
- /apis/*
- /healthz
- /livez
- /openapi
- /openapi/*
- /readyz
- /version
- /version/
verbs:
- get
resourceRules:
- apiGroups:
- authorization.k8s.io
resources:
- selfsubjectaccessreviews
- selfsubjectrulesreviews
verbs:
- create
> kubectl auth can-i list pods --namespace default
yes
Is there some place I can get the last version? Somebody sent me a link, but I received a 403 when I tried to get to it.
The same issue for me, both lens(2023.11.131420-latest) and openlens(6.5.2-366), it happened suddenlly - it means the lens / openlens are both work fine for me before yesterday.
reproduced with Lens running for over a week, connected to cluster. This was in the main.log as the last entries:
error: [AUTHORIZATION-REVIEW]: failed to create access review: Error: connect ECONNREFUSED 127.0.0.1:59596 {"resourceAttributes":{"namespace":"kube-system","resource":"*","verb":"create"}}
error: [AUTHORIZATION-REVIEW]: failed to create access review: Error: connect ECONNREFUSED 127.0.0.1:59596 {"resourceAttributes":{"resource":"*","verb":"watch"}}
dev tools showed:
.
.
.
[KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514030
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) end /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514030
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514070
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) end /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514070
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514110
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) end /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514110
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514150
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) end /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514150
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514190
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) end /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514190
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514230
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) end /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514230
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514270
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) end /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514270
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514310
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) end /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514310
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514350
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) end /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514350
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514390
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) end /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514390
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514430
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) end /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514430
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514470
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) end /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514470
BrowserConsole.js:41 [KUBE-API-SPECIFICS]: watch (event-3) retried /api/v1/namespaces/kube-system/events?watch=1&resourceVersion=1514510
I saw the same after messing with the credentials, the fix was to set the default namespace via: kubectl config set-context --current --namespace=<insert-namespace>
Describe the bug Workloads is only showing the overview after the upgrade
To Reproduce I just upgraded, and checked several environments. Only Overview is showing up in workloads. I am using 1.21.6 for the server (I know, it's a bit old). Network appears to be missing things as well. The only thing that looks complete is Custom Resources.
Using admin.conf for all environments.
Expected behavior See the components.
Screenshots
Environment (please complete the following information):
Logs: When you run the application executable from command line you will see some logging output. Please paste them here:
Kubeconfig: Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.
Additional context I don't know what to make of this. Lens is completely useless to me at the moment.