To view the Kubernetes resources, click on the Resources tab. Drill down to the Workload section and you can view several of the Kubernetes API resource types that are part of workloads. Workloads encompass the running containers in your cluster, and include Pods, ReplicaSets, Deployments, and DaemonSets. These are fundamental building blocks for running containers with a cluster.
namespace=catalog
.A ReplicaSet is a Kubernetes object that ensures a stable set of replica pods are running at all times. As such, it is often used to guarantee the availability of a specified number of identical pods. In this example (below), you can see 2 replicasets for namespace orders
. The replicaset for orders-d6b4566fc
defines the configuration for desired and current number of pods.
Click on the replicaset orders-d6b4566fc
and explore the configuration. You will see configurations under Info, Pods, labels and details of max and desired replicas.
A DaemonSet ensures that all (or some) Nodes run a copy of a pod. In the sample application we have DaemonSet running on each node as shown (below).
Click on the daemonset kube-proxy
and explore the configuration. You will see configurations under Info, pods running on each node, labels, and annotations.
A Deployment is a Kubernetes object that provides declarative updates to pods and replicaSets. It tells Kubernetes how to create or modify instances of pods. Deployments help to scale the number of replica pods and enable rollout or rollback a deployment version in a controlled manner. In this example (below), you can see 2 deployments for namespace carts
.