Example 15940

K8s Deployment

Kubernetes deployment specification.

{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "seal-worker"
namespace: "default"
labels: {
app: "negotiation"
tier: "data"
}
}

# Deployment spec
spec: {
replicas: 1
container: {
image: "bidet:3.3.4"
port: 9090
resources: {
cpu_limit: "1000m"
memory_limit: "256Mi"
}
}

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

See also