MarkLogicCluster API
- Last Updated: April 14, 2026
- 2 minute read
- MarkLogic Server
- Documentation
The MarkLogicCluster API defines and configures options at the cluster level.
| Field | Type | Description | Default | Constraint |
|---|---|---|---|---|
image |
string |
Container Image for all MarkLogic Clusters | progressofficial/marklogic-db:12.0.0-ubi9-rootless-2.2.2 |
|
imagePullPolicy |
string |
Image pull policy for all MarkLogic Clusters | IfNotPresent |
|
imagePullSecrets |
[]corev1.LocalObjectReference |
Registry secret names as an array for all MarkLogic Clusters | [] | |
clusterDomain |
string |
Domain for the Kubernetes cluster | cluster.local |
|
auth |
AdminAuth |
Admin Auth for MarkLogic Cluster | ||
persistence |
persistence |
Persistence for all MarkLogic Clusters | Nil | If left empty, Operator will create EmptyDir. For production use, set the persistence size |
resources |
corev1.ResourceRequirements |
CPU or memory request for all MarkLogic Clusters | ||
livenessProbe |
LivenessProbe |
Configure liveness probe for MarkLogic containers across cluster | {enabled: true, failureThreshold: 3, initialDelaySeconds: 30, periodSeconds: 30, successThreshold: 1, timeoutSeconds: 5} | |
readinessProbe |
ReadinessProbe |
Configure readiness probe for MarkLogic containers across cluster | {enabled: true, failureThreshold: 3, initialDelaySeconds: 10, periodSeconds: 30, successThreshold: 1, timeoutSeconds: 5} | |
terminationGracePeriodSeconds |
int64 |
Seconds the MarkLogic Pod terminate gracefully | ||
updateStrategy |
appsv1.StatefulSetUpdateStrategyType |
Update strategy for MarkLogic pods | OnDelete |
|
networkPolicy |
NetworkPolicy |
Network policy for all MarkLogic Clusters | ||
podSecurityContext |
corev1.PodSecurityContext |
Security context for pod running MarkLogic containers | ||
securityContext |
corev1.SecurityContext |
Security context for MarkLogic containers | ||
affinity |
corev1.Affinity |
Affinity for MarkLogic pods assignment across cluster | ||
nodeSelector |
map[string]string |
Node labels for MarkLogic pods assignment across cluster | ||
topologySpreadConstraints |
[]corev1.TopologySpreadConstraint |
POD Topology Spread Constraints to spread Pods across cluster | ||
priorityClassName |
string |
Name of a PriortyClass defined to set pod priority across cluster | ||
license |
License | Set MarkLogic license Key and Licensee information | ||
enableConverters |
bool |
Parameter to Install converters for the client if they are not already installed | ||
hugePages |
HugePages |
Config Huge Pages across MarkLogic Cluster | {enabled: false, mountPath: /dev/hugepages} | |
logCollection |
LogCollection |
Configure cluster wide log collection of MarkLogic server logs | ||
haproxy |
bool |
Configure HAProxy Load Balancer for MarkLogic Server across cluster | ||
tls |
bool |
Configure TLS on Default App Servers (8000, 8001, 8002) across cluster | ||
additionalVolumes |
[]corev1.Volume |
List of additional volumes to add to the MarkLogic containers across cluster | Nil | |
additionalVolumeMounts |
[]corev1.VolumeMount |
List of mount points for the additional volumes to add to the MarkLogic containers across cluster | Nil | |
marklogicGroup |
[]MarklogicGroups |
Configuration for specific MarkLogic Groups, each group is a statefulset | >= 1 |