-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature request: Support env _ METHOD_ #14
Comments
Just came here to create this exact issue just now and found it created 2 minutes ago :) We deploy grafana as a dependency to kube-prometheus-stack chart, and here is what i changed to make this work in our stack (other users may need to use
Here is the status with this config: |
@bergerx @ThommyH I see, I suppose we could do that but it sorta defeats the purpose of using an operator, which uses a control loop, AKA "a non-terminating loop that regulates the state of a system." If we run one loop and then kill the process, then it's obviously not a control loop... Does the chart allow you to specify a different image for the init container and for the actual running sidecar? |
I checked it already before coming here, it doesn't. |
Seems like our best bet is to go back to |
I've commented on the issue open on the Grafana helm chart since it seems like most of the action is happening there. In the meantime, I'm trying to see if I can fit this use case in kopf-k8s-sidecar but it might prove challenging. |
After trying the latest version of kiwigrid sidecar merged to the Grafana Helm chart today (1.10.0) and seeing that it hung after a couple of hours, I decided to give this a try... To my surprise, it wasn't that difficult to add a separate codepath for the Tentative PR in #16 Have a few details to figure out but the core functionality is 100% working for both Will leave the pod running overnight just to check I didn't somehow affect its stability. |
The PR has been merged. Closing. |
Hi,
thank you for your great work on this project. Like many, we faced issues with kiwigrid/k8s-sidecar loop getting stuck and hence seek for alternatives.
We use it as part of grafana, since it is the default.
For feature matching with kiwigrid we would need the flag _ METHOD_ which allows to run the container once and then exit. In grafana, the same image for init container (fetching datasources) and sidecar (fetching dashboards) is used.
In order to replace it with kopf-k8s-sidecar one need to make a lot of changes and hacks there due to the missing flag here.
The text was updated successfully, but these errors were encountered: