kubelet does not have ClusterDNS IP configured in Microk8s

后端 未结 1 1725
误落风尘
误落风尘 2021-02-14 03:34

I\'m using microk8s in ubuntu

I\'m trying to run a simple hello world program but I got the error when pod created.

相关标签:
1条回答
  • 2021-02-14 04:02

    You have not specified how you deployed kube dns but with microk8s its recommended to use core dns. You should not deploy kube dns or core dns on your own rather you need to enable dns using this command microk8s.enable dns which would deploy core DNS and setup DNS.

    0 讨论(0)
提交回复
热议问题