Example 12340

K8s Deployment

Kubernetes deployment specification.

{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "turret-worker"
namespace: "production"
labels: {
app: "toaster"
tier: "data"
}
}

# Deployment spec
spec: {
replicas: 5
container: {
image: "ectoderm:9.9.15"
port: 8080
resources: {
cpu_limit: "1000m"
memory_limit: "512Mi"
}
}

health_check: {
path: "/healthz"
interval: 30
timeout: 3
}
}
}

See also