skypilot-org / skypilot

SkyPilot: Run LLMs, AI, and Batch jobs on any cloud. Get maximum savings, highest GPU availability, and managed execution—all with a simple interface.
https://skypilot.readthedocs.io
Apache License 2.0
6.21k stars 427 forks source link

[k8s] Support multiple Kubernetes clusters #2937

Open romilbhardwaj opened 6 months ago

romilbhardwaj commented 6 months ago

SkyPilot currently supports a single Kubernetes cluster. However there are use cases where multiple Kubernetes clusters may exist (e.g., multiple clusters for serving across regions, dev/prod clusters for training, cluster sharing).

A starting point could be to use the list of contexts in the kubeconfig file as the source list of clusters and dynamically create a clouds.Kubernetes() object for each context when SkyPilot is run. This branch has a quick POC of statically creating multiple Kubernetes cloud objects.

cc @kbrgl

github-actions[bot] commented 1 month ago

This issue 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.