問題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集群即可。