K8s 部署 Coredns 组件
环境 二进制部署的 kubernetes v1.17.2 集群 coreDNS 1.6.6 生成 service account 文件 创建 0.coredns-sa.yml 1 2 3 4 5 6 7 cat > 0.coredns-sa.yml <<EOF apiVersion: v1 kind: ServiceAccount metadata: name: coredns namespace: kube-system EOF 生成 rbac 文件 创建 1.coredns-rbac.yml 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18