【Kubernetes】calico与K8s版本兼容性报错解决

今晚使用Kubernetes-1.20.15版本搭建K8s集群的时候,使用calico 1.20.0作为网络组件,但是在创建calico相关pod的时候,出现了下面的报错。

# kubectl create -f ./calico-3.20.0.yaml
configmap/calico-config created
customresourcedefinition.apiextensions.k8s.io/bgpconfigurations.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/bgppeers.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/blockaffinities.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/clusterinformations.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/felixconfigurations.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/globalnetworkpolicies.crd.projectcalico.org created
customresourcedefinition.apiextensions.k8s.io/globalnetworksets.crd.projectcalico.org created
customresourcedefinition.apiexten

你可能感兴趣的:(Kubernetes,calico,k8s,兼容性,PodDisruption)