CRD Reference
Complete field reference for the GridGain9Cluster custom resource definition, covering all spec and status fields organized by functional area.
This page provides a complete reference of all fields in the GridGain9Cluster custom resource definition, organized by functional area.
Spec Fields
The spec field defines the desired state of the cluster. The only required field is replicas.
Core
spec:
replicas: 3
gridgainWorkDir: /persistence
terminationGracePeriodSeconds: 600
revisionHistoryLimit: 10
podManagementPolicy: Parallel
serviceAccountName: gridgain-sa
rollback: falsereplicas
int32
3
Number of GridGain cluster nodes. Minimum value is 1.
gridgainWorkDir
string
/persistence
Working directory for the GridGain process inside the container.
terminationGracePeriodSeconds
int64
600
Seconds to wait for graceful pod shutdown before forcibly killing the process.
revisionHistoryLimit
int32
10
Number of old StatefulSet revisions to retain for rollback.
podManagementPolicy
string
Parallel
Controls how pods are created during initial scale up. Accepts Parallel or OrderedReady.
serviceAccountName
string
Name of an existing ServiceAccount to use for the pods.
rollback
boolean
Set to true to trigger a manual rollback to the last stable configuration.
Image
image.registry
string
docker.io
Docker registry.
image.repository
string
gridgain/gridgain9
Image repository.
image.tag
string
Image tag. When omitted, the operator uses its built-in default.
image.pullPolicy
string
IfNotPresent
Image pull policy. Accepts Always, Never, or IfNotPresent.
imagePullSecrets
[]LocalObjectReference
List of Secrets for authenticating with private registries.
Resources
resources.requests.cpu
Quantity
Minimum CPU allocation for the GridGain container.
resources.requests.memory
Quantity
Minimum memory allocation for the GridGain container.
resources.limits.cpu
Quantity
Maximum CPU allocation for the GridGain container.
resources.limits.memory
Quantity
Maximum memory allocation for the GridGain container.
Persistence
persistence.enabled
boolean
true
Enables persistent storage via PersistentVolumeClaims.
persistence.size
Quantity
8Gi
Size of the PVC.
persistence.storageClassName
string
Storage class name. Uses the cluster default when omitted.
persistence.existingClaim
string
Name of an existing PVC to use instead of creating a new one.
persistence.accessModes
[]string
PVC access modes (e.g. ReadWriteOnce).
persistence.volumePermissions.enabled
boolean
true
Runs an init container to fix volume ownership.
persistence.volumePermissions.image
object
Image for the volume permissions init container. Supports registry, repository, tag, and pullPolicy.
persistence.volumePermissions.resources
ResourceRequirements
Resource requests and limits for the volume permissions init container.
persistence.additionalVolumes.<name>.enabled
boolean
Enables the named additional volume.
persistence.additionalVolumes.<name>.mountPath
string
Mount path for the additional volume.
persistence.additionalVolumes.<name>.size
Quantity
Size of the additional volume PVC.
persistence.additionalVolumes.<name>.storageClassName
string
Storage class for the additional volume.
persistence.additionalVolumes.<name>.accessModes
[]string
Access modes for the additional volume.
Storage Profile
storage.profile.memoryPercentage
int32
60
Percentage of the container memory limit allocated to the storage engine. Valid range is 1 to 100.
License
license.content
string
Inline license content. The operator creates a Secret from this value.
license.secretName
string
Name of an existing Secret containing the license.
license.secretKey
string
Key within the Secret that holds the license data.
license.mountPath
string
/opt/gridgain/etc/license.conf
Path where the license file is mounted in the container.
Cluster Configuration
clusterConfig.content
string
Inline cluster configuration as a JSON document.
clusterConfig.secretName
string
Name of an existing Secret containing the cluster configuration.
clusterConfig.secretKey
string
Key within the Secret.
clusterConfig.mountPath
string
/etc/gridgain9db/cluster.conf
Path where the cluster configuration file is mounted.
clusterConfig.authentication.enabled
boolean
Enables authentication.
clusterConfig.authentication.type
string
basic
Authentication type. Accepts basic or ldap.
clusterConfig.authentication.users
[]UserSpec
List of users for basic authentication. Each user requires username and password. Optional fields: displayName (display name) and roles (list of role strings).
clusterConfig.ssl.enabled
boolean
Enables SSL/TLS.
clusterConfig.ssl.clientAuth
string
none
Client authentication mode. Accepts none, require, or optional.
clusterConfig.ssl.ciphers
string
Comma-separated list of allowed SSL ciphers.
clusterConfig.ssl.keyStore.secretName
string
Secret containing the keystore file.
clusterConfig.ssl.keyStore.secretKey
string
Key within the Secret for the keystore file.
clusterConfig.ssl.keyStore.password
string
Keystore password.
clusterConfig.ssl.keyStore.type
string
PKCS12
Keystore type. Accepts PKCS12 or JKS.
clusterConfig.ssl.trustStore.secretName
string
Secret containing the truststore file.
clusterConfig.ssl.trustStore.secretKey
string
Key within the Secret for the truststore file.
clusterConfig.ssl.trustStore.password
string
Truststore password.
clusterConfig.ssl.trustStore.type
string
PKCS12
Truststore type. Accepts PKCS12 or JKS.
Node Configuration
gridgainConfig.content
string
Inline GridGain node configuration in HOCON format.
gridgainConfig.configMapName
string
Name of an existing ConfigMap containing the node configuration.
JMX
jmx.enabled
boolean
Enables JMX metrics exporter.
jmx.port
int32
9404
Port for the JMX exporter. Valid range is 1 to 65535.
jmx.config
string
JMX exporter configuration in YAML format.
Services
services[].name
string
Required. Service name suffix. The full service name is <cluster-name>-<name>.
services[].type
string
ClusterIP
Service type. Accepts ClusterIP, NodePort, LoadBalancer, or Headless.
services[].ports[].name
string
Required. Port name.
services[].ports[].port
int32
Required. Service port. Valid range is 1 to 65535.
services[].ports[].targetPort
int32
Target port on the pod. Defaults to the same value as port.
services[].ports[].nodePort
int32
Node port for NodePort services. Valid range is 30000 to 32767.
services[].ports[].protocol
string
TCP
Port protocol. Accepts TCP, UDP, or SCTP.
services[].externalTrafficPolicy
string
External traffic policy. Accepts Cluster or Local.
services[].sessionAffinity
string
None
Session affinity. Accepts None or ClientIP.
services[].loadBalancerIP
string
Static IP for LoadBalancer services.
services[].loadBalancerSourceRanges
[]string
CIDR ranges allowed to access LoadBalancer services.
services[].publishNotReadyAddresses
boolean
Publishes addresses of pods that are not yet ready.
services[].annotations
map[string]string
Additional annotations for the service (e.g. cloud provider configuration).
Health Probes
The probes field supports liveness, readiness, and startup probes. Each probe accepts the standard Kubernetes probe fields. GridGain exposes liveness and readiness endpoints on port 10300 at /health/liveness and /health/readiness respectively.
probes.<type>.httpGet.path
string
HTTP path to probe.
probes.<type>.httpGet.port
int/string
Port to probe.
probes.<type>.initialDelaySeconds
int32
Seconds before the first probe after container start.
probes.<type>.periodSeconds
int32
Interval between probes.
probes.<type>.timeoutSeconds
int32
Seconds before the probe times out.
probes.<type>.failureThreshold
int32
Consecutive failures before the probe is considered failed.
probes.<type>.successThreshold
int32
Consecutive successes before the probe is considered successful.
Pod Disruption Budget
podDisruptionBudget.enabled
boolean
Enables the PodDisruptionBudget.
podDisruptionBudget.minAvailable
int32
Minimum number of pods that must remain available during voluntary disruptions.
podDisruptionBudget.maxUnavailable
int32
Maximum number of pods that can be unavailable during voluntary disruptions.
Upgrade Configuration
upgradeConfig.nodeTimeoutSeconds
int32
600
Timeout for a single node upgrade. Minimum 60.
upgradeConfig.clusterTimeoutSeconds
int32
1800
Timeout for the entire cluster upgrade. Minimum 300.
upgradeConfig.failureThresholdPercent
int32
20
Percentage of failed pods that triggers automatic rollback. Range 1-100.
upgradeConfig.rollbackTimeoutSeconds
int32
1800
Timeout for a rollback operation. Minimum 300.
upgradeConfig.maxUnavailable
int32
1
Maximum pods unavailable during upgrade.
upgradeConfig.maxSurge
int32
0
Maximum extra pods during upgrade. Range 0-1.
Scheduling
affinity
Affinity
Pod affinity and anti-affinity rules. Accepts the standard Kubernetes Affinity object.
tolerations
[]Toleration
Pod tolerations for node taints.
nodeSelector
map[string]string
Node label selector for pod scheduling.
topologySpreadConstraints
[]TopologySpreadConstraint
Constraints for spreading pods across topology domains.
priorityClassName
string
Priority class for the pods.
StatefulSet
updateStrategy.type
string
RollingUpdate
StatefulSet update strategy. Accepts RollingUpdate or OnDelete.
updateStrategy.rollingUpdate.partition
int32
0
Ordinal at which to partition the update. Pods with an ordinal greater than or equal to the partition are updated.
Security Contexts
securityContext
PodSecurityContext
Pod-level security context. Supports runAsNonRoot, runAsUser, fsGroup, seccompProfile, and all standard fields.
containerSecurityContext
SecurityContext
Container-level security context. Supports allowPrivilegeEscalation, readOnlyRootFilesystem, runAsUser, capabilities, and all standard fields.
Metadata
podLabels
map[string]string
Custom labels added to every pod in the StatefulSet.
podAnnotations
map[string]string
Custom annotations added to every pod in the StatefulSet.
Containers and Volumes
initContainers
[]Container
Additional init containers added to the pod template. Accepts standard Kubernetes container definitions.
sidecars
[]Container
Sidecar containers that run alongside the GridGain container. Accepts standard Kubernetes container definitions.
extraVolumes
[]Volume
Additional volumes added to the pod template.
extraVolumeMounts
[]VolumeMount
Additional volume mounts added to the GridGain container.
extraEnvVars
[]EnvVar
Environment variables injected into the GridGain container.
Status Fields
The status sub-resource reflects the observed state of the cluster. These fields are read-only and managed by the operator. To inspect the full status of a cluster:
To check individual fields:
phase
string
Current cluster phase: Running, Upgrading, RollingBack, Failed, or other transient states.
replicas
int32
Total number of pods created by the StatefulSet.
readyReplicas
int32
Number of pods in the Ready state.
currentReplicas
int32
Number of pods created for the current generation.
updatedReplicas
int32
Number of pods at the current version.
initialized
boolean
Whether the cluster has been initialized with a license.
clusterState
string
The GridGain cluster state as reported by the cluster itself.
observedGeneration
int64
The metadata.generation most recently observed by the controller.
conditions
[]Condition
Standard Kubernetes conditions with type, status, reason, message, lastTransitionTime, and observedGeneration.
upgradeLocked
boolean
true while an upgrade or rollback is in progress.
upgradeStartTime
date-time
Timestamp when the current upgrade started.
upgradeStepStartTime
date-time
Timestamp when the current upgrade or rollback step started.
upgradeTargetImage
string
Image locked in for the current upgrade.
upgradeTargetConfigHash
string
Configuration hash locked in for the current upgrade.
lastStableImage
string
Image of the last successful deployment, used as the rollback target.
lastStableConfigHash
string
Configuration hash of the last successful deployment.
lastFailedImage
string
Image that caused the most recent rollback.
lastUpgradeSuccessful
boolean
Whether the most recent upgrade completed successfully.
rollbackCount
int32
Number of consecutive rollback attempts for the current target.
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

