add diags services
This commit is contained in:
16
k8s_config/dev/diags/config.yaml
Normal file
16
k8s_config/dev/diags/config.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
dev_env: true
|
||||
|
||||
storage:
|
||||
db:
|
||||
type: mongodb
|
||||
mongodb:
|
||||
host: mongodb
|
||||
port: 27017
|
||||
db_name: coopgo_platform
|
||||
collections:
|
||||
events: diags
|
||||
|
||||
services:
|
||||
grpc:
|
||||
port: 8080
|
||||
31
k8s_config/dev/diags/deployment.yaml
Normal file
31
k8s_config/dev/diags/deployment.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: diags
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: diags
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: diags
|
||||
spec:
|
||||
containers:
|
||||
- name: diags
|
||||
image: git.coopgo.io/coopgo-platform/diags:dev
|
||||
ports:
|
||||
- name: grpc
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: diags-config-volume
|
||||
mountPath: /config.yaml
|
||||
subPath: config.yaml
|
||||
volumes:
|
||||
- name: diags-config-volume
|
||||
configMap:
|
||||
name: diags-config
|
||||
items:
|
||||
- key: config.yaml
|
||||
path: config.yaml
|
||||
8
k8s_config/dev/diags/kustomization.yaml
Normal file
8
k8s_config/dev/diags/kustomization.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: diags-config
|
||||
files:
|
||||
- config.yaml
|
||||
11
k8s_config/dev/diags/service.yaml
Normal file
11
k8s_config/dev/diags/service.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: diags
|
||||
spec:
|
||||
selector:
|
||||
app: diags
|
||||
ports:
|
||||
- port: 8080
|
||||
name: grpc
|
||||
targetPort: 8080
|
||||
@@ -6,6 +6,7 @@ resources:
|
||||
- ./fleets/
|
||||
- ./groups-management/
|
||||
- ./mobility-accounts/
|
||||
- ./diags/
|
||||
|
||||
# Apps
|
||||
- ./parcoursmob/
|
||||
|
||||
@@ -30,6 +30,8 @@ services:
|
||||
dial: fleets:8080
|
||||
agenda:
|
||||
dial: agenda:8080
|
||||
diags:
|
||||
dial: diags:8080
|
||||
navitia:
|
||||
api_key: abcd
|
||||
|
||||
@@ -97,4 +99,7 @@ modules:
|
||||
- name: Auto-école sociale (classique)
|
||||
- name: Information collective
|
||||
- name: Autre
|
||||
|
||||
documents_types:
|
||||
- notice
|
||||
- pieces
|
||||
- other
|
||||
|
||||
@@ -13,7 +13,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: parcoursmob
|
||||
image: git.coopgo.io/coopgo-apps/parcoursmob
|
||||
image: git.coopgo.io/coopgo-apps/parcoursmob:dev
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
|
||||
Reference in New Issue
Block a user