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

[k8s] Fix ingress on kind clusters #3820

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

romilbhardwaj
Copy link
Collaborator

Closes #3798. Updates the kind detection logic so that ingress is used even when running inside a kind cluster (e.g., the serve controller). Also updates the ingress IP:PORT fetching logic when running inside a kind cluster.

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Test on local kind cluster sky serve up -n http http_server.yaml
  • Test on GKE cluster sky serve up -n http http_server.yaml (in loadbalancer mode).

@romilbhardwaj
Copy link
Collaborator Author

Updated is_kind_cluster to check credentials first to avoid failing if k8s is not enabled.

Copy link
Contributor

This PR is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Serve][k8s] K8s replica ports not detected
1 participant