Deploy the mlcp pod to the Kubernetes cluster
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Documentation
Create a Kubernetes deployment YAML file named mlcp.yaml and a persistentVolumeClaim for storage. The following sample file shows the configuration:
apiVersion: v1
kind: Pod
metadata:
name: mlcp
spec:
volumes:
- name: mlcp-volume
persistentVolumeClaim:
claimName: mlcp-pvc
containers:
- name: mlcp
image: mdweller5/theswamp:mlcp
command:
- bash
- '-c'
- |
tail -f /dev/null
volumeMounts:
- mountPath: "/data"
name: mlcp-volume
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mlcp-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi