krucible-cli

command module
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Krucible CLI

This is the official commandline interface for Krucible, the platform for creating ephemeral Kubernetes clusters optimised for testing and development.

Installation

Download the relevant binary for your OS from the latest release and put it on your PATH. Simple.

Usage

Creating a cluster
$ krucible create cluster --name my-cluster --duration 1

A cluster can be created with the above command. The --name and --duration flags are mandatory.

The value for --duration represents the number of hours that the cluster should run for. This can be any integer between 1 and 6 (inclusive) or "permanent". A permanent cluster will only be deleted when deletion is explicitly requested.

Optionally, krucible can configure your kubectl context so that you can immediately connect to your cluster:

$ krucible create cluster --display-name my-cluster --duration --configure-kubectl
Retrieving a cluster
$ krucible get cluster c-1234567

A cluster can be retrieved with the above comand. The argument provided should be the ID of the cluster.

Connecting to a cluster
$ krucible configure-kubectl c-1234567

krucible can configure your kubectl context so that you can immediately connect to your cluster.

Running kubectl
krucible kubectl --cluster c-1234567 -- get pods

krucible is also capable of running kubectl commands directly.

Deleting a cluster
krucible delete cluster c-1234567

A cluster can be deleted with the above command. The argument provided should be the ID of the cluster.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL