stackabletech / hbase-operator

Kubernetes Operator for Apache HBase built by Stackable for the Stackable Data Platform
https://stackable.tech
Other
16 stars 4 forks source link

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

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 HBase master 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/hbase-operator-it-custom/158/

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:'32d06a3e-b5a7-4f3c-a81b-6cb265255c3e'),type:phrase),query:(match_phrase:(t2_cluster:'32d06a3e-b5a7-4f3c-a81b-6cb265255c3e'))),('$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:!()))