rootsongjc / kubernetes-vagrant-centos-cluster

Setting up a distributed Kubernetes cluster along with Istio service mesh locally with Vagrant and VirtualBox, only PoC or Demo use.
https://jimmysong.io
Apache License 2.0
1.93k stars 594 forks source link

no matches for kind "Deployment" in version "extensions/v1beta1 #110

Open lionxu opened 2 years ago

lionxu commented 2 years ago

Environment

What I did?

kubectl apply -f addon/istio/

Messages

unable to recognize "addon/istio/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" unable to recognize "addon/istio/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" unable to recognize "addon/istio/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" unable to recognize "addon/istio/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" unable to recognize "addon/istio/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" unable to recognize "addon/istio/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" unable to recognize "addon/istio/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" unable to recognize "addon/istio/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" unable to recognize "addon/istio/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" unable to recognize "addon/istio/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" unable to recognize "addon/istio/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" unable to recognize "addon/istio/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1" error validating "addon/istio/istio-demo.yaml": error validating data: unknown object type "nil" in kubernetesenv.spec; if you choose to ignore these errors, turn validation off with --validate=false