8000 feat: vector logs aggregator in k8s by tedim52 · Pull Request #2669 · kurtosis-tech/kurtosis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: vector logs aggregator in k8s #2669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 124 commits into from
Mar 18, 2025
Merged

feat: vector logs aggregator in k8s #2669

merged 124 commits into from
Mar 18, 2025

Conversation

tedim52
Copy link
Collaborator
@tedim52 tedim52 commented Mar 4, 2025

Description

This PR adds a vector logs aggregator to the kubernetes backend and has it output logs to a shared volume, mouned to the engine pod.

Additionally, it migrates the k8s backend to use the PersistentVolumeLogsDatabaseClient so now both Docker and K8s are streaming from a persistent volume containing logs aggregated by Vector.

To use kubernetes logging, users will need to use the v4 config and specify the engine node they'd like the engine to be placed on. Both the aggregator and engine will be placed on this node every kurtosis engine start so the engine has access to the same logs db.

config-version: 4
should-send-metrics: true
kurtosis-clusters:
  ...
  minikube:
    type: "kubernetes"
    config:
      kubernetes-cluster-name: "minikube"
      enclave-size-in-megabytes: 10
      storage-class: "standard"
      engine-node-name: "minikube-m02"
  ...

Is this change user facing?

YES

References

#2653
#2663

@tedim52 tedim52 changed the base branch from main to tedi/vector-k8s March 4, 2025 22:20
@tedim52 tedim52 marked this pull request as draft March 4, 2025 22:21
Copy link
cloudflare-workers-and-pages bot commented Mar 18, 2025

Deploying kurtosis with  Cloudflare Pages  Cloudflare Pages

Latest commit: cedba5d
Status: ✅  Deploy successful!
Preview URL: https://4b614d88.kurtosis-docs.pages.dev
Branch Preview URL: https://tedi-vector-k8s-again.kurtosis-docs.pages.dev

View logs

@tedim52 tedim52 added this pull request to the merge queue Mar 18, 2025
@tedim52 tedim52 removed this pull request from the merge queue due to a manual request Mar 18, 2025
@tedim52 tedim52 added this pull request to the merge queue Mar 18, 2025
Merged via the queue into main with commit 106e4a2 Mar 18, 2025
52 checks passed
@tedim52 tedim52 deleted the tedi/vector-k8s-again branch March 18, 2025 19:39
github-merge-queue bot pushed a commit that referenced this pull request Mar 20, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.6.0](1.5.0...1.6.0)
(2025-03-18)


### Features

* add resources to logs collector daemonset for k8s api server access
([#2663](#2663))
([5ae473c](5ae473c))
* export service logs (Docker)
([#2668](#2668))
([1651249](1651249))
* fluent bit logs collector in k8s backend
([#2653](#2653))
([05e3813](05e3813))
* vector logs aggregator in k8s
([#2669](#2669))
([106e4a2](106e4a2))


### Bug Fixes

* exit codes on tasks
([#2654](#2654))
([ffd86b8](ffd86b8))
* push ci docs
([#2680](#2680))
([61857f0](61857f0))
* stdout for file inspect
([#2658](#2658))
([6ae51a3](6ae51a3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0