This device is not compatible.

Deploying a Web Application over Kubernetes

PROJECT


Deploying a Web Application over Kubernetes

Application deployment is a delivery mechanism, which allows the user to access an application. Kubernetes is an open-source platform that lets us deploy and manage containerized applications.

Deploying a Web Application over Kubernetes

You will learn to:

Containerize a web application

Build and push your image to Docker Hub

Create a Kubernetes Deployment to manage the Pods

Create a Kubernetes Service to expose your application

Skills

Docker

Docker Containers

Kubernetes API Objects

Prerequisites

Basic knowledge of Docker and Docker images

Basic knowledge of Docker Hub and its usage

Basic knowledge of Kubernetes

Technologies

Docker

Kubernetes

Project Description

Docker is a containerization platform, which allows us to pack our applications into containers. It packages our services into different containers that run on the same host, but have isolated environments.

Kubernetes is an open-source platform that lets us deploy and manage containerized applications. Kubernetes takes and manages services, from the deployment stage to the final stage of exposure. Beyond that, Kubernetes also automatically restarts crashed applications and load balances the traffic between replicas.

In this project, we’ll first test our Docker and Kubernetes skills. We’ll use Docker to containerize our application, and we’ll push it to Docker Hub for later use. Then, we’ll deploy a single Pod, using Kubernetes. Finally, we will expose our application to the outside world, using a Kubernetes Service.

Project Tasks

1

Plan for Deployment

Task 1: Containerize Our Application

Task 2: Build and Push the Image

Task 3: Set Up and Verify the Cluster

2

Deploying over Kubernetes

Task 4: Create a Pod

Test the Pod

Task 5: Create a Deployment

Test the Deployment

Task 6: Create a Service

Test the Service

Congratulations!