annotations
へ色々追加する
1 2 3 4 5 6 7 8 9 10 11 12 13 |
apiVersion: extensions/v1beta1 kind: Ingress metadata: name: "ingress" annotations: kubernetes.io/ingress.class: alb alb.ingress.kubernetes.io/certificate-arn : arn:aws:acm:us-east-1:xxx:certificate/xx alb.ingress.kubernetes.io/listen-ports : '[{"HTTP": 80}, {"HTTPS":443}]' alb.ingress.kubernetes.io/actions.ssl-redirect : '{"Type": "redirect", "RedirectConfig" : { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}' |
各項目の細かい説明
https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/