Skip to main content

MarkLogic Server on Kubernetes

Deploy the MarkLogic cluster

To deploy the MarkLogic cluster, add the Helm Chart repository and install the MarkLogic cluster.

Add the Helm Chart repository

Login by using:

aws ecr get-login-password \
     --region us-west-2 | helm registry login \
     --username AWS \
     --password-stdin aws_account_id.dkr.ecr.region.amazonaws.com
Install the MarkLogic cluster

To install the MarkLogic cluster:

  1. Add information about the Docker image from ECR to the values.yaml file:

    ## Marklogic image parameters
    image:
      repository: 308453789681.dkr.ecr.us-west-2.amazonaws.com/marklogic
      tag: 11.1.0-centos-1.1.0
      pullPolicy: IfNotPresent
     
    ....
     
    ## Configure the imagePullSecrets to pull the image from private repository that requires credential
    imagePullSecrets:
    - name: "docker-creds"
    # - name: "your-secret-name-2"
  2. Install the MarkLogic cluster using the helm install command. In this example, a specific values.yaml file is used:

    helm install ml-cluster oci://308453789681.dkr.ecr.us-west-2.amazonaws.com/marklogic -f values.yaml -n ml
    
  3. The command will return a message similar to this:

    Pulled: 308453789681.dkr.ecr.us-west-2.amazonaws.com/marklogic:1.0.1
    Digest: sha256:c3902a1330b0928b7aec1075f16c38c865b9395e5efb0e0eb5314c903fbc40bd
    NAME: ml-cluster
    LAST DEPLOYED: Thu Oct 12 14:28:21 2023
    NAMESPACE: default
    STATUS: deployed
    REVISION: 1
    NOTES:
    Thank you for installing marklogic.
    
    Your release is named ml-cluster.