Skip to content
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

feat/99 sidecar logging chart #105

Merged
merged 13 commits into from
Jan 17, 2025
Merged

feat/99 sidecar logging chart #105

merged 13 commits into from
Jan 17, 2025

Conversation

joshgamache
Copy link
Contributor

@joshgamache joshgamache commented Jan 15, 2025

Addresses #99. Based heavily on the work that @ayeshmcg did in bcgov/cas-cif#1926. This Library chart is made to be imported into our other deployments and uses two {{- include ...}} blocks (one with parameters) to add sidecar containers (fluent bit, openshift cli, logrotate) that follow the defined containers OpenShift logs and transmit them to ElasticSearch.

Changes 🚧

  • Added Helm library chart.
    • Service account/binding
    • Config maps
    • Sidecar containers & volume partial templates to include
  • Documentation for usage

To test 🔬

This template was used alongside a Nginx webserver container in a pod, pointed toward a EFK stack deployed into a tools namespace. Logs written out by Nginx were forward to EFK.

@joshgamache joshgamache self-assigned this Jan 15, 2025
@joshgamache joshgamache changed the title Feat/99 sidecar logging chart feat/99 sidecar logging chart Jan 15, 2025
Copy link
Contributor

@pbastia pbastia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me! I don't know enough to see if this will actually work, but once it's merged, it'll get released and we can make adjustments

@pbastia pbastia merged commit 9af88a8 into master Jan 17, 2025
2 checks passed
@pbastia pbastia deleted the feat/99-sidecar-logging-chart branch January 17, 2025 20:37
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