-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kube-proxy" is forbidden: User "system:node:minikube" cannot list resource "configmaps" in API group "" in the namespace "kube-system": no relationship found between node "minikube" and this object #7613
Comments
Can you share the output of:
Is It's possible that |
I have a feeling this is because the addons are being enabled before default service account is created. we need to add a verification not to enable addons before default service account. |
could be related to #7704 |
@veeveksen do you mind trying starting with --wait=true and see if you still have the problem? (though that might still error, because we still do enabling addons in parallel) |
anyone knows why we enble storage addon by default ? 1:15 |
@medyagh - yes, it is required for PV support, and a rather standard/expected feature of Kubernetes. I believe it may also be required for conformance tests, but I'm not absolutely certain. Alternatively, we could have the retry for addons occur inside of minikube rather than outside, but then we would not be able to provide signal to users when they are broken. |
for this we need to refactor bootstrapper to include Enable addons |
is anyone still interested in this issue ? |
I had the same problem and by adjusting my system proxy and let the kubectl have a direct connection, it solved. |
I'm closing this issue as it hasn't seen activity in awhile, and it's unclear if this issue still exists. If this issue does continue to exist in the most recent release of minikube, please feel free to re-open it by replying If someone sees a similar issue to this one, please re-open it as replies to closed issues are unlikely to be noticed. Thank you for opening the issue! |
I had this issue and resolved it in a simple way.
This resolved the issue. Some system details: |
Hello... I am facing the same issue. I am trying to install minikube on my mac os with M1 chip and following below guideline. https://minikube.sigs.k8s.io/docs/start/ |
Steps to reproduce the issue:
1.Install minikube and virtualbox.
2. execute command minikube start --force .
:~ vivek$ minikube start --force
π minikube v1.9.2 on Darwin 10.14.6
β¨ Using the virtualbox driver based on user configuration
π Starting control plane node m01 in cluster minikube
π₯ Creating virtualbox VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
π³ Preparing Kubernetes v1.18.0 on Docker 19.03.8 ...
π Enabling addons: default-storageclass, storage-provisioner
β Enabling 'default-storageclass' returned an error: running callbacks: [Error making standard the default storage class: Error listing StorageClasses: Get "https://192.168.99.131:8443/apis/storage.k8s.io/v1/storageclasses": dial tcp 192.168.99.131:8443: i/o timeout]
β Problems detected in kubelet:
Apr 11 06:13:24 minikube kubelet[3983]: E0411 06:13:24.137584 3983 reflector.go:178] object-"kube-system"/"kube-proxy-token-2j4z7": Failed to list *v1.Secret: secrets "kube-proxy-token-2j4z7" is forbidden: User "system:node:minikube" cannot list resource "secrets" in API group "" in the namespace "kube-system": no relationship found between node "minikube" and this object
Apr 11 06:13:24 minikube kubelet[3983]: E0411 06:13:24.138044 3983 reflector.go:178] object-"kube-system"/"kube-proxy": Failed to list *v1.ConfigMap: configmaps "kube-proxy" is forbidden: User "system:node:minikube" cannot list resource "configmaps" in API group "" in the namespace "kube-system": no relationship found between node "minikube" and this object
β Problems detected in kubelet:
Apr 11 06:13:24 minikube kubelet[3983]: E0411 06:13:24.137584 3983 reflector.go:178] object-"kube-system"/"kube-proxy-token-2j4z7": Failed to list *v1.Secret: secrets "kube-proxy-token-2j4z7" is forbidden: User "system:node:minikube" cannot list resource "secrets" in API group "" in the namespace "kube-system": no relationship found between node "minikube" and this object
Apr 11 06:13:24 minikube kubelet[3983]: E0411 06:13:24.138044 3983 reflector.go:178] object-"kube-system"/"kube-proxy": Failed to list *v1.ConfigMap: configmaps "kube-proxy" is forbidden: User "system:node:minikube" cannot list resource "configmaps" in API group "" in the namespace "kube-system": no relationship found between node "minikube" and this object
β Problems detected in kubelet:
Apr 11 06:13:24 minikube kubelet[3983]: E0411 06:13:24.137584 3983 reflector.go:178] object-"kube-system"/"kube-proxy-token-2j4z7": Failed to list *v1.Secret: secrets "kube-proxy-token-2j4z7" is forbidden: User "system:node:minikube" cannot list resource "secrets" in API group "" in the namespace "kube-system": no relationship found between node "minikube" and this object
Apr 11 06:13:24 minikube kubelet[3983]: E0411 06:13:24.138044 3983 reflector.go:178] object-"kube-system"/"kube-proxy": Failed to list *v1.ConfigMap: configmaps "kube-proxy" is forbidden: User "system:node:minikube" cannot list resource "configmaps" in API group "" in the namespace "kube-system": no relationship found between node "minikube" and this object
β Problems detected in kubelet:
Apr 11 06:13:24 minikube kubelet[3983]: E0411 06:13:24.137584 3983 reflector.go:178] object-"kube-system"/"kube-proxy-token-2j4z7": Failed to list *v1.Secret: secrets "kube-proxy-token-2j4z7" is forbidden: User "system:node:minikube" cannot list resource "secrets" in API group "" in the namespace "kube-system": no relationship found between node "minikube" and this object
Apr 11 06:13:24 minikube kubelet[3983]: E0411 06:13:24.138044 3983 reflector.go:178] object-"kube-system"/"kube-proxy": Failed to list *v1.ConfigMap: configmaps "kube-proxy" is forbidden: User "system:node:minikube" cannot list resource "configmaps" in API group "" in the namespace "kube-system": no relationship found between node "minikube" and this object
π£ startup failed: Wait failed: wait for healthy API server: apiserver healthz never reported healthy
The text was updated successfully, but these errors were encountered: