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

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

主站蜘蛛池模板: 博野县| 鄄城县| 台山市| 汝阳县| 保德县| 莒南县| 同德县| 乾安县| 辰溪县| 宜兰县| 康平县| 南丹县| 离岛区| 林芝县| 曲水县| 甘洛县| 布拖县| 应城市| 博爱县| 谷城县| 安远县| 怀仁县| 湘西| 怀化市| 柘荣县| 翁牛特旗| 湾仔区| 从化市| 凤凰县| 双江| 疏勒县| 辰溪县| 苗栗县| 崇义县| 克拉玛依市| 昭觉县| 民和| 慈溪市| 宁武县| 龙门县| 越西县|