Creating a Stack

A Stack is a private PaaS installed into your Google Cloud account. Once you have a Stack running you can use it to deploy and manage your applications and backing resources. You can create a stack from our CLI.

| => datacol init -h
NAME:
   datacol init - create new stack

USAGE:
   datacol init [command options] [arguments...]

OPTIONS:
   --stack value         Name of stack (default: "demo")
   --zone value          GCP zone for stack (default: "us-east1-b")
   --bucket value        GCP storage bucket
   --nodes value         number of nodes in container cluster (default: 2)
   --cluster value       name for existing Kubernetes cluster in GCP
   --machine-type value  name of machine-type to use for cluster (default: "n1-standard-1")
   --preemptible         use preemptible vm (default: true)
   --opt-out datacol     Opt-out from getting updates via email from datacol (default: false)
   --password value      api password for the stack
   --help, -h            show help (default: false)

A standard Stack will include following resources -

Deleting a Stack

If you want to delete a Stack, you can simply run datacol destroy command. It will safely teardown Kubernetes cluster and all of the apps deployed by Datacol.

STACK=demo datacol destroy

Currently we don’t support automatic deletion for following resources from console -