kubedr
kubedr copied to clipboard
Install-unable to recognize "kubedr.yaml": no matches for kind
my kubectl version
root@master1 Fri Sep 19 [16:00:46] : /opt/kubedr
# kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.10", GitCommit:"7e54d50d3012cf3389e43b096ba35300f36e0817", GitTreeState:"clean", BuildDate:"2022-08-17T18:32:54Z", GoVersion:"go1.17.13", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.10", GitCommit:"7e54d50d3012cf3389e43b096ba35300f36e0817", GitTreeState:"clean", BuildDate:"2022-08-17T18:26:59Z", GoVersion:"go1.17.13", Compiler:"gc", Platform:"linux/amd64"}
k8s cluster version
root@master1 Fri Sep 19 [16:03:04] : /opt/kubedr
# kubectl get node -A -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
master1 Ready control-plane,master 16d v1.23.10 172.16.0.20 <none> Ubuntu 22.04 LTS 5.15.0-25-generic docker://24.0.9
master2 Ready control-plane,master 16d v1.23.10 172.16.0.21 <none> Ubuntu 22.04 LTS 5.15.0-25-generic docker://24.0.9
master3 Ready control-plane,master 16d v1.23.10 172.16.0.22 <none> Ubuntu 22.04 LTS 5.15.0-25-generic docker://24.0.9
node1 Ready worker 16d v1.23.10 172.16.0.23 <none> Ubuntu 22.04 LTS 5.15.0-25-generic docker://24.0.9
node2 Ready worker 16d v1.23.10 172.16.0.24 <none> Ubuntu 22.04 LTS 5.15.0-25-generic docker://24.0.9
install kubedr erro log
root@master1 Fri Sep 19 [15:55:16] : /opt/kubedr
# kubectl apply -f kubedr.yaml
namespace/kubedr-system unchanged
role.rbac.authorization.k8s.io/kubedr-leader-election-role unchanged
clusterrole.rbac.authorization.k8s.io/kubedr-manager-role configured
clusterrole.rbac.authorization.k8s.io/kubedr-proxy-role unchanged
rolebinding.rbac.authorization.k8s.io/kubedr-leader-election-rolebinding unchanged
clusterrolebinding.rbac.authorization.k8s.io/kubedr-manager-rolebinding unchanged
clusterrolebinding.rbac.authorization.k8s.io/kubedr-proxy-rolebinding unchanged
service/kubedr-controller-manager-metrics-service unchanged
service/kubedr-webhook-service unchanged
deployment.apps/kubedr-controller-manager unchanged
unable to recognize "kubedr.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "kubedr.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "kubedr.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "kubedr.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
unable to recognize "kubedr.yaml": no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
unable to recognize "kubedr.yaml": no matches for kind "Certificate" in version "cert-manager.io/v1alpha2"
unable to recognize "kubedr.yaml": no matches for kind "Issuer" in version "cert-manager.io/v1alpha2"
unable to recognize "kubedr.yaml": no matches for kind "ValidatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"