Appearance
1125 - K8s Deployment
Kubernetes deployment specification. This is an example of a MAML document.
maml
{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "roundabout-api"
namespace: "default"
labels: {
app: "scout"
tier: "frontend"
}
}
# Deployment spec
spec: {
replicas: 2
container: {
image: "intellect:5.10.5"
port: 3000
resources: {
cpu_limit: "1000m"
memory_limit: "256Mi"
}
}
health_check: {
path: "/healthz"
interval: 15
timeout: 5
}
}
}