Learning about Kubernetes app deployments
When engineers are first getting started with deploying an application to a Kubernetes cluster, it looks something like this:
- Create a Kubernetes manifest.
- Run a command such as
kubectl apply -f
orkubectl create -f
against the manifest. - Ensure that the application has Pods running.
- Access your app to ensure it’s running the way you were expecting it to run.
Although this is a great approach to getting started with deploying applications to Kubernetes, we must dive a little bit deeper to fully understand how the deployment process of an app occurs, why it works the way that it does, how manifests interact with Kubernetes to ensure an application is deployed, and how Kubernetes keeps the desired state of Pods running.
It seems like how Kubernetes deploys apps is simply magic that occurs on the platform because that’s how it’s built and that’s the way it’s supposed to be, but there...