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

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

主站蜘蛛池模板: 铜山县| 辽阳县| 全州县| 临猗县| 台安县| 句容市| 丹阳市| 买车| 鲜城| 遵义县| 佛冈县| 沂源县| 喀喇沁旗| 静海县| 田东县| 横峰县| 社会| 视频| 金山区| 贡觉县| 余干县| 安康市| 周宁县| 五家渠市| 祁东县| 乌兰县| 武强县| 吉水县| 长宁县| 正蓝旗| 昌邑市| 巴中市| 崇仁县| 交城县| 石城县| 得荣县| 张掖市| 平利县| 西昌市| 重庆市| 海原县|