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

What are the typical application scenarios of DaemonSet

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

Share

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

This article shows you what are the typical application scenarios of DaemonSet, which are concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

The replica Pod of the Deployment deployment is distributed across the Node, and each Node may run several copies. The difference with DaemonSet is that at most one copy can be run on each Node.

Typical application scenarios of DaemonSet are:

Run a storage Daemon, such as glusterd or ceph, on each node of the cluster.

Run log collection Daemon, such as flunentd or logstash, on each node.

Run a monitoring Daemon, such as Prometheus Node Exporter or collectd, on each node.

In fact, Kubernetes itself is using DaemonSet to run system components. Execute the following command:

Kubectl get daemonset-namespace=kube-system

DaemonSet kube-flannel-ds and kube-proxy are responsible for running flannel and kube-proxy components on each node, respectively.

Because flannel and kube-proxy are system components, you need to specify namespace kube-system through-- namespace=kube-system on the command line. If not specified, only the resources in the default namespace default are returned.

What are the typical application scenarios of DaemonSet? have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

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