Example 7233
K8s Deployment
Kubernetes deployment specification.
{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "finer-api"
namespace: "staging"
labels: {
app: "footrest"
tier: "frontend"
}
}
# Deployment spec
spec: {
replicas: 1
container: {
image: "restaurant:0.0.8"
port: 3000
resources: {
cpu_limit: "500m"
memory_limit: "1Gi"
}
}
health_check: {
path: "/ready"
interval: 30
timeout: 10
}
}
}