Appearance
640 - K8s Deployment
Kubernetes deployment specification. This is an example of a MAML document.
maml
{
apiVersion: "apps/v1"
kind: "Deployment"
metadata: {
name: "marimba-api"
namespace: "staging"
labels: {
app: "innovation"
tier: "data"
}
}
# Deployment spec
spec: {
replicas: 3
container: {
image: "section:2.8.12"
port: 9090
resources: {
cpu_limit: "1000m"
memory_limit: "512Mi"
}
}
health_check: {
path: "/health"
interval: 10
timeout: 3
}
}
}