awx

by Helm

Helm chartv10.0.3App v10.0.0

A Helm chart for Kubernetes

About this chart

Ansible AWX

Helm deployement of Ansible AWX on Kubernetes

(Original code from https://github.com/arthur-c/ansible-awx-helm-chart)

Introduction

This chart bootstraps an AWX deployment on a Kubernetes cluster using the Helm package manager.

Installing the Chart

The command deploys AWX on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

This charts embeds chart dependencies specified in the requirements.yaml file:

  • postgresql
  • memcached
  • rabbitmq

Note: Currently, this chart is not ready to be used with external postgresql, memcached or rabbitmq. PR welcomed.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the awx chart and their default values. Postgresql, memcached, rabbitmq charts values can be overridden in awx/values.yaml

ParameterDescriptionDefault
replicaCountPod replica count1
awx_web.image.repositoryansible/awx_web
awx_web.image.tag2.1.2
awx_web.image.pullPolicyIfNotPresent
awx_task.image.repositoryansible/awx_task
awx_task.image.tag2.1.2
awx_task.image.pullPolicyIfNotPresent
awx_secret_keyawxsecret
default_admin_useradmin
default_admin_passwordpassword
deployment.annotations{}
service.internalPort8052
service.externalPort8052
ingress.enabledfalse
memcached.installInstall memcached charttrue
rabbitmq.installInstall rabbitmq charttrue
rabbitmq.rabbitmq.usernameRabbitmq usernameawx
rabbitmq.rabbitmq.passwordRabbitmq passwordawx
rabbitmq.rabbitmq.configurationRabbitmq configuration filecf values.yaml
postgresql.installInstall postgresql charttrue
postgresql.postgresqlUsernamepostgresql usernamepostgres
postgresql.postgresqlPasswordpostgresql passwordawx
postgresql.postgresqlDatabasepostgresql databaseawx
postgresql.persistence.enabledpostgresql persistencetrue

Deploy awx with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has awx on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartawx is pinned at v10.0.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply