-
Notifications
You must be signed in to change notification settings - Fork 74
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
TODOS #1
Comments
@varyumin do you have any ideas about this one?
I started reading about what happens if we increase replicas to 2 in the statefulset, but I'm not sure it's suitable in this case, or at least I'm not sure of the other config changes we'd need to make... |
helm/helm#5451 opened for the fifth item. |
#2 Yes I have ideas and yes we need to try set up replicaset =2. When we will update StatefulSet, Kubernetes turn off one old netdata-master pod(instance) and exclude from service balancer. After |
#2 Do you know URL for netdata, which answer 200 if netdata is ready and healthy and 50x if unhealthy. i could set liveness and readiness prob |
I've never received 50x from netdata, but you could use |
Thx. I will try today. |
For the replica, the things we'll need to test are:
If we run into trouble, we could alternatively have both masters alive, with one replicating metrics to the other. It might be trickier. Let's see what you come up with first! :) |
Fifth item done. |
Based on the work on the configurations, packaging doesn't make sense at this point, so I removed the third item. Reasoning: As a result, I'm inclined to leave it as is, with the instruction to download it and let the users modify the statefulset, the daemonset and the configmap as they please. If there's an alternative I am not aware of, I'd appreciate the feedback. Once we're confident we have a relatively stable chart, we'll of course try to get it in the official helm repo, but that's not what |
@varyumin, regarding the second replica and handling the persistent volumes, I read a concerning article yesterday. What's your take on it? Could we run into trouble? |
Regarding this:
We have two things we need to do, neither of which is related to the helm chart:
|
@varyumin if you don't have time for the replicas, can you point me to the right direction so I can give it a shot? I have planned to complete this work by next Wednesday. |
Hi, @cakrit ! I had some day-off and I was journeying. |
If we can use a sidecar, at first we need to write mutating hook (https://medium.com/dowjones/how-did-that-sidecar-get-there-4dcd73f1a0a4) or controller |
From the documentation I understood that it's only statefulsets that use persistent volumes. Do you have a reference for using persistent volumes with daemonsets?
No, this would be problematic. There's an assumption that each netdata instance maintains its own DB and its the only one writing to it. Our metrics DB is internal and we're building a new one to solve some issues we have. It looks like it will be difficult and potentially dangerous. We could possibly define a Thanks for the sidecar info, I'll study it more later. We will first focus on autodiscovery of the available TCP endpoints (but it has little to do with the helmchart itself). |
Oh, I don't know if you noticed, but I did put a |
I'm leaving the timing issue and closing this one. Now that the slaves have a liveness probe, they also take ~1m to come down and up, so this time seems to be necessary. We can revisit in the future if needed. |
Package and share properly, e.g. as shown hereThe text was updated successfully, but these errors were encountered: