Skip to content

Instantly share code, notes, and snippets.

@devinburnette
Created March 4, 2019 01:33
Show Gist options
  • Save devinburnette/70b62ad8e8cc6e2c0127933982551e41 to your computer and use it in GitHub Desktop.
Save devinburnette/70b62ad8e8cc6e2c0127933982551e41 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
run: nginx
name: nginx
namespace: default
spec:
replicas: 3
selector:
matchLabels:
run: nginx
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
run: nginx
spec:
containers:
- image: nginx:1.10
imagePullPolicy: IfNotPresent
name: nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment