Ingress là nhiều lớp
Client/DNS → Ingress controller/class → host/path rule → Service port → EndpointSlice/Pod. Ingress resource chỉ khai báo rule; controller phải tồn tại và có implementation/annotations phù hợp. Dùng pathType rõ, inspect backend service port và test Host header.
TLS và debug
TLS Secret cùng namespace, cert/key/SNI host phải match; controller status/address chưa chứng minh HTTPS đúng. Tách lỗi DNS/address, HTTP host/path, Service/endpoint, controller events và certificate. Nếu controller thiếu, ghi limitation thay vì đánh dấu route pass.
Bài tập
Dựng hai backend host/path, TLS test secret, verify HTTP/HTTPS/request path, cố ý sai class/path/port/secret rồi sửa. Cleanup secret/key/Ingress riêng lab và ghi controller dependency.