-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
v2 ScaledJob can't be deployed on k8s 1.18 #927
Comments
This patch solves this issue https://github.com/kedacore/keda/blob/00f663426e46fae64bcad8d4d9cd05b4c5ab3e8c/config/crd/patches/scaledjob_patch.yaml Once this issue is solved upstream (in operator-sdk) we can remove the patch. |
Could the patch file be merged in with the CRD? I am trying to deploy keda using Jsonnet and need a static location for the CRD to apply and I cannot use helm or kustomise. |
@rajatvig you can consume installation resources from yaml file. You can find them in the releases https://github.com/kedacore/keda/releases |
Validation changes were introduced in k8s 1.18: https://kubernetes.io/docs/setup/release/notes/#other-api-changes
Our ScaledJob CRD uses
k8s.io/api/batch/v1/JobSpec
which results in a CRD that is not possible to deploy on k8s 1.18:As a workaround we need to manually mark
protocol
property asreguired
in the generated CRD (on a 3 places), after every CRD generation.We need to wait till this issue is solved: operator-framework/operator-sdk#3235
The text was updated successfully, but these errors were encountered: