![](/img/trans.png)
[英]Error when trying to get Azure Kubernetes Service to use Cluster Load balancer from Service
[英]How to create or get domain name for the exposed ip from Load balancer service in kubernetes AZURE portal
kubectl 描述服務 my-service
*Name: my-service
Namespace: default
Labels: app.kubernetes.io/name=load-balancer-example
Annotations: <none>
Selector: app.kubernetes.io/name=load-balancer-example
Type: LoadBalancer
IP: 10.3.245.137
LoadBalancer Ingress: 104.198.205.71
Port: <unset> 8080/TCP
NodePort: <unset> 32377/TCP
Endpoints: 10.0.0.6:8080,10.0.1.6:8080,10.0.1.7:8080 + 2 more...
Session Affinity: None
Events: <none>*
上面只是一個例子,我不知道從哪里開始獲取Kubernetes Azure中暴露IP的域名[ LoadBalancer Ingress: 104.198.205.71 ]
添加注釋將有助於 apiVersion: v1 kind: Service metadata: annotations: service.beta.kubernetes.io/azure-dns-label-name: $label-name
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.