Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
Signed-off-by: Haytham Abuelfutuh <[email protected]>
  • Loading branch information
EngHabu committed Mar 15, 2021
1 parent 1014531 commit c4f57cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion kustomize/overlays/eks/flyte/ingress/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ metadata:
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/tags: service_instance=production
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-east-2:111111111111:certificate/e92fefd8-6197-4249-a524-431d611c9af6
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"}}'

# Instruct ALB Controller to not create multiple load balancers (and hence maintain a single endpoint for both GRPC and Http)
alb.ingress.kubernetes.io/group.name: flytesystem

# Replace certificate Arn with one deployed to your EKS cluster. Follow instructions in README.md
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-east-2:111111111111:certificate/e92fefd8-6197-4249-a524-431d611c9af6
labels:
app: flyteadmin
spec:
Expand Down
4 changes: 3 additions & 1 deletion kustomize/overlays/eks/flyte/ingress/ingress_grpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ metadata:
annotations:
alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
alb.ingress.kubernetes.io/backend-protocol-version: GRPC
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-east-2:111111111111:certificate/e92fefd8-6197-4249-a524-431d611c9af6
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]'
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/tags: service_instance=production
kubernetes.io/ingress.class: alb
nginx.ingress.kubernetes.io/ssl-redirect: "false"
alb.ingress.kubernetes.io/group.name: flytesystem

# Replace certificate Arn with one deployed to your EKS cluster. Follow instructions in README.md
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-east-2:111111111111:certificate/e92fefd8-6197-4249-a524-431d611c9af6
labels:
app: flyteadmin
name: flytesystem-grpc
Expand Down

0 comments on commit c4f57cf

Please sign in to comment.