简体   繁体   English

安装 kubernetes 时出错

[英]getting error while installing kubernetes

ubuntu@kmaster:~$ kubectl apply -f ubuntu@kmaster:~$ kubectl apply -f

https://docs.projectcalico.org/v3.0/getting-started/kubernetes/installation/hosted/kubeadm/1.7/calico.yaml
configmap/calico-config unchanged
service/calico-etcd unchanged
serviceaccount/calico-cni-plugin unchanged
serviceaccount/calico-kube-controllers unchanged
resource mapping not found for name: "calico-etcd" namespace: "kube-system" from "https://docs.projectcalico.org/v3.0/getting-started/kubernetes/installation/hosted/kubeadm/1.7/calico.yaml": no matches for kind "DaemonSet" in version "extensions/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "calico-node" namespace: "kube-system" from "https://docs.projectcalico.org/v3.0/getting-started/kubernetes/installation/hosted/kubeadm/1.7/calico.yaml": no matches for kind "DaemonSet" in version "extensions/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "calico-kube-controllers" namespace: "kube-system" from "https://docs.projectcalico.org/v3.0/getting-started/kubernetes/installation/hosted/kubeadm/1.7/calico.yaml": no matches for kind "Deployment" in version "extensions/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "calico-cni-plugin" namespace: "" from "https://docs.projectcalico.org/v3.0/getting-started/kubernetes/installation/hosted/kubeadm/1.7/calico.yaml": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "calico-cni-plugin" namespace: "" from "https://docs.projectcalico.org/v3.0/getting-started/kubernetes/installation/hosted/kubeadm/1.7/calico.yaml": no matches for kind "ClusterRole" in version "rbac.authorization.k8s.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "calico-kube-controllers" namespace: "" from "https://docs.projectcalico.org/v3.0/getting-started/kubernetes/installation/hosted/kubeadm/1.7/calico.yaml": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "calico-kube-controllers" namespace: "" from "https://docs.projectcalico.org/v3.0/getting-started/kubernetes/installation/hosted/kubeadm/1.7/calico.yaml": no matches for kind "ClusterRole" in version "rbac.authorization.k8s.io/v1beta1"

ensure CRDs are installed first enter image description here确保首先安装 CRD 在此处输入图像描述

I suspect you're trying to install outdated manifests.我怀疑您正在尝试安装过时的清单。 The API versions of the resources you're applying have been deprecated in the k8s version you have.您正在应用的资源的 API 版本已在您拥有的 k8s 版本中弃用。 See the deprecation guide here .请参阅此处的弃用指南。

You have to use the latest version which will have the v1 version of these manifests.您必须使用具有这些清单的v1版本的最新版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SSH 到 Azure Kubernetes 的 VM 时出错 - Getting error while SSH to VM of Azure Kubernetes 创建 kubernetes 部署时出错 - getting error while creating kubernetes deployment 在kubernetes上安装大三角帆时出错 - Error installing spinnaker on kubernetes 安装 elasticsearch Statefulset 时出错 - Getting error while installing elasticsearch Statefulset 在Kubernetes安装程序中安装MSSQL群集时安装失败(Ubuntu-18.04) - Installation is getting failed while installing MSSQL cluster in Kubernetes setup (Ubuntu-18.04) 在 Kubernetes 中安装稳定的 RabbitMQ 时,为卷获取 MountVolume.SetUp 失败 - Getting MountVolume.SetUp failed for volume while installing stable RabbitMQ in Kubernetes 在 Kubernetes 中实现度量服务器时出错 - getting error while implementing metric server inside the Kubernetes 尝试使用Helm在Debian上设置kubernetes时出错 - Getting error while trying to setup kubernetes on debian using helm 尝试连接到 kubernetes minikube 中的节点端口时出现“连接被拒绝”错误 - Getting “Connection refused” error while trying to connect to nodeport in kubernetes minikube 尝试在 kubernetes 的生命周期标签下使用命令时出错 - Getting an error while trying to use a command under the lifecycle tag on kubernetes
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM