Example 3126

K8s Deployment

Kubernetes deployment specification.

{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "steeple-web"
namespace: "staging"
labels: {
app: "guidance"
tier: "data"
}
}

# Deployment spec
spec: {
replicas: 1
container: {
image: "providence:4.10.11"
port: 8000
resources: {
cpu_limit: "1000m"
memory_limit: "256Mi"
}
}

health_check: {
path: "/health"
interval: 15
timeout: 3
}
}
}

See also