ceph-csi/vendor/k8s.io/kubernetes/hack/testdata/scale-deploy-2.yaml

26 lines
447 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
run: hello
name: scale-2
spec:
replicas: 1
selector:
matchLabels:
run: hello
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
labels:
run: hello
spec:
containers:
- image: aronchick/hello-node:2.0
imagePullPolicy: IfNotPresent
name: hello