3.1.1 3.2.0 部署失败
错误信息如下
[k8smaster1 10.4.1.51] MSG:
3
ERRO[23:52:07 EST] Failed to deploy network plugin: Failed to exec command: sudo -E /bin/sh -c “/usr/local/bin/kubectl apply -f /etc/kubernetes/network-plugin.yaml”
customresourcedefinition.apiextensions.k8s.io/ips.kubeovn.io unchanged
customresourcedefinition.apiextensions.k8s.io/subnets.kubeovn.io unchanged
customresourcedefinition.apiextensions.k8s.io/vlans.kubeovn.io unchanged
podsecuritypolicy.policy/kube-ovn unchanged
configmap/ovn-config unchanged
serviceaccount/ovn unchanged
clusterrole.rbac.authorization.k8s.io/system:ovn unchanged
clusterrolebinding.rbac.authorization.k8s.io/ovn unchanged
service/ovn-nb unchanged
service/ovn-sb unchanged
error: error parsing /etc/kubernetes/network-plugin.yaml: error converting YAML to JSON: yaml: line 53: could not find expected ‘:’: Process exited with status 1 node=10.4.1.51