Do not explicitly set replica count
This commit is contained in:
parent
5fdfc8a425
commit
5813cc1370
@ -15,7 +15,6 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
role: web
|
role: web
|
||||||
replicas: 4
|
|
||||||
strategy:
|
strategy:
|
||||||
type: RollingUpdate
|
type: RollingUpdate
|
||||||
template:
|
template:
|
||||||
@ -169,7 +168,6 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
role: worker
|
role: worker
|
||||||
replicas: 2
|
|
||||||
strategy:
|
strategy:
|
||||||
type: RollingUpdate
|
type: RollingUpdate
|
||||||
template:
|
template:
|
||||||
|
@ -5,7 +5,6 @@ resources:
|
|||||||
- namespace.yml
|
- namespace.yml
|
||||||
- reset-cron-job.yml
|
- reset-cron-job.yml
|
||||||
patchesStrategicMerge:
|
patchesStrategicMerge:
|
||||||
- replica_count.yml
|
|
||||||
- ports.yml
|
- ports.yml
|
||||||
- envvars.yml
|
- envvars.yml
|
||||||
- flex_vol.yml
|
- flex_vol.yml
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: extensions/v1beta1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: atst
|
|
||||||
spec:
|
|
||||||
replicas: 2
|
|
||||||
---
|
|
||||||
apiVersion: extensions/v1beta1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: atst-worker
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
@ -5,7 +5,6 @@ resources:
|
|||||||
- namespace.yml
|
- namespace.yml
|
||||||
- reset-cron-job.yml
|
- reset-cron-job.yml
|
||||||
patchesStrategicMerge:
|
patchesStrategicMerge:
|
||||||
- replica_count.yml
|
|
||||||
- ports.yml
|
- ports.yml
|
||||||
- envvars.yml
|
- envvars.yml
|
||||||
- flex_vol.yml
|
- flex_vol.yml
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: extensions/v1beta1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: atst
|
|
||||||
spec:
|
|
||||||
replicas: 2
|
|
||||||
---
|
|
||||||
apiVersion: extensions/v1beta1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: atst-worker
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
Loading…
x
Reference in New Issue
Block a user