Imperative Way of Deploying Resources in Kubernetes
In this Imperative approach, We have to specify the detailed instructions on the management of resources. What resources have to be used such as Kubernetes Pod, Kubernetes ReplicaSet, Deployments, and Daemon Sets… How to Use resources like Creating, Deleting, and Replacing to reach the desired final state. For example, `kubectl create`, `kubectl scale`, `kubectl delete`… This Approach provides full control over the deployment process allowing the operations to be defined manually as a sequence of operations to reach the desired state.
Kubernetes – Kubectl Create and Kubectl Apply
Kubernetes is an open-source Container Orchestrating software platform that is widely used in modern application deployment and management. It comes up with many internal resources to manage the other working nodes Organizing as a Cluster facilitates seamless automatic scaling, and deployment updates making applications highly available and fault tolerant. The `kubectl create` and `kubectl apply` commands are essential for managing containerized applications effectively. This Article involves discussing these two kubectl commands with their method of approaches in deploying the resources.