httpbin

by owanio1992

Helm chartv0.1.9App latest

this chart help create a [httpbin](https://github.com/mccutchen/go-httpbin) for internal testing it's have multiple api please read official [doc](https://httpbingo.org) for more info

About this chart

httpbin

this chart help create a httpbin for internal testing
it's have multiple api
please read official doc for more info

Values

KeyTypeDefaultDescription
affinityobject{}Affinity for pod assignment
fullnameOverridestring""Override the full chart name
gatewayobject{"enabled":false,"gatewayClassName":"","gatewayName":"","gatewayNamespace":"","hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"PathPrefix"}]}],"listeners":[{"allowedRoutes":{"namespaces":{"from":"Same"}},"name":"http","port":8000,"protocol":"HTTP"}]}Gateway API configuration
gateway.enabledboolfalseEnable gateway support
gateway.gatewayClassNamestring""The name of the GatewayClass resource. In GKE, this should be "gke-l7-gxlb" for multi-cluster and "gke-l7-rilb" for single-cluster. In Istio, this should be "istio".
gateway.gatewayNamestring""The name of an existing Gateway resource to bind to. If not specified, a new Gateway resource is created.
gateway.gatewayNamespacestring""The namespace of an existing Gateway resource to bind to. If not specified, the new Gateway resource is created in the same namespace as the chart.
gateway.hostslist[{"host":"chart-example.local","paths":[{"path":"/","pathType":"PathPrefix"}]}]Hosts for the Gateway resource
gateway.listenerslist[{"allowedRoutes":{"namespaces":{"from":"Same"}},"name":"http","port":8000,"protocol":"HTTP"}]Listeners for the Gateway resource. The name of the listener should match an entryPoint on the Gateway Controller.
imageobject{"pullPolicy":"IfNotPresent","repository":"mccutchen/go-httpbin","tag":""}Container image configuration
image.pullPolicystring"IfNotPresent"Image pull policy
image.repositorystring"mccutchen/go-httpbin"Image repository
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]Image pull secrets
ingressobject{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"Prefix"}]}]}Ingress configuration
ingress.annotationsobject{}Ingress annotations
ingress.classNamestring""Ingress class name
ingress.enabledboolfalseEnable ingress
ingress.hostslist[{"host":"chart-example.local","paths":[{"path":"/","pathType":"Prefix"}]}]Ingress hosts
kedaobject{"cooldownPeriod":120,"enabled":false,"maxReplicaCount":3,"minReplicaCount":1,"pollingInterval":60,"triggers":[{"metadata":{"value":"80"},"metricType":"Utilization","type":"cpu"}]}KEDA autoscaling configuration
keda.cooldownPeriodint120KEDA cooldown period
keda.enabledboolfalseEnable KEDA autoscaling
keda.maxReplicaCountint3Maximum replica count for KEDA
keda.minReplicaCountint1Minimum replica count for KEDA
keda.pollingIntervalint60KEDA polling interval
keda.triggerslist[{"metadata":{"value":"80"},"metricType":"Utilization","type":"cpu"}]KEDA triggers
kindstring"Deployment"
livenessProbe.httpGet.pathstring"/anything/livenessProbe"
livenessProbe.httpGet.portstring"http"
nameOverridestring""Override the chart name
nodeSelectorobject{}Node selector for pod assignment
podAnnotationsobject{}Annotations to add to pods
podDisruptionBudget.enabledboolfalse
podLabelsobject{}Labels to add to pods
podSecurityContextobject{}Pod security context
readinessProbe.httpGet.pathstring"/anything/readinessProbe"
readinessProbe.httpGet.portstring"http"
readinessProbe.periodSecondsint10
replicaCountstring"aa"Number of httpbin replicas to deploy
resourcesobject{}Resource limits and requests
securityContextobject{}Container security context
serviceobject{"port":8080,"type":"ClusterIP"}Service configuration
service.portint8080Service port
service.typestring"ClusterIP"Service type
serviceAccountobject{"annotations":{},"automount":true,"create":true,"name":""}Service account configuration
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountbooltrueAutomatically mount a ServiceAccount's API credentials?
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
startupProbe.httpGet.pathstring"/anything/startupProbe"
startupProbe.httpGet.portstring"http"
startupProbe.periodSecondsint10
strategyobject{}
tolerationslist[]Tolerations for pod assignment
volumeClaimTemplateslist[]statefulset only
volumeMountslist[]Additional volumeMounts on the output Deployment definition.
volumeslist[]Additional volumes on the output Deployment definition.

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy httpbin with OpenTenant

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