change name of deployments

Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent 81852ee7
Pipeline #19396 failed with stages
in 2 minutes and 48 seconds
apiVersion: apps/v1
kind: Deployment
metadata:
name: iiif-manifest-ingester
name: pp-iiif-manifest-ingester-v2
namespace: memobase
labels:
app: iiif-manifest-ingester-app
app: pp-iiif-manifest-ingester-v2-app
spec:
selector:
matchLabels:
app: iiif-manifest-ingester-app
app: iiif-manifest-ingester-v2-app
replicas: 1
template:
metadata:
labels:
app: iiif-manifest-ingester-app
app: iiif-manifest-ingester-v2-app
tier: web
spec:
containers:
......@@ -31,7 +31,7 @@ spec:
memory: "1Gi"
env:
- name: MARIADB_HOST
value: "jdbc:mariadb://mb-db1.memobase.unibas.ch:3306/medienserver"
value: "jdbc:mariadb://mb-db1.memobase.unibas.ch:3306/medienserver_test"
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
......@@ -51,6 +51,4 @@ spec:
value: iiif-manifests-v2
- name: TOPIC_PROCESS
value: postprocessing-reporting
restartPolicy: Always
apiVersion: apps/v1
kind: Deployment
metadata:
name: iiif-manifest-ingester
name: pp-iiif-manifest-ingester-v3
namespace: memobase
labels:
app: iiif-manifest-ingester-app
app: pp-iiif-manifest-ingester-v3-app
spec:
selector:
matchLabels:
app: iiif-manifest-ingester-app
app: pp-iiif-manifest-ingester-v3-app
replicas: 1
template:
metadata:
labels:
app: iiif-manifest-ingester-app
app: pp-iiif-manifest-ingester-v3-app
tier: web
spec:
containers:
- name: iiif-manifest-ingester-container
- name: pp-iiif-manifest-ingester-container-v3
image: cr.gitlab.switch.ch/memoriav/memobase-2020/services/postprocessing/iiif-manifest-ingester:latest
imagePullPolicy: Always
command: ["java"]
args: ["-Xms128m", "-Xmx1g", "-jar", "/app/app.jar"]
command: [ "java" ]
args: [ "-Xms128m", "-Xmx1g", "-jar", "/app/app.jar" ]
resources:
requests:
cpu: "0.2"
......@@ -31,7 +31,7 @@ spec:
memory: "1Gi"
env:
- name: MARIADB_HOST
value: "jdbc:mariadb://mb-db1.memobase.unibas.ch:3306/medienserver"
value: "jdbc:mariadb://mb-db1.memobase.unibas.ch:3306/medienserver_test"
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
......@@ -51,6 +51,4 @@ spec:
value: iiif-manifests-v3
- name: TOPIC_PROCESS
value: postprocessing-reporting
restartPolicy: Always
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment