Brandon B. Jozsa b83ce91f1e WIP: ToC Preparation for Openstack (#296)
* complete docs refactor

* replaces /data references in favor of /var/lib/localkube - fixes #95

* additional layout changes

* additional operations layout

* readme updates and versioning updates to multinode doc

* remove dragons

* project goal clarity

* remove 'magic'

* clean up container image concerns

* slight verbiage change

* charts not hard coded

* small change requested

* reconfiguration

* updates to minikube docs
2017-04-01 09:19:32 -07:00

1.3 KiB

Common Conditionals

The OpenStack-Helm charts make the following conditions available across all charts, which can be set at install or upgrade time with Helm below.

Developer Mode

helm install local/chart --set development.enabled=true

The development mode flag should be available on all charts. Enabling this reduces dependencies that the chart may have on persistent volume claims (which are difficult to support in a laptop minikube environment) as well as reducing replica counts or resiliency features to support a minimal environment.

The glance chart for instance defines the following development: overrides:

development:
  enabled: false
  storage_path: /var/lib/localkube/openstack-helm/glance/images

The enabled flag allows the developer to enable development mode. The storage path allows the operator to store glance images in a hostPath instead of leveraging a ceph backend, which again, is difficult to spin up in a small laptop minikube environment. The host path can be overriden by the operator if desired.

Resources

helm install local/chart --set resources.enabled=true

Resource limits/requirements can be turned on and off. By default, they are off. Setting this enabled to true will deploy Kubernetes resources with resource requirements and limits.