Skip to main content

Data

In order to set up the cluster as you want and deploy the necessary packages and applications, you must mount your data folder in the kupboard contains. Use the -v option to mount the data folder in /kupboard/data, as shown in the instruction example below.

$ docker run --rm -it -v $(pwd)/data:/kupboard/data kupboard/kupboard

You can download the data sample from kupboard-data-sample-1.1.tar.gz and the structure of data folder is as follows.

data
โ”œโ”€โ”€ api
โ”œโ”€โ”€ certs
โ”œโ”€โ”€ kollections
โ”œโ”€โ”€ manifests
โ””โ”€โ”€ kupboard.yaml
  • api OpenAPI specs are located.
  • certs ssh keys or ssl certifications are located.
  • kollections kollections are located.
  • manifests contains manifest files generated when applications of OpenAPI or kollection.
  • kupboard.yaml default configuration file.

SSH Private Key#

The private key of the key pair used to create server instances must be located in data/certs with the name ssh.pem.

SSL Certifications#

If a service domain defined in kupboard.yaml is mycompany.com, the certification should be available for all sub domains like *.mycompany.com. The certificate files should be located in data/certs with the following names:

  • ssl.key private key
  • ssl.crt public key
  • ssl.pem keychain (private key + public key)