I have problems implementing the nginx ingress with tls termination with my AKS cluster. I managed to make it work without tls.
In the following my ingress.yml:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ingresswebapi
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
tls:
- secretName: aks-ingress-tls
rules:
- http:
paths:
- backend:
serviceName: webapi
servicePort: 443
path: /
the loadbalancer is installed through helm chart (https://learn.microsoft.com/en-us/azure/aks/ingress-tls), with the option --set controller.extraArgs.enable-ssl-passthrough=""
my cluster runs k8s 1.15.5
I am also not able to access my pod with https termination within the cluster itself (through another pod). Is there any option that I am missing for allowing https communication?
Also, once I deploy my helm chart with static IP, my public IP resource loses the custom DNS (the usual xxxx.location.cloudapp.azure.com). Must I assign forcefully a different one?