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

Create events from SystemLogger #338

Open
burmanm opened this issue Jun 1, 2022 · 2 comments
Open

Create events from SystemLogger #338

burmanm opened this issue Jun 1, 2022 · 2 comments
Labels
assess Issues in the state 'assess' enhancement New feature or request zh:Assess/Investigate

Comments

@burmanm
Copy link
Contributor

burmanm commented Jun 1, 2022

What is missing?
If we have issues in the running pod which are visible from the Cassandra logs, we could create events directly from the SystemLogger which we deploy as a sidecar to every Cassandra pod. This ensures that the log processing will scale no matter how many nodes the cluster has (assuming low amount of events are generated).

We could still output the logs to the stdin also, with possibility of more features for filtering. However, I don't think we should necessary implement these features ourselves (the parsing language, tailing etc), instead we could use a logshipper such as Vector (but not necessarily Vector) and then modify the rules to be available in a ConfigMap if user wishes to further use its capabilities in their log shipping requirements.

We probably need to create the Kubernetes events sink ourselves as not many products have that. Or just to create the events, we can add a webhook to cass-operator and call it with the service name - however this then requires that cass-operator does not become the bottleneck in large clusters and that it is always available (or we need to queue on the sending side + throttling etc).

k8ssandra/management-api-for-apache-cassandra#193

Why do we need it?

Environment

  • Cass Operator version:

    Insert image tag or Git SHA here

    **Anything else we need to know?**:

┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: CASS-42

@burmanm burmanm added the enhancement New feature or request label Jun 1, 2022
@sync-by-unito sync-by-unito bot changed the title Create events from SystemLogger K8SSAND-1534 ⁃ Create events from SystemLogger Jun 1, 2022
@jsanda
Copy link
Contributor

jsanda commented Jun 7, 2022

Isn't this a duplicate of k8ssandra/management-api-for-apache-cassandra#193?

@burmanm
Copy link
Contributor Author

burmanm commented Oct 11, 2022 via email

@adejanovski adejanovski moved this to Assess/Investigate in K8ssandra Nov 8, 2022
@adejanovski adejanovski added the assess Issues in the state 'assess' label Sep 3, 2024
@sync-by-unito sync-by-unito bot changed the title K8SSAND-1534 ⁃ Create events from SystemLogger Create events from SystemLogger Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assess Issues in the state 'assess' enhancement New feature or request zh:Assess/Investigate
Projects
No open projects
Status: Assess/Investigate
Development

No branches or pull requests

3 participants