How I deployed my Backend Application on Kubernetes.

Photo by Growtika on Unsplash

How I deployed my Backend Application on Kubernetes.

Part 1 - Deploying an application on Kubernetes using Github Actions.

Yes, I was able to deploy my backend API on Kubernetes even though I was new to Kubernetes.

Kubernetes is a container orchestration tool for modern applications built using docker. I know you might have heard of Docker.

Yes, I also used docker too.

The outcome was successful, and with Docker, I was able to containerize my application.

Let me outline the steps I took to get this working.

  • Setup a docker hub account

  • Containerizing application with docker

  • Installed Kubectl & minikube using Homebrew.

  • Configure the Deployment File

  • Configure the Service File

  • Creating the Secret File.

  • Using the Kustomizer

  • Testing on Minikube

  • CI / CD Pipeline with Github Actions

  • Setting up a Kubernetes Cluster

  • Load balancer for multiple Nodes

  • Pointing Domain name to the load balancer.

  • Setting up SSL certificate using cert-manager

  • Visiting the Kubernetes Admin.

This tutorial is going to be long if I should write down all the steps.
I will take my time to explain all these steps in parts.

Let's meet on part 2 of this article.

Thank you.