- Lab
- A Cloud Guru
Services and Deployments in Docker Kubernetes Service
Services and Deployments, when used together, are a great way to build and manage applications in Kubernetes. In this lab, you will have the opportunity to build an application around deployments and services in a Docker Kubernetes Service cluster. This will provide hands-on experience in architecting robust Kubernetes applications.
Path Info
Table of Contents
-
Challenge
Create a Deployment to Manage the Application
Create a deployment that spins up
3
replica pods running thenginx:1.19.1
image. The pods will need to publish acontainerPort
of80
to expose Nginx externally. -
Challenge
Create a service to expose the application externally.
Create a service that will expose the deployment's pods as an external service accessible by applications outside the cluster. The service should map to a
targetPort
of80
. Use anodePort
of32768
to expose the service externally.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.