Skip to content

Commit

Permalink
Add fix to sending log to OVH
Browse files Browse the repository at this point in the history
  • Loading branch information
titigmr committed May 31, 2023
1 parent e84a4fa commit 9b3700d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions infra/kube/basegun/templates/backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ spec:
httpGet:
path: /
port: api
volumeMounts:
- name: logs
mountPath: /tmp/log/basegun/
- name: filebeat
imagePullPolicy: {{ .Values.backend.logs.pullPolicy }}
image: "{{ .Values.backend.logs.repository }}:{{ .Values.backend.logs.tag }}"
Expand Down
2 changes: 1 addition & 1 deletion infra/kube/basegun/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
data:
WORKSPACE: {{ .Values.backend.config.workspace }}
PATH_IMGS: {{ .Values.backend.config.path_imgs }}
PATH_LOGS: /tmp/log/basegun/log.json
PATH_LOGS: /tmp/log/basegun/
---
apiVersion: v1
kind: ConfigMap
Expand Down
2 changes: 1 addition & 1 deletion infra/kube/basegun/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ serviceAccount:
name: ""
# Config for backend
backend:
replicaCount: 3
replicaCount: 1
image:
repository: ghcr.io/datalab-mi/basegun/basegun-backend
pullPolicy: IfNotPresent
Expand Down
2 changes: 1 addition & 1 deletion infra/traefik/conf/dynamic_conf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ http:
web:
loadBalancer:
servers:
- url: https://basegun-prod.c5.numerique-interieur.com
- url: http://localhost:8080

0 comments on commit 9b3700d

Please sign in to comment.