58

kubernetes集群配置dns服务-斩月-51CTO博客

 6 years ago
source link: http://blog.51cto.com/ylw6006/2067923
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
本文将在前文的基础上介绍在kubernetes集群环境中配置dns服务,在k8s集群中,pod的生命周期是短暂的,pod重启后ip地址会产生变化,对于应用程序来说这是不可接受的,为解决这个问题,K8S集群巧妙的引入的dns服务来实现服务的发现,在k8s集群中dns总共需要使用4个组件,各组件分工如下:etcd:DNS存储kube2sky:将KubernetesMaster中的service(服务)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK