Kubernetes service external ip pending

后端 未结 20 1848
你的背包
你的背包 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 03:15

    In case someone is using MicroK8s: You need a network load balancer.

    MicroK8s comes with metallb, you can enable it like this:

    microk8s enable metallb
    

    should turn into an actual IP address then.

提交回复
热议问题