The four use cases for Kubernetes deployments are as follows:
Roll out a ReplicaSet
Update the state of a set of pods
Roll back to an earlier version of a deployment
Scale up to accommodate cluster load
The selector.
The record flag, --record.
ReplicationControllers.
Horizontal pod autoscaling.
Scheduled jobs.
DaemonSet simply define a pod to run on every single node in the cluster or a defined subset of those nodes. This can be very useful for a number of production–related activities, such as monitoring and logging agents, security agents, and filesystem daemons.