rollouts/test/e2e/test_data/batchrelease/deployment.yaml

31 lines
584 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: sample
labels:
app: busybox
spec:
replicas: 5
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
selector:
matchLabels:
app: busybox
template:
metadata:
labels:
app: busybox
spec:
containers:
- name: busybox
image: busybox:1.32
imagePullPolicy: IfNotPresent
command: ["/bin/sh", "-c", "sleep 10000"]
resources:
limits:
memory: "10Mi"
cpu: "10m"