Skip to content

Commit

Permalink
Update multicluster docs round 2
Browse files Browse the repository at this point in the history
Signed-off-by: davidmirror-ops <[email protected]>
  • Loading branch information
davidmirror-ops committed Sep 19, 2023
1 parent db159e1 commit 4063745
Show file tree
Hide file tree
Showing 2 changed files with 252 additions and 124 deletions.
43 changes: 34 additions & 9 deletions rsts/deployment/deployment/cloud_production.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,42 @@ guide already contains the ingress rules, but they are not enabled by default.

To turn on ingress, update your ``values.yaml`` file to include the following block.

.. tabbed:: AWS - ``flyte-binary``

.. literalinclude:: ../../../charts/flyte-binary/eks-production.yaml
:caption: charts/flyte-binary/eks-production.yaml
.. tabs::

.. group-tab:: ``flyte-binary`` on EKS using NGINX

.. literalinclude:: ../../../charts/flyte-binary/eks-production.yaml
:caption: charts/flyte-binary/eks-production.yaml
:language: yaml
:lines: 127-135

.. 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
.. group-tab:: ``flyte-core`` on GCP using NGINX

.. literalinclude:: ../../../charts/flyte-core/values-gcp.yaml
:caption: charts/flyte-core/values-gcp.yaml
:language: yaml
:lines: 127-135
:lines: 156-164

.. note::

This section assumes that you're using the NGINX Ingress controller. Instructions and annotations for the ALB controller
are covered in the `Flyte The Hard Way <https://github.com/davidmirror-ops/flyte-the-hard-way/blob/main/docs/06-intro-to-ingress.md#setting-up-amazons-load-balancer-alb-ingress-controller>`__ tutorial.

***************
Authentication
Expand Down
Loading

0 comments on commit 4063745

Please sign in to comment.