Example 14524

K8s Deployment

Kubernetes deployment specification.

{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "assist-api"
namespace: "default"
labels: {
app: "coliseum"
tier: "backend"
}
}

# Deployment spec
spec: {
replicas: 1
container: {
image: "pneumonia:4.11.20"
port: 8080
resources: {
cpu_limit: "250m"
memory_limit: "256Mi"
}
}

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

See also