In Kubernetes, a Horizontal Pod Autoscaler (HPA) automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand.
You might have heard or used kubectl proxy and/or kubectl port-forward commands while working with Kubernetes cluster.
However, are you aware of how they work and when we should use the above commands?
An admission controller is a piece of code that intercepts and processes requests to the Kubernetes API server prior to persistence of the object, but after the request is authenticated and authorized.
Priority Classes in Kubernetes are used to prioritize workloads to have a higher priority over the other ones. This property can be used for providing a higher priority to mission critical workloads so that they can continue running as much as possible.
Kubernetes uses “Quality Of Service (QoS) Classes” and assigns it to each Pod to make decisions of pod eviction. The QoS classes can help to prioritise the workloads in a k8s cluster.
A StorageClass provides a way for administrators to describe the “classes” of storage they offer. Each StorageClass contains the fields provisioner, parameters, and reclaimPolicy, which are used when a PersistentVolume belonging to the class needs to be dynamically provisioned. There will always be a default StorageClass in Kubernetes which is used by all PVCs if not specified.