-
Notifications
You must be signed in to change notification settings - Fork 834
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
Seldon v1.0 CRD uses new (k8s 1.15) feature that not backward compatible with k8s versions (<= 1.14) #1431
Comments
When you say k8s <1.15 can not handle this. From local testing with kind the CRD can be installed with no errors.
|
I think he means the validating webhooks needs k8s >= 1.5 |
Do you mean for the selectors?
The helm install has similar gates. Can you clarify what you mean by the webhook needs k8s>= 1.15 ? |
k8s < 1.15 can not handle "x-kubernetes-int-or-string". When deploy the CRD to cluster, the is ignored, therefore, no validation is performed when a seldon deployment is deployed to cluster. |
Validation just for this part of the OpenAPISchema you mean or are you suggesting the whole schema is ignored? |
Only the part involved in "x-kubernetes-int-or-string", others are fine. |
So validation that it is not a float? I think you will need to provide some example for when you comment out that kustomize patch. Which is also a solution if you are using kustomize BTW. |
This is the screenshot after I apply the CRD to the cluster. From the diff you can see, the green lines are removed in the deployed object. We are not planning to fix it for now as we are upgrading our cluster to k8s 1.15. This is no longer an issue for the deployment. Just input an issue for others who still run k8s < 1.15 |
Unless this is actually stopping some functionality from working I think we can leave it. Please reopen if you can provide an example in k8s < 1.15 for which functionality is broken. |
In the Seldon v1.0 CRD, the following is used
x-kubernetes-int-or-string
to replaceIntOrString
. The "x-kubernetes-int-or-string" is introduced at k8s v1.15, and systems running pre k8s v1.15 can not handle this.Please consider to make this backward compatible.
The text was updated successfully, but these errors were encountered: