diff --git a/otc/observability.think-ahead.cloud/stacks/core/vector.yaml b/otc/observability.think-ahead.cloud/stacks/core/vector.yaml new file mode 100644 index 0000000..139d297 --- /dev/null +++ b/otc/observability.think-ahead.cloud/stacks/core/vector.yaml @@ -0,0 +1,29 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: argocd + namespace: argocd + labels: + env: dev +spec: + project: default + syncPolicy: + automated: + selfHeal: true + syncOptions: + - CreateNamespace=true + retry: + limit: -1 + destination: + name: in-cluster + namespace: observability + sources: + - chart: vector + repoURL: https://helm.vector.dev + targetRevision: 0.43.0 + helm: + valueFiles: + - $values/otc/observability.think-ahead.cloud/stacks/core/vector/values.yaml + - repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/stacks-instances + targetRevision: HEAD + ref: values diff --git a/otc/observability.think-ahead.cloud/stacks/core/vector/values.yaml b/otc/observability.think-ahead.cloud/stacks/core/vector/values.yaml new file mode 100644 index 0000000..7638071 --- /dev/null +++ b/otc/observability.think-ahead.cloud/stacks/core/vector/values.yaml @@ -0,0 +1,54 @@ +# -- Enable deployment of vector +role: Agent +dataDir: /vector-data-dir +resources: {} +args: + - -w + - --config-dir + - /etc/vector/ +containerPorts: + - name: prom-exporter + containerPort: 9090 + protocol: TCP +service: + enabled: false +customConfig: + data_dir: /vector-data-dir + api: + enabled: false + address: 0.0.0.0:8686 + playground: true + sources: + k8s: + type: kubernetes_logs + internal_metrics: + type: internal_metrics + transforms: + parser: + type: remap + inputs: [k8s] + source: | + .log = parse_json(.message) ?? .message + del(.message) + sinks: + exporter: + type: prometheus_exporter + address: 0.0.0.0:9090 + inputs: [internal_metrics] + vlogs: + type: elasticsearch + inputs: [parser] + endpoints: + - http://vlogs-victorialogs:9428/insert/elasticsearch/ + mode: bulk + api_version: v8 + compression: gzip + healthcheck: + enabled: false + request: + headers: + VL-Time-Field: timestamp + VL-Stream-Fields: stream,kubernetes.pod_name,kubernetes.container_name,kubernetes.pod_namespace + VL-Msg-Field: message,msg,_msg,log.msg,log.message,log + AccountID: "0" + ProjectID: "0" \ No newline at end of file diff --git a/otc/observability.think-ahead.cloud/stacks/observability/victoria-k8s-stack/values.yaml b/otc/observability.think-ahead.cloud/stacks/observability/victoria-k8s-stack/values.yaml index 2263f81..145ef52 100644 --- a/otc/observability.think-ahead.cloud/stacks/observability/victoria-k8s-stack/values.yaml +++ b/otc/observability.think-ahead.cloud/stacks/observability/victoria-k8s-stack/values.yaml @@ -866,7 +866,7 @@ defaultDatasources: - name: victoria-logs access: proxy type: VictoriaLogs - url: http://victorialogs-logs:9428 + url: http://vlogs-victorialogs:9428 version: 1 # -- Grafana dependency chart configuration. For possible values refer [here](https://github.com/grafana/helm-charts/tree/main/charts/grafana#configuration) diff --git a/otc/observability.think-ahead.cloud/stacks/otc/ingress-nginx/values.yaml b/otc/observability.think-ahead.cloud/stacks/otc/ingress-nginx/values.yaml index b4ba4f1..4af571a 100644 --- a/otc/observability.think-ahead.cloud/stacks/otc/ingress-nginx/values.yaml +++ b/otc/observability.think-ahead.cloud/stacks/otc/ingress-nginx/values.yaml @@ -8,8 +8,8 @@ controller: annotations: kubernetes.io/elb.class: union kubernetes.io/elb.port: '80' - kubernetes.io/elb.id: ab32d01c-6e6c-4aee-9f62-c1f0a1ccf13b - kubernetes.io/elb.ip: 80.158.20.240 + kubernetes.io/elb.id: d28dfa5d-4967-4f03-9a9a-d96dc5a6fd81 + kubernetes.io/elb.ip: 164.30.14.211 ingressClassResource: name: nginx