stackabletech / druid-operator

An Operator for Apache Druid for Stackable Data Platform
Other
10 stars 0 forks source link

Use a ConfigMap for the prepared logs in the logging test #580

Closed siegfriedweber closed 4 months ago

siegfriedweber commented 4 months ago

Description

Use a ConfigMap for the prepared logs in the logging test

kubectl cp was used to directly copy the prepared logs into the Druid broker pod, but this fails if the pod is restarting. This pull request creates a ConfigMap with the prepared logs and mounts it into the log path of the vector container.

Definition of Done Checklist

# Author
- [x] Integration tests passed (for non trivial changes)
# Reviewer
- [ ] Code contains useful comments
- [ ] Code contains useful logging statements
- [ ] (Integration-)Test cases added
- [ ] Documentation added or updated. Follows the [style guide](https://docs.stackable.tech/home/nightly/contributor/docs-style-guide).
- [ ] Changelog updated
- [ ] Cargo.toml only contains references to git tags (not specific commits or branches)
# Acceptance
- [ ] Feature Tracker has been updated
- [ ] Proper release label has been added
- [ ] [Roadmap](https://github.com/orgs/stackabletech/projects/25/views/1) has been updated
siegfriedweber commented 4 months ago

:white_check_mark: https://ci.stackable.tech/view/02%20Operator%20Tests%20(custom)/job/druid-operator-it-custom/159/

OpenSearch Dashboard with prepared logs&_a=(columns:!(level,namespace,cluster,pod,container,message,t2_cluster),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:t2-product,key:t2_cluster,negate:!f,params:(query:efc9c76c-42d7-4c01-ba85-e93b1fe68e6b),type:phrase),query:(match_phrase:(t2_cluster:efc9c76c-42d7-4c01-ba85-e93b1fe68e6b))),('$state':(store:appState),meta:(alias:!n,disabled:!f,index:t2-product,key:container,negate:!f,params:(query:prepared-logs),type:phrase),query:(match_phrase:(container:prepared-logs)))),index:t2-product,interval:auto,query:(language:kuery,query:''),sort:!()))