Chapter 11. DaemonSets Flashcards

1
Q

What is a DaemonSet ?

A

A DaemonSet ensures a copy of a Pod is running across a set of nodes in a Kubernetes cluster. DaemonSets are used to deploy system daemons such as log collectors and monitoring agents, which typically must run on every node. DaemonSets share similar functionality with ReplicaSets; both create Pods that are expected to be long-running services and ensure that the desired state and the observed state of the cluster match.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When Shall we use DaemonSet ?

A

DaemonSets should be used when a single copy of your application must run on all or a subset of the nodes in the cluster.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When shall we use ReplicaSet ?

A

ReplicaSets should be used when your application is completely decoupled from the node and you can run multiple copies on a given node without special consideration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly