hello-world-apb

March 27, 2018 ยท View on GitHub

Build Status

An apb for deploying a simple hello world app that can be bound to PostgreSQL for testing purposes.

What it does

  • Deploys a web app that can be bound to a database.

Parameters

  • NAMESPACE: Optional, default 'hello-world', Namespace to deploy the cluster in.

Running the application

docker run --rm --net=host \
-v $HOME/.kube:/opt/apb/.kube:z \
-u $UID \
docker.io/ansibleplaybookbundle/hello-world-apb \
provision --extra-vars 'namespace=hello-world'

Tearing down the application

docker run --rm --net=host \
-v $HOME/.kube:/opt/apb/.kube:z \
-u $UID \
docker.io/ansibleplaybookbundle/hello-world-apb \
deprovision --extra-vars 'namespace=hello-world'