- Hands-On Kubernetes on Windows
- Piotr Tylenda
- 170字
- 2021-06-24 16:54:10
DaemonSets
A DaemonSet is another controller-backed Object that is similar to a ReplicaSet but aims at running exactly one templated Pod replica per node in the cluster (optionally matching selectors). The most common use cases for running a DaemonSet are as follows:
- Managing monitoring telemetry for a given cluster node, for example, running Prometheus Node Exporter
- Running a log collection daemon on each node, for example, fluentd or logstash
- Running troubleshooting Pods, for example, node-problem-detector (https://github.com/kubernetes/node-problem-detector)
One of the DaemonSets that may run on your cluster out of the box is kube-proxy. In a standard cluster deployment performed by kubeadm, kube-proxy is distributed to nodes as a DaemonSet. You can also verify this on your Katacoda playground:
master $ kubectl get daemonset --all-namespaces
NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
kube-system kube-proxy 2 2 2 2 2 <none> 12m
kube-system weave-net 2 2 2 2 2 <none> 12m
If you would like to find out more about DaemonSets, please refer to the official documentation: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/.
推薦閱讀
- Python數據分析入門與實戰
- 劍指JVM:虛擬機實踐與性能調優
- 精通Scrapy網絡爬蟲
- Mastering Swift 2
- 從Excel到Python:用Python輕松處理Excel數據(第2版)
- Java EE 8 and Angular
- 面向對象程序設計及C++(第3版)
- Implementing Microsoft Dynamics NAV(Third Edition)
- 企業級Java現代化:寫給開發者的云原生簡明指南
- 精益軟件開發管理之道
- JavaScript設計模式與開發實踐
- 現代JavaScript編程:經典范例與實踐技巧
- Kotlin入門與實戰
- 匯編語言程序設計
- Learning C# by Developing Games with Unity 3D Beginner's Guide