-
Notifications
You must be signed in to change notification settings - Fork 1
/
aws-alb-ingress.yaml
29 lines (28 loc) · 1.01 KB
/
aws-alb-ingress.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# AWS ALB Ingress YAML file for Wavelengt Zone (EKS)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ant-media-server-origin
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}, {"HTTP":80}]'
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-east-1:142315010245:certificate/9756d591-5d35-4269-80db
alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
alb.ingress.kubernetes.io/target-group-attributes: stickiness.enabled=true,stickiness.lb_cookie.duration_seconds=30
spec:
ingressClassName: alb
rules:
- host: origin.antmedia.cloud
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: ant-media-server-origin
port:
number: 5080
tls:
- hosts:
- origin.antmedia.cloud