Skip to content
Snippets Groups Projects
Commit c09c9523 authored by Mikaël Barbero's avatar Mikaël Barbero :dagger: Committed by Mikaël Barbero
Browse files

Fix k8s deployment files


Signed-off-by: default avatarMikaël Barbero <mikael.barbero@eclipse-foundation.org>
parent a15e463b
No related branches found
No related tags found
No related merge requests found
...@@ -2,11 +2,12 @@ apiVersion: apps/v1 ...@@ -2,11 +2,12 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: marketplace-rest-api name: marketplace-rest-api
namespace: webapps namespace: foundation-internal-webdev-apps
spec: spec:
selector: selector:
matchLabels: matchLabels:
app: marketplace-rest-api app: marketplace-rest-api
environment: production
replicas: 2 replicas: 2
template: template:
metadata: metadata:
...@@ -32,7 +33,7 @@ apiVersion: "v1" ...@@ -32,7 +33,7 @@ apiVersion: "v1"
kind: "Service" kind: "Service"
metadata: metadata:
name: marketplace-rest-api name: marketplace-rest-api
namespace: webapps namespace: foundation-internal-webdev-apps
spec: spec:
ports: ports:
- name: "http" - name: "http"
...@@ -47,7 +48,7 @@ apiVersion: "route.openshift.io/v1" ...@@ -47,7 +48,7 @@ apiVersion: "route.openshift.io/v1"
kind: "Route" kind: "Route"
metadata: metadata:
name: marketplace-rest-api name: marketplace-rest-api
namespace: webapps namespace: foundation-internal-webdev-apps
annotations: annotations:
haproxy.router.openshift.io/timeout: 20s haproxy.router.openshift.io/timeout: 20s
spec: spec:
......
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: marketplace-rest-api name: staging-marketplace-rest-api
namespace: webapps namespace: foundation-internal-webdev-apps
spec: spec:
selector: selector:
matchLabels: matchLabels:
app: marketplace-rest-api app: marketplace-rest-api
environment: staging
replicas: 2 replicas: 2
template: template:
metadata: metadata:
...@@ -31,8 +32,8 @@ spec: ...@@ -31,8 +32,8 @@ spec:
apiVersion: "v1" apiVersion: "v1"
kind: "Service" kind: "Service"
metadata: metadata:
name: marketplace-rest-api name: staging-marketplace-rest-api
namespace: webapps namespace: foundation-internal-webdev-apps
spec: spec:
ports: ports:
- name: "http" - name: "http"
...@@ -46,8 +47,8 @@ spec: ...@@ -46,8 +47,8 @@ spec:
apiVersion: "route.openshift.io/v1" apiVersion: "route.openshift.io/v1"
kind: "Route" kind: "Route"
metadata: metadata:
name: marketplace-rest-api name: staging-marketplace-rest-api
namespace: webapps namespace: foundation-internal-webdev-apps
annotations: annotations:
haproxy.router.openshift.io/timeout: 20s haproxy.router.openshift.io/timeout: 20s
spec: spec:
...@@ -60,5 +61,5 @@ spec: ...@@ -60,5 +61,5 @@ spec:
termination: "edge" termination: "edge"
to: to:
kind: "Service" kind: "Service"
name: marketplace-rest-api name: staging-marketplace-rest-api
weight: 100 weight: 100
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment