其他分享
首页 > 其他分享> > Kubernetes之coredns写法

Kubernetes之coredns写法

作者:互联网

新增域名

[root@rancher-k3s02 ~]# kubectl -n kube-system describe cm coredns
.....
==== Corefile: ---- .:53 { errors health ready kubernetes cluster.local in-addr.arpa ip6.arpa { pods insecure upstream fallthrough in-addr.arpa ip6.arpa } hosts /etc/coredns/NodeHosts { reload 1s fallthrough } prometheus :9153 forward . /etc/resolv.conf cache 30 loop reload loadbalance } NodeHosts: ---- 172.16.3.217 rancher-k3s01 172.16.3.218 rancher-k3s02 ip FQDN
....

 

标签:addr,Kubernetes,arpa,reload,172.16,rancher,coredns,写法
来源: https://www.cnblogs.com/determined-K/p/16280470.html