Show your support by giving us a star!

Deploying Your Cluster

To deploy your configured cluster, run the following command from your cluster project directory:

dosei cluster deploy

What Happens During Deployment

The deployment process:

  1. Uses the name as the hostname for your cluster
  2. Connects to each server in the servers list using the specified username and hostname
  3. Authenticates using your SSH key (either the default ~/.ssh/id_ed25519 or ~/.ssh/id_rsa or a custom path specified in the identity field)
  4. Installs Docker on the remote server if it's not already available
  5. Sets up Dosei within a Docker container on each server

Once deployment completes, your Dosei cluster will be ready to use.

Testing Your Deployment

After deploying your cluster, it's important to verify that everything is working correctly. Follow these steps to test your deployment:

Login to Your Cluster

First, log in to your cluster using:

dosei cluster login dosei.your-domain.com dosei

This command authenticates you with your cluster using the default dosei(root) credentials.

Check Cluster Information

Next, verify your cluster's status and configuration by running:

dosei cluster info dosei.your-domain.com

This command displays detailed information about your cluster, including its status, configuration, and available resources.

If both commands execute successfully, congratulations! Your Dosei cluster is properly deployed and ready for use.

Was this page helpful?