Quick start

This guide is intended to give you a quick overview of the main functionality of Krucible using the command line interface. Please see the Clusters documentation for more information about the web interface.

#Install the CLI

#Configure the CLI

1. If you haven't done so already, sign up for Krucible—it only takes a moment.

2. Create an API key from the API keys page

3. Run the command provided after creating the API key:

Create API key result

Fig 1.  Create API key result

#Create a cluster

Run the following command to create a Kubernetes cluster that will expire in an hour. This will cost one credit.

$ krucible create cluster --duration 1 --name my-cluster --configure-kubectl

Once the cluster is ready, the command will complete and the ID of the cluster will be printed. The command will also configure your kubectl context to point at your new cluster.

#List clusters

Run the following command to list all active clusters within your account:

$ krucible get clusters

#Connect to your cluster

Once your cluster is created you can interact with it using the kubectl command:

$ kubectl get pods --all-namespaces