ibmcloud ks cluster get --cluster CLUSTER_NAME 的 kubectl 等价物是什么?
what is the kubectl equivalent of ibmcloud ks cluster get --cluster CLUSTER_NAME?
我正在尝试将 jpetstore 应用程序 (https://github.com/IBM-Cloud/jpetstore-kubernetes) 部署到 EKS 中的 kubernetes 中,但我无法解释此命令,因为它用于 IBM 云:
ibmcloud ks cluster get --cluster CLUSTER_NAME
如果我使用 kubectl
,EKS 等价物是多少?
我使用以下 terraform 设置了 EKS:
provider "kubernetes" {
host = data.aws_eks_cluster.cluster.endpoint
cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data)
token = data.aws_eks_cluster_auth.cluster.token
}
命令可以检索端点吗?
集群名称:
$ kubectl config get-clusters
NAME
kubernetes
集群端点信息:
$ kubectl cluster-info
Kubernetes master is running at https://172.17.0.109:6443
dash-kubernetes-dashboard is running at https://172.17.0.109:6443/api/v1/namespaces/kube-system/services/https:dash-kubernetes-dashboard:https/proxy
KubeDNS is running at https://172.17.0.109:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
我正在尝试将 jpetstore 应用程序 (https://github.com/IBM-Cloud/jpetstore-kubernetes) 部署到 EKS 中的 kubernetes 中,但我无法解释此命令,因为它用于 IBM 云:
ibmcloud ks cluster get --cluster CLUSTER_NAME
如果我使用 kubectl
,EKS 等价物是多少?
我使用以下 terraform 设置了 EKS:
provider "kubernetes" {
host = data.aws_eks_cluster.cluster.endpoint
cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data)
token = data.aws_eks_cluster_auth.cluster.token
}
命令可以检索端点吗?
集群名称:
$ kubectl config get-clusters
NAME
kubernetes
集群端点信息:
$ kubectl cluster-info
Kubernetes master is running at https://172.17.0.109:6443
dash-kubernetes-dashboard is running at https://172.17.0.109:6443/api/v1/namespaces/kube-system/services/https:dash-kubernetes-dashboard:https/proxy
KubeDNS is running at https://172.17.0.109:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.