-
Notifications
You must be signed in to change notification settings - Fork 29
TLS Termination at Load Balancer #160
Comments
@amybachir Sorry for the slow reply, I've been very busy with something new that should make deploying Kubeflow a whole lot easier and more secure. I haven't tested this, but you should just need to remove port 443 and the redirect to it from the Gateways. You'd also need to set the correct loadbalancer type. Have you already tried removing the proxy protocol filter? |
@amybachir Did you have any luck getting this to work? I'm trying to do something similar - use ACM certs with the NLB and re-encrypt with self-signed certs in the cluster for end-to-end encryption. I've added the annotations to the load balancer but I'm getting |
@soleares Yes, I got this working! However, I'm terminating tls at the AWS load balancer and using clear text for in-cluster communications so all communications past the load balancer are |
@soleares I don’t think you can do TLS termination on an NLB. You probably need to change to an ALB which is at layer 7, and as mentioned remove the proxy protocol. What is the reason for wanting to use ACM certs and then self-signed certificates in the cluster? |
@davidspek good catch! I didn't notice @soleares was referring to creating an NLB. Yes, definitely you need an ALB instead!
|
@amybachir @davidspek Thank you. It's good to know that the ALB setup works with this distribution. I have this setup running with Kubeflow 1.2 in production. From what I'm reading NLB should support TLS termination: https://aws.amazon.com/blogs/aws/new-tls-termination-for-network-load-balancers/. It also supports adding multiple ACM certs and the AWS load balancer controller annotation supports passing a list. But I'm not having luck getting it to work with Istio ingress-gateway. The reason I'm trying to get this to work is that:
So I'll probably either:
|
What changes do I need to make to terminate TLS at the load balancer?
I've already done the following:
I noticed there are some EnvoyFilter objects. I think I might have a problem with the proxy protocol filter. Should I remove this? Is there anything else I should be aware of?
Thanks much!
The text was updated successfully, but these errors were encountered: