-
Notifications
You must be signed in to change notification settings - Fork 11
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
Resource not found in cluster: apps.kusionstack.io/v1alpha1/CollaSet #59
Comments
Based on the information, it appears that there might be an issue with ApiServer accessing kuperator's webhook domain. |
Make sure your ApiServer can access the Kuperator webhook server. Security group policies, and network policies may cause issues with ApiServer accessing the webhook server. You can find similar issues by searching the keyword "Webhook address is not allowed" on GitHub. You can get the webhook configuration with the following command.
The client configuration here uses the internal service domain of k8s by default.
|
The configuration for validatingwebhookconfiguration and mutatingwebhookconfiguration seems to be okay. If needed i can provide the configuration
< HTTP/2 200
I included the "Content-Type: application/json" for the output to throw the code 200 so i guess the ApiServer can access the Kuperator webhook server. |
If your curl command is executed on the running container of ApiServer, the networking should be fine. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Install ctrlmesh in cluster through argocd with helm charts.
Install kuperator in cluster through argocd with helm charts.
Deploy application with collaset apps.kusionstack.io/v1alpha1 in a different namespace than ctrlmesh and kuperator
2. What did you expect to see? (Required)
Healthy ctlmesh pod with successful deploy logs
Healthy kuperator pod with successful deploy logs
Healthy application pod deployed with collaset
3. What did you see instead (Required)
ctrlmesh logs:
manager (2).txt
manager (1).txt
manager.txt
kuperator logs:
manager (4).txt
manager (3).txt
manager (2).txt
deployed application condition with collaset:
4. What is your KusionStack components version? (Required)
ctrlmesh version: 0.2.0
kuperator version: 0.5.3
The text was updated successfully, but these errors were encountered: