-
Notifications
You must be signed in to change notification settings - Fork 0
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
Questions and more Documentation needed #95
Comments
Hey @VincentS, thanks for opening this issue, we are glad that you like it :).
Currently only logs are supported, but we are planning to support other telemetry signals. Would you mind telling which one would be your most needed?
The original idea was that The documentation is currently being revamped, is there anything that you would like to see in the docs specifically? |
Thank you for your thorough answers @OverOrion :)
For us the highest priority would be metrics and then traces.
The main goal for us is to provide logs / metrics and later traces of shared components in Kubernetes e.g. K8s API Server, Nginx ingress, External DNS, External Secrets Operator, ... where each team receives for their namespace relevant metrics / logs / traces (filtered with some config or enforced through e.g. self defined Kyverno rules) and can send them to the Observability SaaS provider of their choice.
If you open a public PR for it I am also happy to contribute to it. Code would be also possible but some kind of roadmap or transparency what is worked on / planned would be great to drive the project in a common direction that also aligns with your vision. |
This is something that can be built any time I beleive. Tenant is a necessary building block, but nothing stops anyone to generate it automatically using some sort of automation or a policy engine for example. We could also consider to build something like that, but I'm wondering how frequent this use case is among multi-tenant platforms (Capsule and Rancher for example implement multi-namespace tenants). Have you considered implementing something like that using kyverno, as you've just mentioned that tool specifically? (create a tenant automatically for each namespace) |
@VincentS do you use an existing product or built your own in-house solution for multi-tenancy? |
Sorry for the delay just got back from vacation. We use a self build solution based on AKS where tenant == namespace. Ideally each tenant can subscribe to metrics / traces / logs that is related to the specific namespace they are in for globally shared components like:
So we have to define selectors for each of these tools + namespace annotation to select the target namespace where the observability signals should be rooted to. We try to have a "multi cast" approach for it instead that each product deploys their own scraping for these tools / endpoint and congest the API of e.g. the kube API Server by having 100 + products hitting the same endpoint in short intervalls. |
That's a very good use case that we are going to address. For Nginx ingress logs we already have a working solution, but for the others we don't have that yet. We have some other priorities, but happy to discuss further over slack or discord: https://kube-logging.dev/docs/community/ |
I really like the potential of the project. I have several questions regarding it:
In the description you say that you can route telemetry data (logs, metrics and traces) but in the CRDs I can see
logSourceNamespaceSelectors
how can I route other telemetry signals ?In our scenario we have multi tenancy by namespace on the K8s cluster. Is it possible to have the
Tenants CRD
instance optional and just generate it automatically when aSubscription CRD
instance is created withSubscription CRD
Namespace is equal to the selected namespace in the generatedTenants CRD
or some form of additional abstraction for it instead of creating a Tenant for each namespace on the cluster ?The text was updated successfully, but these errors were encountered: