Example 11532

K8s Deployment

Kubernetes deployment specification.

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

# Deployment spec
spec: {
replicas: 2
container: {
image: "role:7.2.11"
port: 8000
resources: {
cpu_limit: "500m"
memory_limit: "1Gi"
}
}

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

See also