Kubernetes was born out of the need to make our complex applications highly available, scalable, portable and deployable in small microservices independently. As a result, users can focus on running their applications without having to worry about the internal details of Kubernetes.

There are two main ways to manage Kubernetes objects: imperative (with kubectl commands) and declarative (by writing manifests and then using kubectl apply).

In this section, we will see how to use kubectl imperative commands to interact with Kubernetes clusters and do various operations on Kubernetes objects.

A service object is how a user interacts with an application in Kubernetes, and how different microservices communicate with each other.

Related Articles