我正在嘗試將 jpetstore 應用程式部署到 EKS 并遇到了需要填寫的這個變數。(
在檔案中,它指出我可以使用以下命令:
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>從哪里得到這個值?
uj5u.com熱心網友回復:
您可以在入口規范中定義自己的名稱,例如host: jpetstore.example.com。您需要安裝AWS LB Controller;它將處理您的入口請求并根據您的入口規范創建一個 ALB。然后您可以像這樣訪問:curl -H 'HOST: jpetstore.example.com' http://<your new alb endpoint>
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/358995.html
標籤:亚马逊网络服务 Kubernetes 地形 亚马逊-eks
