stress

by sudermanjr

Helm chartv0.2.0App latest

A Helm chart for Stress

About this chart

stress

A Helm chart for Stress

Required Values

Set the stressCmd to a command that you might run with stress, such as stress -c 1.

Values

KeyTypeDefaultDescription
affinityobject{}
daemonset.enabledboolfalseIf True, will be run as a daemonset. Not recommended to set true along with deployment.enabled
deployment.enabledbooltrueIf true, will be deployed as a deployment. Not recommended to set true along with daemonset.enabled
deployment.replicaCountint1The number of replicas to run. Only affects deployments.
fullnameOverridestring""
image.pullPolicystring"Always"The pullPolicy. Usually best set to Always
image.repositorystring"ubuntu"The image repository. Probably don't change this unless you know what's going on here.
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podSecurityContextobject{"fsGroup":0}This is intentionally insecure in order to accomodate how this chart runs.
resourcesobject{}How you set this will largely depend on how you want to use this chart.
securityContextobject{"readOnlyRootFilesystem":false,"runAsGroup":0,"runAsNonRoot":false,"runAsUser":0}This is intentionally insecure in order to accomodate how this chart runs.
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
stressCmdstring"stress --help"The stress command to run, with all of the flags. Try stress -c 1
tolerationslist[]

Deploy stress with OpenTenant

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