-
Notifications
You must be signed in to change notification settings - Fork 80
support 1.14 kubernetes cluster #16
Comments
What is your k8s version?
Sent from my T-Mobile 4G LTE Device
…________________________________
From: Draven <notifications@github.com>
Sent: Monday, April 27, 2020 8:15:22 PM
To: crossplane/oam-kubernetes-runtime <oam-kubernetes-runtime@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [crossplane/oam-kubernetes-runtime] Get Started Part in the README is broken? (#16)
When I apply all the crds with the following commands follow the instruction in the README:
$ kubectl apply -f crds/
customresourcedefinition.apiextensions.k8s.io/applicationconfigurations.core.oam.dev created
customresourcedefinition.apiextensions.k8s.io/containerizedworkloads.core.oam.dev created
customresourcedefinition.apiextensions.k8s.io/manualscalertraits.core.oam.dev created
customresourcedefinition.apiextensions.k8s.io/scopedefinitions.core.oam.dev created
customresourcedefinition.apiextensions.k8s.io/traitdefinitions.core.oam.dev created
customresourcedefinition.apiextensions.k8s.io/workloaddefinitions.core.oam.dev created
error: error validating "crds/core.oam.dev_components.yaml": error validating data: [ValidationError(CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.workload): unknown field "x-kubernetes-embedded-resource" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps, ValidationError(CustomResourceDefinition.spec.validation.openAPIV3Schema.properties.spec.properties.workload): unknown field "x-kubernetes-preserve-unknown-fields" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.JSONSchemaProps]; if you choose to ignore these errors, turn validation off with --validate=false
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#16>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AODXOHAYWM3G52REV4WC2QDROZC4VANCNFSM4MSOONEQ>.
|
Do I need to update the server to 1.15+? |
Thanks for the reply, I just added the kubectl version output. |
yes, I would recommend 1.17 |
Thanks but all of our clusters are using 1.14 and won’t update till the end of this year? |
@draveness Not sure if you can cherry pick them into your cluster? In the practice of Alibaba, we keep our web-scale cluster up-to-date with upstream with 2 releases lag, e.g. we currently run 1.16 in Alibaba and we upgrade the cluster every 6 months. Otherwise, you will never be able to leverage community features as K8s only maintain 3 latest releases. That being said, it's common for us to cherry pick upstream PRs to fix CVE or critical issues. |
I think I'll build the abstractions first before cherry pick these commits into our cluster since it would be problematic to do this in the production cluster. And I use the following command as a workaround to install the charts, and currently it could be the trick...
BTW: We upgrade the cluster once a year by 4 releases. |
I was shocked for a second to know this ... |
+1 🤣 |
/close Since we have a workaround for this before 1.15. |
When I apply all the crds with the following commands follow the instruction in the README:
The text was updated successfully, but these errors were encountered: