Failure in kubernetes working deployment files , after cluster upgradation from 1.11 to 1.14.6, being deployed via circleCI

纵然是瞬间 提交于 2021-01-06 13:15:46

问题


I am using circleCI for deployments, with AKS version 1.11 , the pipelines were working fine but after the AKS upgradation to 1.14.6, failure is seen while applying the deployment and service object files.

I deployed manually at kubernetes cluster, there didn't appear any error but while deploying through circleCI, I am getting following kind of errors while using version 2 of circleCI

error: SchemaError(io.k8s.api.extensions.v1beta1.DeploymentRollback): 
invalid object doesn't have additional properties

or the other kind of error appears like -

error: SchemaError(io.k8s.api.core.v1.StorageOSVolumeSource): invalid 
object doesn't have additional properties

回答1:


It's most likely that the version of kubectl used in CircleCI isn't supported by 1.14.6. Note that kubectl version must be either 1.n, 1.(n+1) or 1.(n-1) where n is the minor version of the cluster. In this case your kubectl must be at least 1.13.x or at most 1.15.x

Checkout Kubernetes version and version skew support policy for more details.



来源:https://stackoverflow.com/questions/58268643/failure-in-kubernetes-working-deployment-files-after-cluster-upgradation-from

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!