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

could not find the requested resource (clusterregistrations.meta.k8s.io CRD) #3262

Open
adibrastegarnia opened this issue Jan 27, 2025 · 0 comments

Comments

@adibrastegarnia
Copy link

We created a cluster resource, and the bundle gets created, and the fleet-agent gets deployed on the target cluster. However, we see the following error in the fleet-agent when it tries to create the cluster registration CR. We are trying to understand where this clusterregistrations.meta.k8s.io come from? I checked the agent registration code and it uses clusterregistrations.fleet.cattle.io to create the resource.

time="2025-01-27T17:59:35Z" level=warning msg="Cannot find fleet-agent secret, running registration"
time="2025-01-27T17:59:35Z" level=info msg="Creating clusterregistration with id '7xswkt5mx6sp8qb8scgfzvvmdwbh7n67hf8bvtzbzcfzwp894fdvzh' for new token"
time="2025-01-27T17:59:35Z" level=error msg="Failed to register agent: registration failed: cannot create clusterregistration on management cluster for cluster id '7xswkt5mx6sp8qb8scgfzvvmdwbh7n67hf8bvtzbzcfzwp894fdvzh': the server could not find the requested resource (post clusterregistrations.meta.k8s.io)"
@rancherbot rancherbot added this to Fleet Jan 27, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in Fleet Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant