Support and Troubleshooting¶
This page contains the common issues regarding using DKubeX. If your issue is still not resolved, or the resolution for the issue you are facing is not provided here, please contact support@dkube.io for any assistance required.
Common Issues¶
Serve/SkyPilot: Sky Serve Controller is not launching/stuck in init
status.
Please note that only one Sky Serve Controller can be launched in a particular cloud region. In case you want to launch the Sky Serve Controller in another cloud region, you need to provide the details for that region in the sky-controller-v2-0
pod in your DKubeX backend. Use the steps provided below to do that.
Open your DKubeX backend and run the following command:
kubectl exec -it -n d3x sky-controller-v2-0 -- bash
Run the following commands to create the Sky Serve configuration file. Replace the
<your DKubeX username>
part with your DKubeX username.cd <your DKubeX username>/.sky apt update; apt install vim -y vim config.yaml
Paste the content provided below and provide your cloud region details. Once done, save the file. An example is shown below the template here.
serve: # NOTE: these settings only take effect for a new Sky Serve controller, not if you have an existing one. controller: resources: # All configs below are optional. Specify the location of the Sky Serve controller. cloud: <cloud provider name> region: <cloud region>
serve: # NOTE: these settings only take effect for a new Sky Serve controller, not if you have an existing one. controller: resources: # All configs below are optional. Specify the location of the Sky Serve controller. cloud: aws region: us-east-1
Delete and relaunch your Sky deployment. This will create your deployment on the new cloud region you specified.
Serve/SkyPilot: Sky deployment is deleted but still showing in the Deployments page in the UI.
You need to run the following command to refresh the Sky clusters status launched from your setup. This will pull the latest status of the Sky clusters and deployments from the SkyPilot service and remove the deleted the Sky deployment entry from the UI.
d3x sky status -ra
After the Sky status is refreshed, refresh and check the Deployments page on your browser and ensure that the deployment is removed from the UI.