App Deployment

Deployment is a method of converting images to containers and then allocating those images to pods in the Kubernetes cluster. This also helps in setting up the application cluster which includes deployment of service, pod, replication controller and replica set. The cluster can be set up in such a way that the applications deployed on the pod can communicate with each other.

In this setup, we can have a load balancer setting on top of one application diverting traffic to a set of pods and later they communicate to backend pods. The communication between pods happen via the service object built in Kubernetes.

Nginx Load Balancer Yaml File

Nginx Replication Controller Yaml

Frontend Service Yaml File

Frontend Replication Controller Yaml File

Backend Service Yaml File

Backed Replication Controller Yaml File

Last updated