[英]How to create or get domain name for the exposed ip from Load balancer service in kubernetes AZURE portal
kubectl describe services my-service 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>*
The above is just an example, I don't know where to start for getting a domain name for the exposed IP [ LoadBalancer Ingress: 104.198.205.71 ] in Kubernetes Azure上面只是一个例子,我不知道从哪里开始获取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.