Example 9732

K8s Deployment

Kubernetes deployment specification.

{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "chainstay-web"
namespace: "staging"
labels: {
app: "director"
tier: "backend"
}
}

# Deployment spec
spec: {
replicas: 1
container: {
image: "bidet:9.15.0"
port: 8080
resources: {
cpu_limit: "500m"
memory_limit: "512Mi"
}
}

health_check: {
path: "/ready"
interval: 15
timeout: 5
}
}
}

See also