Skip to content
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

no CSR to approve for cluster cluster1 #322

Open
Ghostwritten opened this issue Mar 15, 2023 · 2 comments
Open

no CSR to approve for cluster cluster1 #322

Ghostwritten opened this issue Mar 15, 2023 · 2 comments

Comments

@Ghostwritten
Copy link

I run:
curl -L https://raw.githubusercontent.com/open-cluster-management-io/OCM/main/solutions/setup-dev-environment/local-up.sh | bash
clusteradm accept --context kind-hub --clusters cluster1,cluster2 --wait
output:
no CSR to approve for cluster cluster1

question:

  1. How do I view the Hub version?
  2. how to manually enable functions door "v1beta1csrapiccompatibility")? Please help with specific steps or methods.
@mikeshng
Copy link
Member

You can probably find answer to both questions by running the following command on the Hub cluster.

kubectl get clustermanager -o yaml

As for no CSR to approve for cluster cluster1 you will have to check the klusterlet agents on cluster1 and see if there are some additional information. Run the following on cluster1

kubectl get klusterlet -o yaml

@qiujian16
Copy link
Member

qiujian16 commented Mar 28, 2023

  1. how to manually enable functions door "v1beta1csrapiccompatibility")? Please help with specific steps or methods.

This needs to add a feature gate on ClusterManager resource on hub. you can kubectl apply the below yaml

apiVersion: operator.open-cluster-management.io/v1
kind: ClusterManager
metadata:
  name: cluster-manager
spec:
  registrationConfiguration:
    featureGates:
    - feature: V1beta1CSRAPICompatibility
      mode: Enable
    - feature: DefaultClusterSet
      mode: Enable

How do I view the Hub version?

clusteradm get hub-info should give you more info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants