Helm chartv1.0.6App 8.9.11Verified publisher

GridGain is a Unified Real-Time Data Platform by the original creators of Apache Ignite. It enables a simplified and optimized data architecture for enterprises that require extreme speed, massive scale, and high availability from their data ecosystem.

About this chart

gridgain

GridGain is a Unified Real-Time Data Platform by the original creators of Apache Ignite. It enables a simplified and optimized data architecture for enterprises that require extreme speed, massive scale, and high availability from their data ecosystem.

Homepage: https://www.gridgain.com/

Maintainers

NameEmailUrl
GridGain Systems, Inc. All Rights Reservedhttps://www.gridgain.com/

Source Code

TL;DR

helm repo add gridgain https://gridgain.github.io/helm-charts/ 
helm repo update
helm install my-release gridgain/gridgain

Prerequisites

  • Kubernetes 1.26+
  • Helm 3.11.3+
  • PV provisioner support in the persistence configuration

Older version of Kubernetes and Helm vere not tested so use it at your peril.

Values

KeyTypeDefaultDescription
affinityobject{}Affinity for GridGain DB pods assignment
annotationsobject{}Annotations for GridGain DB resources
argslist[]Override default container args (useful when using custom images)
auth.enabledboolfalseGridGain DB authentication configuration
auth.usersobjectCheck defaults belowUsers section. License required to use it.
auth.users.serverobject{"name":"server1","password":"password1","permissions":"{defaultAllow:true}"}Key. Only server key is required to run server nodes using this user, all the others are optional.
auth.users.server.namestring"server1"Name of the user to be created.
auth.users.server.passwordstring"password1"Password of the user to be created.
auth.users.server.permissionsstring"{defaultAllow:true}"Permissions of the user to be created.
commandlist[]Override default container command (useful when using custom images)
commonAnnotationsobject{}Add annotations to all the deployed resources
configMapsobjectCheck default values.yaml to view default configGridGain DB main configuration to be injected as ConfigMap.
configMapsFromFileobject{"default-config":{"filename":"default-config.xml","path":"/opt/gridgain/config/default-config.xml"}}GridGain DB main configuration to be injected as ConfigMap from files (files/configmaps)
containerPortslistcheck default container ports in values.yamlGridGain DB container ports
containerSecurityContextobject{}Container Security Context for GridGain DB container
controlCenterUrlstring""URL of Control Center. Just regular url required. Disabled by default
customLabelsobject{}Add labels to all the deployed resources. May be templated
existingConfigmapobject{}Existing configmap with GridGain DB configuration to be mounted to StatefulSet
extraDeploylist[]Array of extra objects to deploy with the release (evaluated as a template)
extraEnvVarslist[]Array with extra environment variables to add to GridGain DB nodes
extraEnvVarsCMstring""Name of existing ConfigMap containing extra env vars for GridGain DB nodes
extraEnvVarsSecretstring""Name of existing Secret containing extra env vars for GridGain DB nodes
extraPodSpecobject{}Optionally specify extra PodSpec for the GridGain DB pod(s)
extraPostHookslist[]Array of extra post install/upgrade hooks to deploy with the release (partially evaluated as a template)
extraVolumeMountslist[]Optionally specify extra list of additional volumeMounts for the GridGain DB container(s)
extraVolumeslist[]Optionally specify extra list of additional volumes for the GridGain DB pod(s)
fullnameOverridestring""String to fully override common.names.fullname template
ignite.shutdownPolicystring"IMMEDIATE"Ignite node shutdown policy rendered into the default Ignite configuration XML.
igniteWorkDirstring"/persistence"GridGain persistent storage directory
image.pullPolicystring"IfNotPresent"Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
image.registrystring"docker.io"GridGain DB image registry
image.repositorystring"gridgain/community"GridGain DB image repository
image.tagstringnilif not set appVersion field from Chart.yaml is used
initContainerslist[]Add additional init containers to the GridGain DB pod(s)
jvmOptsstring"-Xlog:gc*:file=$(IGNITE_WORK_DIR)/grid-gclog.txt:time:filecount=10,filesize=100m \n-Djava.net.preferIPv4Stack=true -Xmx2G -Xms1G -XX:MaxMetaspaceSize=250m -XX:MaxDirectMemorySize=1g\n-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$(IGNITE_WORK_DIR) -ea\n-XX:StartFlightRecording=dumponexit=true,filename=$(IGNITE_WORK_DIR)/gridgain.jfr,maxsize=1g,maxage=6h,settings=profile\n"JVM options for GridGain DB nodes
labelsobject{}Map of labels
licenseobject{}GridGain DB license to be created or mounted as a secret. Needed to use GridGain Enterprise Edition (EE) or Ultimate Edition (UE)
lifecycleHooksobject{}Lifecycle hooks for GridGain DB container
livenessProbeobjectCheck defaults belowConfigures (liveness probe)[https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes] for GridGain container
livenessProbe.enabledbooltrueEnables livenessProbe on GridGain container
livenessProbe.failureThresholdint3Failure threshold for livenessProbe
livenessProbe.httpGetobject{"path":"/ignite?cmd=version","port":8080}Path and port for probe
livenessProbe.initialDelaySecondsint5Initial delay seconds for livenessProbe
livenessProbe.periodSecondsint30Period seconds for livenessProbe
livenessProbe.successThresholdint1Success threshold for livenessProbe
livenessProbe.timeoutSecondsint10Timeout seconds for livenessProbe
metrics.enabledboolfalseEnables prometheus metrics exposing via port 9000. Available since GridGain DB version 8.9.9
nameOverridestring""String to partially override common.names.fullname template (will maintain the release name)
networkPolicyobject{}Network Policies
nodeSelectorobject{}Node labels for GridGain DB pods assignment
optionLibsstring"ignite-kubernetes,ignite-rest-http,ignite-log4j2,control-center-agent,ignite-schedule"GridGain modules to be enabled
persistenceobjectBy default only one volume will be created. Check default values.yaml to view more detailsGridGain DB persistence configuration
persistence.persistentVolumeClaimRetentionPolicy.enabledboolfalseEnable Persistent volume retention policy
persistence.persistentVolumeClaimRetentionPolicy.whenDeletedstring"Retain"Volume retention behavior that applies when the StatefulSet is deleted
persistence.persistentVolumeClaimRetentionPolicy.whenScaledstring"Retain"Volume retention behavior when the replica count of the StatefulSet is reduced
persistence.volumePermissions.containerSecurityContextobjectdisabledInit container Security Context Note: the chown of the data folder is done to containerSecurityContext.runAsUser and not the below volumePermissions.containerSecurityContext.runAsUser
persistence.volumePermissions.containerSecurityContext.runAsGroupint0Group ID for the init container
persistence.volumePermissions.containerSecurityContext.runAsNonRootboolfalserunAsNonRoot for the init container
persistence.volumePermissions.containerSecurityContext.runAsUserint0User ID for the init container
persistence.volumePermissions.containerSecurityContext.seLinuxOptionsobject{}Set SELinux options in container
persistence.volumePermissions.containerSecurityContext.seccompProfileobject{"type":"RuntimeDefault"}seccompProfile.type for the init container
persistence.volumePermissions.enabledboolfalseEnable init container that changes the owner and group of the persistent volume
persistence.volumePermissions.image.pullPolicystring"IfNotPresent"Init container volume-permissions image pull policy
persistence.volumePermissions.image.registrystring"docker.io"Init container volume-permissions image registry
persistence.volumePermissions.image.repositorystring"debian"Init container volume-permissions image repository
persistence.volumePermissions.image.tagstring"12.12-slim"Init container volume-permissions image tag (immutable tags are recommended)
persistence.volumePermissions.resourcesobject{}Init container resource requests and limits
persistence.volumes.persistence.accessModeslist["ReadWriteOnce"]PVC Access Mode for GridGain DB volume
persistence.volumes.persistence.annotationsobject{}Annotations for the PVC
persistence.volumes.persistence.enabledbooltrueEnable GridGain DB data persistence using PVC
persistence.volumes.persistence.existingClaimstring""Name of an existing PVC to use
persistence.volumes.persistence.labelsobject{}Labels for the PVC
persistence.volumes.persistence.mountPathstring"/persistence"The path the volume will be mounted at
persistence.volumes.persistence.selectorobject{}Selector to match an existing Persistent Volume (this value is evaluated as a template)
persistence.volumes.persistence.sizestring"8Gi"PVC Storage Request for GridGain DB volume
persistence.volumes.persistence.subPathstring""The subdirectory of the volume to mount to. Useful in dev environments and one PV for multiple services
podAnnotationsobject{}Map of annotations to add to the pods
podLabelsobject{}Map of labels to add to the pods
podManagementPolicystring"OrderedReady"Optionally specify GridGain statefulset podManagementPolicy
podSecurityContextobject{"fsGroup":2000,"runAsNonRoot":true,"runAsUser":1000}Pod Security context for GridGain DB pods
priorityClassNamestring""Name of the PriorityClass for GridGain DB pods
rbacobject{"create":true,"rules":[]}RBAC configuration for ServiceAccount. Required to run GridGain DB in multiple replicas.
rbac.createbooltrueCreates default Role and RoleBinding
rbac.ruleslist[]Custom RBAC rules to be added
readinessProbeobjectCheck defaults belowConfigures (readiness probe)[https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes] for GridGain container
readinessProbe.enabledbooltrueEnables readinessProbe on GridGain container
readinessProbe.failureThresholdint3Failure threshold for readinessProbe
readinessProbe.httpGetobject{"path":"/ignite?cmd=version","port":8080}Path and port for probe
readinessProbe.initialDelaySecondsint30Initial delay seconds for readinessProbe
readinessProbe.periodSecondsint10Period seconds for readinessProbe
readinessProbe.successThresholdint1Success threshold for readinessProbe
readinessProbe.timeoutSecondsint10Timeout seconds for readinessProbe
replicaCountint1Number of GridGain cluster replicas
resourcesobjectCheck defaults belowGridGain DB resource requests and limits
resources.limits.cpustring"1"The cpu limit for the GridGain DB containers
resources.limits.memorystring"2Gi"The memory limit for the GridGain DB containers
resources.requests.cpustring"1"The requested cpu for the GridGain DB containers
resources.requests.memorystring"2Gi"The requested memory for the GridGain DB containers
revisionHistoryLimitint10The maximum number of revisions that will be maintained in the StatefulSet's [revision history](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#revision-history-limi

Deploy gridgain with OpenTenant

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