Example 3427

K8s Deployment

Kubernetes deployment specification.

{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "hoof-worker"
namespace: "default"
labels: {
app: "tributary"
tier: "data"
}
}

# Deployment spec
spec: {
replicas: 3
container: {
image: "pinstripe:5.4.11"
port: 9090
resources: {
cpu_limit: "500m"
memory_limit: "1Gi"
}
}

health_check: {
path: "/health"
interval: 10
timeout: 10
}
}
}

See also