HOME BLOG

Tips for deploying apps with Kubernetes

Posted on: November 13th, 2021 by Olu No Comments

Hi folks,

In this post i go over a few tips to keep in mind when deploying applications with Kubernetes.

1. After updating a Kubernetes deployment, double-check to make sure the deployment is up-to-date. You can run command

kubectl get deployment

There will be a column UP-TO-DATE.  Make sure it is 1. If it isn’t, then check the state of the deployment rollout. If there is any issue with rolling out your deployment, you can scale down and then scale up replicas to update the pods.

2. Make sure your cluster has enough resources (memory, CPU) for your application’s needs. E.g. If your pod requests more memory than the cluster has available, Kubernetes will not allow it run.

That’s all for now. Till next time, happy software development.

Leave a Reply