K8S集群安装故障排查

问题1:kubeadm初始化安装K8S集群失败?

问题描述:

W0601 16:17:29.317823 13912 strict.go:54] error unmarshaling configuration schema.GroupVersionKind{Group:"kubeproxy.config.k8s.io", Version:"v1alpha1", Kind:"KubeProxyConfiguration"}: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go struct field KubeProxyConfiguration.featureGates of type map[string]bool
v1alpha1.KubeProxyConfiguration.FeatureGates: ReadMapCB: expect { or n, but found ", error found in #10 byte of ...|reGates":"SupportIPV|..., bigger context ...|kubeproxy.config.k8s.io/v1alpha1","featureGates":"SupportIPVSProxyMode:true","kind":"KubeProxyConfig|...

原因分析:新增的kubeadm-config.yaml配置有问题。

  解决方法:修改配置即可。

  

  

 问题1:kubeadm初始化安装K8S集群失败?

 

原因分析:端口被占用;

解决方法:卸载原安装K8S集群即可。

 

posted on 2021-06-01 16:40  chalon  阅读(3377)  评论(0编辑  收藏  举报