imroc / learning-tke

记录腾讯云容器服务相关知识与实践经验
3 stars 0 forks source link

IPVS 转发模式的集群如何安装 NodeLocal DNS Cache #12

Open imroc opened 3 years ago

imroc commented 3 years ago

https://imroc.cc/tke/faq/install-localdns-with-ipvs/

背景 TKE 对 NodeLocal DNS Cache 进行了产品化支持,直接在扩展组件里面就可以一键安装到集群,参考 NodeLocalDNSCache 扩展组件说明 ,可是仅仅支持 iptables 转发模式的集群,而目前大多集群都会使用 IPVS 转发模式,无法安装这个扩展组件。 本文将介绍如何在 TKE IPVS 模式集群中自行安装 NodeLocal DNS Cache。 准备 yaml 复制以下 yaml 到文件 nodelocaldns.yaml:

Copyright 2018 The Kubernetes Authors.

imjokey commented 3 years ago

g