echo-server

by Helm

Helm chartv0.5.0App 0.6.0

Echo-Server for Kubernetes

About this chart

Echo-Server / Docker / Kubernetes / Helm

An echo server is a server that replicates the request sent by the client and sends it back.

More information/documentation Project Repository

Adding the Repository

helm repo add ealenn https://ealenn.github.io/charts
helm repo update

Deploy Echo-Server with helm

helm upgrade -i ${name} ealenn/echo-server --namespace ${namespace} --force

Values

KeyTypeDefaultDescription
affinityobject{}
application.enable.cookiesbooltrueEnable cookies in response
application.enable.environmentbooltrueEnable environment in response
application.enable.filebooltrueEnable file in response
application.enable.headerbooltrueEnable custom header in response
application.enable.hostbooltrueEnable host in response
application.enable.httpbooltrueEnable http in response
application.enable.requestbooltrueEnable request in response
application.logs.ignore.pingboolfalseDon't log ping request on route /ping
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"ealen/echo-server"https://hub.docker.com/r/ealen/echo-server
image.tagstring"0.6.0"https://github.com/Ealenn/Echo-Server/releases
imagePullSecretslist[]
ingress.annotationsobject{}Example kubernetes.io/ingress.class: nginx for Nginx Ingress
ingress.enabledboolfalseEnable ingress
ingress.hosts[0].hoststring"cluster.local"
ingress.hosts[0].paths[0]string"/"
ingress.ingressClassNamestring""
ingress.tlslist[]
livenessProbe.failureThresholdint3
livenessProbe.httpGet.httpHeaders[0].namestring"x-echo-code"
livenessProbe.httpGet.httpHeaders[0].valuestring"200"
livenessProbe.httpGet.pathstring"/ping"
livenessProbe.initialDelaySecondsint5
livenessProbe.periodSecondsint10
livenessProbe.successThresholdint1
livenessProbe.timeoutSecondsint2
nameOverridestring""
nodeSelectorobject{}
podSecurityContextobject{}
replicaCountint1Pod replicas
resources.limits.cpustring"50m"
resources.limits.memorystring"128Mi"
resources.requests.cpustring"50m"
resources.requests.memorystring"128Mi"
securityContextobject{}
service.portint80For k8s >= 1.19 use port number not name
service.typestring"ClusterIP"
serviceAccount.createbooltrue
serviceAccount.namestring""
tolerationslist[]

Changelog

0.5.0

  • Update echo to 0.6.0 (thanks @XenGi)

0.4.0

  • Add support for ingressClassName
  • Update echo to 0.5.1

0.3.1

  • App Version 0.4.2
  • Increased architecture
  • Additional Documentation (thanks prasadkatti)

0.3.0

  • App Version 0.4.0
  • Fix Header X-ECHO-CODE

0.2.2

  • Fix invalid values in liveness probe
  • Default liveness value Header ECHO_CODE on /ping -> HTTP 200

0.2.1

  • Customize liveness probe
  • Automatically Roll Deployments
  • Increased default memory allocation

0.2.0

  • App Version 0.3.0
  • Additional Documentation

Deploy echo-server with OpenTenant

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