Thank you for reading this post, don't forget to subscribe!
Пример аннотаций для использования websocket c tls
1 2 3 4 5 6 7 8 9 10 11 |
service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags: Project= service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: instance service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing service.beta.kubernetes.io/aws-load-balancer-ssl-cert: service.beta.kubernetes.io/aws-load-balancer-ssl-negotiation-policy: ELBSecurityPolicy-TLS-1-2-2017-01 service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*" service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "8000" service.beta.kubernetes.io/aws-load-balancer-type: "nlb" service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "tcp" service.beta.kubernetes.io/aws-load-balancer-cross-zone-load-balancing-enabled: 'true' service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: '3600' |
где в aws-load-balancer-ssl-ports мы указываем порт который «оборачиваем» в TLS