Example 6034
K8s Deployment
Kubernetes deployment specification.
{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "nougat-api"
namespace: "production"
labels: {
app: "skeleton"
tier: "data"
}
}
# Deployment spec
spec: {
replicas: 3
container: {
image: "bug:4.20.8"
port: 8000
resources: {
cpu_limit: "1000m"
memory_limit: "512Mi"
}
}
health_check: {
path: "/healthz"
interval: 10
timeout: 10
}
}
}