azure-vote

by nghiattr

Helm chartv0.1.1Verified publisher

A Helm chart for Kubernetes

About this chart

azure-vote

The Azure Vote application is a simple sample used throughout the Azure Container Service (AKS) documentation. The application consists of two pods, one running a flask web form, and the second a redis instance for temporary data storage.

Installing the Chart

Add the Azure Samples chart repository.

helm repo add azure-samples https://azure-samples.github.io/helm-charts/

Install the chart.

helm install azure-samples/azure-vote

Configuration

The following tables lists the configurable parameters of the azure-vote chart and the default values.

ParameterDescriptionDefault
titleAzure vote app title.Azure Vote App
value1Value for first vote controll / valueCats
value2Value for second vote controll / valueDogs
serviceNameName for Kubernetes service.aks-helloworld
serviceTypeType for Kubernetes service.ClusterIP

Examples

helm install azure-samples/azure-vote

helm install azure-samples/azure-vote --set title="Winter Sports" --set value1=Ski --set value2=Snowboard

Deploy azure-vote with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has azure-vote 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 chartazure-vote is pinned at v0.1.1 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