Skip to content

Commit 0cbf852

Browse files
Only capture logs in phoenix ns, also drop all apps except workflows
1 parent 135ef76 commit 0cbf852

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

api/kubernetes/deploy_via_helm-dev.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,38 @@ grafana:
585585
- ReadWriteOnce
586586
size: "${LOKI_PERSISTENCE_MEMORY:-4Gi}"
587587
promtail:
588+
config:
589+
snippets:
590+
pipelineStages:
591+
- cri: {}
592+
- match:
593+
pipeline_name: "keep only ${NAMESPACE} ns"
594+
selector: '{namespace!="${NAMESPACE}"}'
595+
action: drop
596+
- match:
597+
pipeline_name: "drop argo server"
598+
selector: '{app="argo-workflows-server"}'
599+
action: drop
600+
- match:
601+
pipeline_name: "drop argo controller"
602+
selector: '{app="argo-workflows-workflow-controller"}'
603+
action: drop
604+
- match:
605+
pipeline_name: "drop redis"
606+
selector: '{app="redis"}'
607+
action: drop
608+
- match:
609+
pipeline_name: "drop minio"
610+
selector: '{app="minio"}'
611+
action: drop
612+
- match:
613+
pipeline_name: "drop postgresql"
614+
selector: '{app="postgresql"}'
615+
action: drop
616+
- match:
617+
pipeline_name: "drop cosmotech-api"
618+
selector: '{app="cosmotech-api"}'
619+
action: drop
588620
tolerations:
589621
- effect: NoSchedule
590622
operator: Exists

0 commit comments

Comments
 (0)