eth-cache-proxy

by Dysnix

Helm chartv0.1.12App 0.0.2Verified publisher

A Helm chart for Kubernetes

About this chart

eth-cache-proxy

eth-cache-proxy

Prerequisites

  • Kubernetes 1.18+
  • Helm 3.5.0

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""
global.redis.passwordGlobal Redis™ password (overrides auth.password)""

Common parameters for all deployed objects

NameDescriptionValue
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname template (will maintain the release name)""
fullnameOverrideString to fully override common.names.fullname template""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
clusterDomainKubernetes cluster domain namecluster.local
extraDeployArray of extra objects to deploy with the release[]

Default Component default parameters

NameDescriptionValue
defaultComponent.enabledCreate the default Podtrue
defaultComponent.controllerDefault Pod controller typedeployment

Component specific parameters

NameDescriptionValue
image.registryImage registryeu.gcr.io
image.repositoryImage namepredictkube/rpc-proxy-cacher
image.tagImage tagv0.1.0
image.pullPolicyImage pull policy""
image.pullSecretsImage pull secrets[]
replicaCountNumber of pod replicas to deploy1
containerPortsContainer Ports definition (dict form is also supported)[]
livenessProbe.enabledEnable livenessProbe on containersfalse
livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe5
livenessProbe.periodSecondsPeriod seconds for livenessProbe5
livenessProbe.timeoutSecondsTimeout seconds for livenessProbe5
livenessProbe.failureThresholdFailure threshold for livenessProbe3
livenessProbe.successThresholdSuccess threshold for livenessProbe1
livenessProbe.httpGet.pathHealth-check endpoint/healthz
livenessProbe.httpGet.portHealth-check port8091
readinessProbe.enabledEnable readinessProbe on containersfalse
readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe""
readinessProbe.periodSecondsPeriod seconds for readinessProbe5
readinessProbe.timeoutSecondsTimeout seconds for readinessProbe5
readinessProbe.failureThresholdFailure threshold for readinessProbe5
readinessProbe.successThresholdSuccess threshold for readinessProbe1
readinessProbe.httpGet.pathHealth-check endpoint/readyz
readinessProbe.httpGet.portHealth-check port8091
startupProbe.enabledEnable startupProbe on containersfalse
customLivenessProbeCustom livenessProbe that overrides the default one{}
customReadinessProbeCustom readinessProbe that overrides the default one{}
customStartupProbeCustom startupProbe that overrides the default one{}
resources.limitsThe resources limits for the containers1300m
resources.requestsThe requested resources for the containers1000m
podSecurityContext.enabledEnabled pods' Security Contexttrue
podSecurityContext.fsGroupSet pod's Security Context fsGroup1001
containerSecurityContext.enabledEnabled containers' Security Contexttrue
containerSecurityContext.propogatedPropogate containerSecurityContext to all containers podContainers (when enabled==propogated==true)true
containerSecurityContext.runAsUserSet containers' Security Context runAsUser1001
containerSecurityContext.runAsNonRootSet containers' Security Context runAsNonRoottrue
commandOverride default container command (useful when using custom images)["/app"]
argsOverride default container args (useful when using custom images)["-conf=/etc/eth-cache-proxy/configs/config.yaml"]
hostAliasespods host aliases[]
componentDefines pod's component name (used for naming and labeling etc, not necessary for the default pod).""
podLabelsExtra labels for pods{}
podAnnotationsAnnotations for podsundefined
podAffinityPresetPod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
podAntiAffinityPresetPod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
nodeAffinityPreset.typeNode affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
nodeAffinityPreset.keyNode label key to match. Ignored if affinity is set""
nodeAffinityPreset.valuesNode label values to match. Ignored if affinity is set[]
affinityAffinity for pods assignment{}
nodeSelectorNode labels for pods assignment{}
tolerations

Deploy eth-cache-proxy with OpenTenant

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