我正在嘗試將 jpetstore 應用程式 ( https://github.com/IBM-Cloud/jpetstore-kubernetes )部署到 EKS 中的 kubernetes 中,但我無法解釋此命令,因為它用于 IBM 云:
ibmcloud ks cluster get --cluster CLUSTER_NAME
如果我要使用 EKS 等效項是kubectl多少?
我使用下面的 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
}
命令可以檢索端點嗎?
uj5u.com熱心網友回復:
集群名稱:
$ 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://www.uj5u.com/yidong/358999.html
標籤:亚马逊网络服务 Kubernetes 地形 ibm-cloud kubectl
上一篇:如何解決錯誤:YAML到JSON:yaml:第118行:未找到預期的密鑰
下一篇:AzureKubernetes服務部署的應用程式拋出com.microsoft.azure.storage.StorageException:此請求無權執行此操作
