Example 7621

K8s Deployment

Kubernetes deployment specification.

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

# Deployment spec
spec: {
replicas: 1
container: {
image: "disk:5.10.4"
port: 8080
resources: {
cpu_limit: "250m"
memory_limit: "512Mi"
}
}

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

See also