eureka

by ygqygq2

Helm chartv2.0.0App 1.0.0Verified publisher

AWS Service registry for resilient mid-tier load balancing and failover.

About this chart

eureka - AWS Service registry for resilient mid-tier load balancing and failover.

eureka is a REST (Representational State Transfer) based service that is primarily used in the AWS cloud for locating services for the purpose of load balancing and failover of middle-tier servers.

Introduction

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

Prerequisites

  • Kubernetes 1.6+
  • PV provisioner support in the underlying infrastructure

Installing the Chart

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

$ helm install my-release eureka

The command deploys eureka cluster on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Uninstall

To uninstall/delete the my-release deployment:

$ helm delete my-release

Configuration

The following table lists the configurable parameters of the eureka chart and their default values.

ParameterDescriptionDefault
statefulset.enabledUse statefulset to startfalse
globalGlobal settingsee in values.yaml
deploymentStrategyDeployment rollingUpdate setting{}
replicaCountReplicas number1
serviceService type, protocol, portClusterIP TCP 8761
envContainer env settingsee in values.yaml
startCommandStart command[]
configAdditional configmap to usesee in values.yaml
secretAdditional secret to usesee in values.yaml
imageeureka-server image, tag.ygqygq2/eureka-server 1.0.0
ingressIngress for the eureka server.false
persistentVolume.enabledCreate a volume to store datafalse
persistentVolume.storageClassType of persistent volume claimnil
persistentVolume.accessModesPersistent volume access modes[ReadWriteOnce]
persistentVolume.sizePersistent volume access modes1Gi
persistentVolume.existingClaimPersistent volume existingClaim name{}
persistentVolume.mountPathsPersistent directory pathsee in values.yaml
persistentVolume.annotationsPersistent volume annotations{}
healthCheck.enabledLiveness and readiness probestrue, detail see in values.yaml
resourcesCPU/Memory resource requests/limits{}
lifecyclePod lifecycle{}
deployment.additionalVolumesDeployment additionalVolumes[]
additionalContainersSidecar containers{}

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

$ helm install my-release \
  --set replicaCount=2 \
    eureka

The above command sets the replicaCount to 2.

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

$ helm install my-release -f values.yaml eureka

Tip: You can use the default values.yaml

Deploy eureka with OpenTenant

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