CertGrid CertGrid
Hands-on Lab·Certified Kubernetes Administrator

TLS for Ingress

Add four lines and a Secret and the Ingress serves HTTPS. It also starts redirecting every HTTP request with a 308, which is the correct default and surprises people. Then the certificate fails verification, exactly as a self-signed one should.

Services and Networking Guide 59 of 103 Intermediate

Written against the versions above. A self-signed certificate is used so the lab needs no CA. Its failure to verify is part of what the guide shows.

HTTPS is on the controller's 443 node port, 31967 in this install.
Server NameIP AddressOSRolesCPURAMHDD
CKA1001192.168.0.175Ubuntu 26.04 LTSControl Plane Node2 Core4 GB50 GB
CKA1001-NODE01192.168.0.176Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE02192.168.0.177Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA1001-NODE03192.168.0.178Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

Before you start

  1. A certificate and a Secret of the right type

  2. Four lines on the Ingress

  3. The 308 nobody asked for

  4. Read the certificate the controller is serving

Official sources