armada/docs/source/operations/guide-use-armada.rst

1.7 KiB

Armada - Using Armada

Prerequisites

Kubernetes Cluster

Tiller Service here

Armada.yaml here

Note

Need to have provided a storage system prior(ceph, nfs)

Usage

Note

The apply command performs two main actions: installing and updating define charts in the armada manifest

  1. Pull or Build the Armada Docker Images:
Pull:

docker pull quay.io/attcomdev/armada:latest

Build:

git clone https://github.com/att-comdev/armada
cd armada/
docker build . -t quay.io/attcomdev/armada:latest
  1. Run Armada docker container

Note

Make sure to mount your kubeconfig into /armada/.kube/config in the container

Note

To run you custom Armada.yamls you need to mount them into the container as shown below. This example is using examples/ directory in armada repo

docker run -d --net host -p 8000:8000 --name armada -v ~/.kube/config:/root/.kube/config -v $(pwd)/examples/:/examples quay.io/attcomdev/armada:latest
  1. Check that tiller is Available
docker exec armada armada tiller --status
  1. If tiller is up then we can start deploying our armada yamls
docker exec armada armada apply /examples/openstack-helm.yaml [ --debug-logging ]
  1. Upgrading charts: modify the armada yaml or chart source code and run armada apply above
docker exec armada armada apply /examples/openstack-helm.yaml [ --debug-logging ]
  1. To check deployed releases:
docker exec armada armada tiller --releases