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
I have a karmada control plane installed by karmada-operator and it has joined a member cluster (member1). When I execute the command karmadactl --operation-scope members, it failed with following error message:
$ karmadactl --karmada-context karmada-apiserver get deploy --operation-scope members
error: cluster(member1) is inaccessible, please check authorization or network
What you expected to happen:
The result should be like this:
$ karmadactl --karmada-context karmada-apiserver get deploy --operation-scope members
NAME CLUSTER READY UP-TO-DATE AVAILABLE AGE ADOPTION
nginx member1 1/1 1 1 10m Y
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Refer to other installation method, operator missed two rbac config:
Refer to other installation method, operator missed two rbac config:
Without these two RBAC configurations, the user system:admin will not have permission to access cluster.karmada.io. As a result, the kubeconfig used by karmadactl will not be able to access member clusters.
I think this is an omission during the installation of the Karmada instance by the Karmada operator. Do you have any ideas to resolve this?
/retitle Failed to proxy to member clusters with Karmada deployed by karmada-operator
karmada-bot
changed the title
Command karmadactl --operation-scope members Fails in Operator-Installed Karmada
Failed to proxy to member clusters with Karmada deployed by karmada-operator
Sep 24, 2024
What happened:
I have a karmada control plane installed by karmada-operator and it has joined a member cluster (member1). When I execute the command
karmadactl --operation-scope members
, it failed with following error message:What you expected to happen:
The result should be like this:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Refer to other installation method, operator missed two rbac config:
cluster-proxy-admin
when this two rbac config applied to karmada, the issue gone.
Environment:
kubectl-karmada version
orkarmadactl version
):The text was updated successfully, but these errors were encountered: