官术网_书友最值得收藏!

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/.

主站蜘蛛池模板: 壤塘县| 孝感市| 蓝山县| 临澧县| 东乌| 邳州市| 福州市| 政和县| 丹寨县| 中超| 莎车县| 太原市| 年辖:市辖区| 新宾| 陇南市| 广元市| 庆云县| 洮南市| 五家渠市| 醴陵市| 潍坊市| 霸州市| 南宁市| 湟中县| 葫芦岛市| 铜梁县| 邵阳市| 饶阳县| 石城县| 含山县| 土默特右旗| 蒙阴县| 平昌县| 石棉县| 邯郸县| 柯坪县| 新乡市| 平原县| 都匀市| 双流县| 从江县|