- Lab
- A Cloud Guru
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.
Path 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
.
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.