Example 15133

K8s Deployment

Kubernetes deployment specification.

{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "runway-web"
namespace: "production"
labels: {
app: "fax"
tier: "frontend"
}
}

# Deployment spec
spec: {
replicas: 3
container: {
image: "reservation:2.11.17"
port: 8000
resources: {
cpu_limit: "1000m"
memory_limit: "256Mi"
}
}

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

See also