feat: refactor apps
This commit is contained in:
@@ -4,13 +4,11 @@ s3-exporter:
|
||||
type: deployment
|
||||
replicas: 1
|
||||
strategy: Recreate
|
||||
revisionHistoryLimit: 3
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: molu8bits/s3bucket_exporter
|
||||
tag: 1.0.2
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 1.0.2@sha256:75fc839c5f12cdbf20babab534959c96356b4483743e730409132bbda6944505
|
||||
env:
|
||||
- name: S3_NAME
|
||||
value: digital-ocean
|
||||
@@ -37,19 +35,17 @@ s3-exporter:
|
||||
value: false
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
cpu: 1m
|
||||
memory: 40Mi
|
||||
garage-local:
|
||||
type: deployment
|
||||
replicas: 1
|
||||
strategy: Recreate
|
||||
revisionHistoryLimit: 3
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: molu8bits/s3bucket_exporter
|
||||
tag: 1.0.2
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 1.0.2@sha256:75fc839c5f12cdbf20babab534959c96356b4483743e730409132bbda6944505
|
||||
env:
|
||||
- name: S3_NAME
|
||||
value: garage-local
|
||||
@@ -73,19 +69,17 @@ s3-exporter:
|
||||
value: true
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
cpu: 1m
|
||||
memory: 40Mi
|
||||
garage-remote:
|
||||
type: deployment
|
||||
replicas: 1
|
||||
strategy: Recreate
|
||||
revisionHistoryLimit: 3
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: molu8bits/s3bucket_exporter
|
||||
tag: 1.0.2
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 1.0.2@sha256:75fc839c5f12cdbf20babab534959c96356b4483743e730409132bbda6944505
|
||||
env:
|
||||
- name: S3_NAME
|
||||
value: garage-remote
|
||||
@@ -109,8 +103,8 @@ s3-exporter:
|
||||
value: true
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
cpu: 1m
|
||||
memory: 40Mi
|
||||
service:
|
||||
digital-ocean:
|
||||
controller: digital-ocean
|
||||
@@ -118,21 +112,18 @@ s3-exporter:
|
||||
metrics:
|
||||
port: 9655
|
||||
targetPort: 9655
|
||||
protocol: TCP
|
||||
garage-local:
|
||||
controller: garage-local
|
||||
ports:
|
||||
metrics:
|
||||
port: 9655
|
||||
targetPort: 9655
|
||||
protocol: TCP
|
||||
garage-remote:
|
||||
controller: garage-remote
|
||||
ports:
|
||||
metrics:
|
||||
port: 9655
|
||||
targetPort: 9655
|
||||
protocol: TCP
|
||||
serviceMonitor:
|
||||
digital-ocean:
|
||||
selector:
|
||||
|
||||
Reference in New Issue
Block a user