Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Unroll k8s internal load balancer docs #4083

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 11 additions & 33 deletions docs/source/reference/kubernetes/kubernetes-ports.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,40 +59,18 @@ To restrict your services to be accessible only within the cluster, you can set

Depending on your cloud, set the appropriate annotation in the SkyPilot config file (``~/.sky/config.yaml``):

.. tab-set::

.. tab-item:: GCP
:sync: internal-lb-gke

.. code-block:: yaml

# ~/.sky/config.yaml
kubernetes:
custom_metadata:
annotations:
networking.gke.io/load-balancer-type: "Internal"

.. tab-item:: AWS
:sync: internal-lb-aws

.. code-block:: yaml

# ~/.sky/config.yaml
kubernetes:
custom_metadata:
annotations:
service.beta.kubernetes.io/aws-load-balancer-internal: "true"

.. tab-item:: Azure
:sync: internal-lb-azure

.. code-block:: yaml
.. code-block:: yaml

# ~/.sky/config.yaml
kubernetes:
custom_metadata:
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
# ~/.sky/config.yaml
kubernetes:
custom_metadata:
annotations:
# For GCP/GKE
networking.gke.io/load-balancer-type: "Internal"
# For AWS/EKS
service.beta.kubernetes.io/aws-load-balancer-internal: "true"
# For Azure/AKS
service.beta.kubernetes.io/azure-load-balancer-internal: "true"


.. _kubernetes-ingress:
Expand Down
Loading