10.Kubernetes 安装 CoreDNS 和 Metrics-server 插件

Kubernetes 除了网络插件以为,还有两个重要的插件,那就是 CoreDNS 和 Metrics-server

1、CoreDNS

Kubernetes使用定制的CoreDNS应用程序实现名称解析和服务发现功能

ansible_k8s]# ansible-playbook -i example/hosts.multi-node  10.coredns.yml 

PLAY [kube_client] ************************************************************************************************************

TASK [coredns : Prepare k8s install dirs] *************************************************************************************
ok: [localhost]

TASK [Create coredns.yaml] ****************************************************************************************************
ok: [localhost]

TASK [Copy coredns.yaml] ******************************************************************************************************
changed: [localhost]

TASK [deploy coredns.yaml] *********************************************************************

你可能感兴趣的:(Kubernetes入门实战,kubernetes,容器,云原生)