我正在尝试将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
}命令可以检索端点吗?
发布于 2021-11-16 19:30:45
集群名称:
$ 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'.https://stackoverflow.com/questions/69994173
复制相似问题