mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-11 00:40:23 +00:00
26 lines
447 B
YAML
26 lines
447 B
YAML
|
apiVersion: extensions/v1beta1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
labels:
|
||
|
run: hello
|
||
|
name: scale-1
|
||
|
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
|