There's more...

There are multiple Kubernetes resources for Pod management. Users are encouraged to leverage various types of resources to meet different purposes. Let's comparing the resource types listed below with ReplicaSet:

  • Deployment: In general cases, Kubernetes Deployments are used together with ReplicaSet for complete Pod management: container rolling updates, load balancing, and service exposing.
  • Job: Sometimes, we want the Pods run as a job instead of a service. A Kubernetes job is suitable for this situation. You can consider it a ReplicaSet with the constraint of termination.
  • DaemonSet: More than ReplicaSet, the Kubernetes DaemonSet guarantees that the specified set is running on every node in the cluster. That said, a subset of ReplicaSet on every node.

To get more idea and instruction, you can check the recipe Ensuring flexible usage of your containers in Chapter 3, Playing with Containers.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.168.163