在 EKS 中的哪里可以找到我的集群域?
Where can i find my cluster domain in EKS?
我正在尝试将 jpetstore 应用程序部署到 EKS,并且遇到了这个需要填写的变量。(https://github.com/IBM-Cloud/jpetstore-kubernetes/blob/master/jpetstore/jpetstore.yaml)
在文档中它指出我可以使用命令:
Edit jpetstore/jpetstore.yaml and jpetstore/jpetstore-mmssearch.yaml and replace all instances of:
<CLUSTER DOMAIN> with your Ingress Subdomain (ibmcloud ks cluster get --cluster CLUSTER_NAME)
(https://github.com/IBM-Cloud/jpetstore-kubernetes)
但这是用于 ibm 云的,我需要它用于 EKS。
我从哪里可以得到这个 <CLUSTER DOMAIN>
值?
您可以在入口规范中定义自己的名称,例如 host: jpetstore.example.com
。您需要 install AWS LB 控制器;它将处理您的入口请求并根据您的入口规范创建一个 ALB。然后您可以访问:curl -H 'HOST: jpetstore.example.com' http://<your new alb endpoint>
我正在尝试将 jpetstore 应用程序部署到 EKS,并且遇到了这个需要填写的变量。(https://github.com/IBM-Cloud/jpetstore-kubernetes/blob/master/jpetstore/jpetstore.yaml)
在文档中它指出我可以使用命令:
Edit jpetstore/jpetstore.yaml and jpetstore/jpetstore-mmssearch.yaml and replace all instances of:
<CLUSTER DOMAIN> with your Ingress Subdomain (ibmcloud ks cluster get --cluster CLUSTER_NAME)
(https://github.com/IBM-Cloud/jpetstore-kubernetes)
但这是用于 ibm 云的,我需要它用于 EKS。
我从哪里可以得到这个 <CLUSTER DOMAIN>
值?
您可以在入口规范中定义自己的名称,例如 host: jpetstore.example.com
。您需要 install AWS LB 控制器;它将处理您的入口请求并根据您的入口规范创建一个 ALB。然后您可以访问:curl -H 'HOST: jpetstore.example.com' http://<your new alb endpoint>