- 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/.
推薦閱讀
- 現(xiàn)代C++編程:從入門到實(shí)踐
- 深度實(shí)踐OpenStack:基于Python的OpenStack組件開發(fā)
- Cocos2D-X權(quán)威指南(第2版)
- Vue.js前端開發(fā)基礎(chǔ)與項(xiàng)目實(shí)戰(zhàn)
- Scratch 3游戲與人工智能編程完全自學(xué)教程
- Python Data Analysis(Second Edition)
- Hands-On Natural Language Processing with Python
- 程序是怎樣跑起來的(第3版)
- Mastering JavaScript Design Patterns(Second Edition)
- Unity 2018 Augmented Reality Projects
- Vue.js 3.x高效前端開發(fā)(視頻教學(xué)版)
- JavaScript語法簡明手冊
- Three.js Essentials
- Visual FoxPro數(shù)據(jù)庫程序設(shè)計(jì)
- 深入理解MySQL主從原理