Exploration of Kubernetes Metadata: Labels, Selectors, and Annotations

A Deep Dive into Kubernetes Resource Classification and Configuration Overview Kubernetes, a container orchestrator, is designed to handle applications at scale. While working with multiple objects we may need to group them. Metadata like, labels, selectors and annotations play an important role while configuring and working with kubernetes objects. Labels and selectors are used to select […]

Kubectl Tips & Tricks

To get familiar with kubectl and improve productivity with its useful commands For anyone who learns and works with Kubernetes, its CLI kubectl becomes one of the essential tools to know as to interact with the cluster. Kubectl is a command-line tool that is used to communicate with the Kubernetes control plane via a Kubernetes API. As Kubernetes API is […]

Update Multiple Lines in a YAML file with Kubectl

Update multiple lines in a YAML file with kubectl Whenever I need to update a YAML file, the first thing that comes to mind is to either use sed or awk or perl etc., But there’s an in-house kubectl patch option that simplifies the experience. Lab With Kubectl Patch As we triggered the lab through the LAB SETUP button, a terminal, and an IDE comes for […]