【发布时间】:2020-05-05 20:31:15
【问题描述】:
我正在尝试在 Kubernetes 集群上安装 Istio。我创建了一个三节点集群并安装了 istioctl 1.1.0 版本。 istio 安装附带一个位于install/kubernetes/istio-demo.yaml 目录中的istio-demo.yaml 文件。当我运行kubectl apply -f install/kubernetes/istio-demo.yaml 命令时,我得到了以下输出。
然后我使用kubectl get svc -n istio-system 列出了服务,我正在查看服务
然后,当我使用 kubectl get pod -n istio-system 列出 pod 时,我看不到这些 pod。我哪里错了?
rule.config.istio.io/tcpkubeattrgenrulerule created
kubernetes.config.istio.io/attributes created
destinationrule.networking.istio.io/istio-policy created
destinationrule.networking.istio.io/istio-telemetry created
unable to recognize "install/kubernetes/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "install/kubernetes/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "install/kubernetes/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "install/kubernetes/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "install/kubernetes/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "install/kubernetes/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
unable to recognize "install/kubernetes/istio-demo.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
istio-1.1.0]$ kubectl get namespaces
NAME STATUS AGE
default Active 11m
istio-system Active 100s
kube-node-lease Active 11m
kube-public Active 11m
kube-system Active 11m
kubectl get pod -n istio-system
NAME READY STATUS RESTARTS AGE
istio-cleanup-secrets-1.1.0-fbr87 0/1 Completed 0 3m27s
istio-grafana-post-install-1.1.0-kwz58 0/1 Completed 0 3m27s
istio-security-post-install-1.1.0-mc9wk 0/1 Completed 0 3m27s
P.s:关于问题的更新: 1.
$ kubectl api-resources | grep deployment
deployments deploy apps true
Deployment
- 客户端版本:version.Info{Major:"1", Minor:"17"
【问题讨论】:
标签: kubernetes istio