Example 8435

K8s Deployment

Kubernetes deployment specification.

{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "clavicle-api"
namespace: "production"
labels: {
app: "executor"
tier: "frontend"
}
}

# Deployment spec
spec: {
replicas: 4
container: {
image: "reboot:0.3.13"
port: 3000
resources: {
cpu_limit: "250m"
memory_limit: "1Gi"
}
}

health_check: {
path: "/ready"
interval: 15
timeout: 10
}
}
}

See also