I'm trying to use SkyServe on Kubernetes and followed the hello world example in skypilot/examples/serve/http_server
with the command sky serve up -n http examples/serve/http_server/task.yaml
. However, I'm encountering errors indicating that certain features are not supported by Kubernetes, such as stopping VMs. Here's the error message I received:
W 01-29 03:27:31 cloud_vm_ray_backend.py:2033] sky.exceptions.NotSupportedError: The following features are not supported by Kubernetes:
W 01-29 03:27:31 cloud_vm_ray_backend.py:2033] Feature Reason
W 01-29 03:27:31 cloud_vm_ray_backend.py:2033] stop Kubernetes does not support stopping VMs.
W 01-29 03:27:31 cloud_vm_ray_backend.py:2059]
W 01-29 03:27:31 cloud_vm_ray_backend.py:2059] Provision failed for 1x Kubernetes(4CPU--4GB, cpus=4+, disk_size=200, ports=['30001-30100']) in kubernetes. Trying other locations (if any).
Additionally, I've checked the sky check
and sky status
commands, and everything seems to be set up correctly. The cluster is set up by Kubeadm, and the kubeconfig is located at ~/.kube/config
. Can you help me understand why this error is occurring and how to resolve it?
Ping Zhang
Asked on Jan 29, 2024
SkyServe on Kubernetes is not supported just yet, but it will be available very soon. It seems that the features you are trying to use are not compatible with Kubernetes at the moment. You'll need to wait for the official support to be released or look for alternative solutions that are compatible with Kubernetes.