kubernetes AWS EKS中入口的SSL配置

wfveoks0  于 2023-04-20  发布在  Kubernetes
关注(0)|答案(1)|浏览(211)

我有两个域,这两个域都有单独的SSL证书。是否可以使用单个入口配置为这些域设置SSL?
集群:EKS
入口控制器:AWS ALB入口控制器

mepcadol

mepcadol1#

在注解中添加逗号分隔的证书字符串。

alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-west-2:xxxxx:certificate/cert1,arn:aws:acm:us-west-2:xxxxx:certificate/cert2,arn:aws:acm:us-west-2:xxxxx:certificate/cert3

https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/main/docs/guide/ingress/annotations.md#certificate-arn
此外,您还可以通过AWS Web控制台分配证书:EC2 -〉load balancers -〉listeners -〉tls:443 -〉view/edit certificates and add there an additional cert from ACM

相关问题