This document outlines a Kubernetes assignment for a DevOps certification course. It asks the developer to: 1) Create a 3 node Kubernetes cluster with a master and slaves; 2) Deploy a Docker container image across 2 pods with 2 replicas each and modified index.html content for each; 3) Create services for the pods; and 4) Set up path-based routing for the services to access the pods from outside the cluster. The goal is to demonstrate configuring and routing between pods and services in Kubernetes.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
62 views1 page
Module 9 Kubernetes Assignment
This document outlines a Kubernetes assignment for a DevOps certification course. It asks the developer to: 1) Create a 3 node Kubernetes cluster with a master and slaves; 2) Deploy a Docker container image across 2 pods with 2 replicas each and modified index.html content for each; 3) Create services for the pods; and 4) Set up path-based routing for the services to access the pods from outside the cluster. The goal is to demonstrate configuring and routing between pods and services in Kubernetes.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
DevOps Certification Course
Module 9: Kubernetes Assignment
Problem Statement:
A developer wants to the following task:
Use this github https://github.com/hshar94/helloworld
1. Create a 3 node setup of Kubernetes Master and Slave 2. Use the docker image which you created Docker 1 assignment 3. Deploy 2 pods with the same container but different index.html content, modify the content from the above github to the following: Pod 1: “Welcome to Pod 1” Pod 2: “Welcome to Pod 2” 4. Each pod should have 2 replicas 5. Create the desired services for these pods 6. Setup path based routing on these services, which can be accessed from the outside “/pod1” -> service 1 “/pod2” -> service 2
Kubernetes: Build and Deploy Modern Applications in a Scalable Infrastructure. The Complete Guide to the Most Modern Scalable Software Infrastructure.: Docker & Kubernetes, #2