Example 3836
K8s Deployment
Kubernetes deployment specification.
{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "octave-worker"
namespace: "staging"
labels: {
app: "carboxyl"
tier: "backend"
}
}
# Deployment spec
spec: {
replicas: 4
container: {
image: "blowgun:5.3.19"
port: 8000
resources: {
cpu_limit: "1000m"
memory_limit: "1Gi"
}
}
health_check: {
path: "/ready"
interval: 15
timeout: 3
}
}
}