Document retainKeys patch strategy

This commit is contained in:
Philippe Martin
2020-05-31 09:20:06 +02:00
parent 15f44cc421
commit a478fa6610
2 changed files with 132 additions and 0 deletions
@@ -0,0 +1,19 @@
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
name: retainkeys-demo
spec:
selector:
matchLabels:
app: nginx
strategy:
rollingUpdate:
maxSurge: 30%
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: retainkeys-demo-ctr
image: nginx