Kubernetes Guide

This guide demonstrates how to deploy the PRISM MEV Platform to Kubernetes.

Example Manifest

apiVersion: apps/v1
kind: Deployment
metadata:
  name: prism
spec:
  replicas: 1
  selector:
    matchLabels:
      app: prism
  template:
    metadata:
      labels:
        app: prism
    spec:
      containers:
        - name: prism
          image: ghcr.io/your-org/prism-mev:latest
          imagePullPolicy: IfNotPresent
          env:
            - name: RUST_LOG
              value: info
          ports:
            - containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
  name: prism
spec:
  selector:
    app: prism
  ports:
    - name: http
      port: 80
      targetPort: 8080

Steps

  1. Build and push your image to a registry.
  2. Apply manifests: kubectl apply -f prism.yaml
  3. Verify service and logs.
  4. Access health endpoint: GET /api/v1/providers/health

Notes

  • Configure resources, probes, and secrets for production environments.