简体   繁体   English

如何从 kubernetes AZURE 门户中的负载均衡器服务创建或获取公开 ip 的域名

[英]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.

相关问题 尝试获取Azure Kubernetes服务以从Service使用群集负载平衡器时出错 - Error when trying to get Azure Kubernetes Service to use Cluster Load balancer from Service Azure Kubernetes 服务 - 负载均衡器现在显示 - Azure Kubernetes Service - Load Balancer now showing Azure:如何在没有公共 IP 地址的情况下创建标准负载均衡器? - Azure: How to create Standard Load Balancer without public IP address? 如何在 AKS 上为负载均衡器服务设置域名 - How to set a Domain Name for a Load Balancer Service on AKS 通过dns名称而不是IP地址访问Azure Kubernetes-内部负载均衡器 - azure kubernetes-internal load balancer access by dns name instead of ip address 为Azure预览门户中的现有VM创建Azure负载均衡器 - Create Azure Load Balancer for existing VMs in Azure Preview Portal 如何从 azure 中的虚拟机 ping 负载均衡器 ip 地址 - How to ping the load balancer ip address from Virtual machine in azure Azure 负载均衡器获取原始客户端 IP - Azure Load Balancer Get Originating Client IP 使用 Azure CLI 获取 Kubernetes 负载均衡器的公共 IP - Use Azure CLI to obtain Kubernetes Load Balancer's public IP 带有Azure Kubernetes服务的Azure内部负载均衡器不起作用 - Azure internal load balancer with Azure Kubernetes Service not working
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM