In this article, Our goal is to show how to set up a containerized application stack in Kubernetes with a simple CI/CD pipeline to manage the deployments.

Image for post

The completed application will show the power and ease with which Kubernetes manages both apps and infrastructure, creating a sandbox where you can build, deploy, and spin up many instances under load.

Get Kubernetes up and Running

The first step in building our application is to set up Kubernetes and get comfortable with running containers in a pod. We’ll install many tools explained on the way: dockhand, Minikube, and Kubectl. This tutorial solely runs domestically in Minikube and can not work on the cloud.

You’ll like a pc running associate degree up-to-date version of the UNIX system or macOS.Optimally, it should have 16 GB of RAM. Minimally, it should have 8 GB of RAM. For best performance, revive your pc and keep the number of running apps to a minimum.

Docker is one in all the foremost wide used Docker technologies and works directly with Kubernetes.

Install Docker on Linux

sudo apt-get update curl -fsSL https://get.docker.com/ | s

sudo usermod -aG docker $USER

When you’re all done, make sure Docker is running:

sudo service docker start

Install Docker on macOS

Download Docker for Mac (stable) and follow the installation instructions. To launch Docker, double-click the icon within the Applications folder.

Once it’s running, you’ll see a whale icon within the menu bar.

Try Some Docker Commands

You can test out Docker by opening a terminal window and entering the following commands:

## Display the Docker version docker version
## Pull and run the Hello-World image from Docker Hub docker run hello-world 
## Pull and run the Busybox image from Docker Hub docker run busybox echo "hello, you've run busybox" 
## View a list of containers that have run

#ci-cd-pipeline #architecture #startup #kubernetes #tech

CI/CD with Kubernetes (Minikube)
14.40 GEEK