Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Coredns installation and understanding of K8S

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

I. the function of Coredns

Key points: through coredns through service name, explain the corresponding cluter cluster IP2, Coredns installation (build services with containers) 1, set up a HTTP service on the operation and maintenance host to store yaml files ~] # cd / etc/nginx/conf.d/conf.d] # vi / etc/nginx/conf.d/k8s-yaml.od.com.confserver {listen 80; server_name k8smurf yaml.od.com; location / {autoindex on Default_type text/plain; root / data/k8s-yaml;}} conf.d] # mkdir / data/k8s-yamlconf.d] # nginx-tconf.d] # nginx-s reloadconf.d] # cd / data/k8s-yaml/k8s-yaml] # mkdir coredns

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report