c979579c50
The vector -> JetStream -> ClickHouse chain duplicated storage the in-cluster VictoriaLogs already provides, and its NATS StatefulSet keeps the logging Application from syncing. - collect pod logs with a VLAgent DaemonSet remote-writing to vlinsert-logs - delete vector, NATS, ClickHouse, logarchiver and logviewer - drop clickhouse-system from the logging ApplicationSet --------- Co-authored-by: BenVincent <benvin@main.unkin.net> Reviewed-on: #506 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
33 lines
772 B
YAML
33 lines
772 B
YAML
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: logging-apps
|
|
namespace: argocd
|
|
spec:
|
|
generators:
|
|
- git:
|
|
repoURL: https://git.unkin.net/unkin/argocd-apps
|
|
revision: HEAD
|
|
directories:
|
|
- path: apps/overlays/*/logging
|
|
template:
|
|
metadata:
|
|
name: 'logging-{{path[3]}}'
|
|
spec:
|
|
project: logging
|
|
source:
|
|
repoURL: https://git.unkin.net/unkin/argocd-apps
|
|
targetRevision: HEAD
|
|
path: '{{path}}'
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: '{{path[3]}}'
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- ServerSideApply=true
|
|
- CreateNamespace=false
|