Serve/SkyPilot: Sky Serve Controller is not launching/stuck in init status.ΒΆ

Support and Troubleshooting

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 in the provided section. Once done, save the file.

    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>
    
  • Delete and relaunch your Sky deployment. This will create your deployment on the new cloud region you specified.