- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Security

Add TLS to a Kubernetes Service with Ingress
Ingresses make it easy to implement TLS for a Kubernetes Service. This lab will allow you to practice your skills with Kubernetes Ingress as you add TLS termination on top of an existing Service.

Lab Info
Table of Contents
-
Challenge
Generate Self-Signed Certificates for the Service and Store Them in a Secret
Create a self-signed certificate and key for the Service. Provide a subject of
/CN=accounts.svc
for the certificate and place it in/home/cloud_user/
. Name the certificateaccounts.crt
and the keyaccounts.key
. -
Challenge
Create an Ingress on Top of the Service That Configures TLS Termination
The
accounts-svc
can be found in theaccounts
namespace. Create an Ingress in that same namespace that configures TLS termination for the Service. Use the certificate and key that you generated earlier. The Service listens on port80
.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.