Kubernetes service external ip pending

后端 未结 20 1873
你的背包
你的背包 2020-11-28 02:38

I am trying to deploy nginx on kubernetes, kubernetes version is v1.5.2, I have deployed nginx with 3 replica, YAML file is below,

apiVersion: extensions/v1be         


        
20条回答
  •  旧巷少年郎
    2020-11-28 02:57

    The LoadBalancer ServiceType will only work if the underlying infrastructure supports the automatic creation of Load Balancers and have the respective support in Kubernetes, as is the case with the Google Cloud Platform and AWS. If no such feature is configured, the LoadBalancer IP address field is not populated and still in pending status , and the Service will work the same way as a NodePort type Service

提交回复
热议问题