Skip to content

Commit

Permalink
Update references to Ingress annotations
Browse files Browse the repository at this point in the history
Signed-off-by: davidmirror-ops <[email protected]>
  • Loading branch information
davidmirror-ops committed Dec 15, 2023
1 parent d0173a6 commit 5044e4f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
16 changes: 14 additions & 2 deletions charts/flyte-binary/eks-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,27 @@ clusterResourceTemplates:
eks.amazonaws.com/role-arn: '{{ defaultIamRole }}'
ingress:
create: true
##-- Uncomment the following section if you plan to use NGINX Ingress Controller
#ingressClassName: nginx
#commonAnnotations:
# ingress.kubernetes.io/rewrite-target: /
# nginx.ingress.kubernetes.io/ssl-redirect: "true"
#httpAnnotations:
# nginx.ingress.kubernetes.io/app-root: /console
#grpcAnnotations:
# nginx.ingress.kubernetes.io/backend-protocol: GRPC
#host: <your-Flyte-URL> # change for the URL you'll use to connect to Flyte
## ---

#This section assumes you are using the ALB Ingress controller.
ingressClassName: alb
commonAnnotations:
#This section assumes you are using the ALB Ingress controller
alb.ingress.kubernetes.io/certificate-arn: 'arn:aws:acm:<AWS-REGION>:<AWS-ACCOUNT-ID>:certificate/<CERTIFICATE-ID>'
alb.ingress.kubernetes.io/group.name: flyte
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]'
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/ssl-redirect: '443'
alb.ingress.kubernetes.io/target-type: ip
kubernetes.io/ingress.class: alb
httpAnnotations:
alb.ingress.kubernetes.io/actions.app-root: '{"Type": "redirect", "RedirectConfig": {"Path": "/console", "StatusCode": "HTTP_302"}}'
grpcAnnotations:
Expand Down
23 changes: 5 additions & 18 deletions rsts/deployment/deployment/cloud_production.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,14 @@ To turn on ingress, update your ``values.yaml`` file to include the following bl
.. literalinclude:: ../../../charts/flyte-binary/eks-production.yaml
:caption: charts/flyte-binary/eks-production.yaml
:language: yaml
:lines: 127-135
:lines: 93-102

.. group-tab:: ``flyte-binary``/ on EKS using ALB

.. code-block:: yaml
ingress:
create: true
commonAnnotations:
alb.ingress.kubernetes.io/certificate-arn: '<your-SSL-certificate-ARN>'
alb.ingress.kubernetes.io/group.name: flyte
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]'
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/ssl-redirect: '443'
alb.ingress.kubernetes.io/target-type: ip
kubernetes.io/ingress.class: alb
httpAnnotations:
alb.ingress.kubernetes.io/actions.app-root: '{"Type": "redirect", "RedirectConfig": {"Path": "/console", "StatusCode": "HTTP_302"}}'
grpcAnnotations:
alb.ingress.kubernetes.io/backend-protocol-version: GRPC
host: <your-URL> #use a DNS CNAME pointing to your ALB
.. literalinclude:: ../../../charts/flyte-binary/eks-production.yaml
:caption: charts/flyte-binary/eks-production.yaml
:language: yaml
:lines: 106-118

.. group-tab:: ``flyte-core`` on GCP using NGINX

Expand Down

0 comments on commit 5044e4f

Please sign in to comment.