I open Visual Studio 2019 and create a new project (Container application for kubernetes). I tick enable https support and then when I start debugging in Visual Studio; I can b
In case when Your application accepts HTTP
traffic and You want to make is secure (HTTPS
); I suggest to try TLS termination with kubernetes ingress.
Kubernetes documentation has great explanation how to configure TLS termination. With ingress object You can make Your HTTP
service be accessible via HTTPS
from outside of the cluster.
This means that connections made to service will be made in HTTPS
and get decrypted to HTTP
once internally in Your cluster before reaching the service.
Hope it helps.