-
Notifications
You must be signed in to change notification settings - Fork 892
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
Cannot deploy workload CRD using Resource Interpreter #4507
Comments
Hi~ From your description, the error is reported because field |
Are you interested in filing a PR to revise this issue? If you like, you can implement it by referring to #4315 |
Thank you for your solution. I added the And I am happy to submit a PR to fix this issue. |
Thanks @chengleqi , just go for it. |
/remove-kind question |
There are two points that puzzle me about this question:
Through investigation, I answered the above two questions, as follows:
Refer to kubernetes/enhancements#2885, this feature is enabled in version 1.25, and the version of the component The value and meaning of query parameter
Refer to https://github.com/kubernetes/apiserver/blob/547675e99460e49cd95ca3253f0740fee2d2853d/pkg/endpoints/handlers/rest.go#L405-L415, server side field validation is in Warn mode by default. |
@RainbowMango Since this problem is related to the version of |
Please provide an in-depth description of the question you have:
I followed the steps in the examples/customresourceinterpreter/README.md document to deploy the webhook, CRD, and webhook-configuration. After that, I tried to deploy workload.yaml, but received an error:
Upon inspection, I confirmed that my CRD has been correctly deployed to the karmada-apiserver, and the webhook has obtained an EXTERNAL-IP through metallb:
I used controller-gen to regenerate a CRD based on workload_types.go, and I found that the workload CRD provided by the Karmada is also correct.
What do you think about this question?:
Environment:
The text was updated successfully, but these errors were encountered: