spartakus

by joaquinito2051

Helm chartv1.1.6App 1.0.0

Collect information about Kubernetes clusters to help improve the project.

About this chart

Spartakus

Spartakus aims to collect information about Kubernetes clusters. This information will help the Kubernetes development team to understand what people are doing with it, and to make it a better product.

TL;DR;

$ helm install <helm-repo>/spartakus

$ helm install stable/spartakus

Introduction

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

Prerequisites

  • Kubernetes 1.3+ with Beta APIs enabled

Installing the Chart

To install the chart with the release name my-release:

$ helm install <helm-repo>/spartakus --name my-release

$ helm install stable/spartakus --name my-release The command deploys Spartakus on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

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 Spartakus chart and their default values.

ParameterDescriptionDefault
extraArgsAdditional container arguments{}
image.repositoryImagek8s.gcr.io/spartakus-amd64
image.tagImage tagv1.0.0
image.pullPolicyImage pull policyAlways if image.tag is latest, else IfNotPresent
nodeSelectornode labels for pod assignment{}
podAnnotationsannotations to be added to pods{}
replicaCountdesired number of pods1
resourcespod resource requests & limits{}
uuidUnique cluster IDDynamically generated using uuidv4 template function

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
$ helm install <helm-repo>/spartakus --name my-release \
    --set uuid=19339C6E-FD73-4787-BFD8-F710C8D8364E

$ helm install stable/spartakus --name my-release \

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

$ helm install <helm-repo>/spartakus --name my-release -f values.yaml

$ helm install stable/spartakus --name my-release -f values.yaml

Tip: You can use the default values.yaml

Deploy spartakus with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has spartakus 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 chartspartakus is pinned at v1.1.6 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