Example 8434

K8s Deployment

Kubernetes deployment specification.

{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "finer-web"
namespace: "production"
labels: {
app: "essence"
tier: "data"
}
}

# Deployment spec
spec: {
replicas: 2
container: {
image: "technician:6.8.2"
port: 8000
resources: {
cpu_limit: "250m"
memory_limit: "256Mi"
}
}

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

See also