-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
kube-prometheus: need to add Toleration to Prometheus #1186
Comments
The antiaffinity should be a good example on how to add these tolerations: The PrometheusSpec allows to set the tolerations directly (same for AlertmanagerSpec): Instead of adding the tolerations to the config you have to merge them with the real Prometheus and Alertmanager objects. Maybe we could also make this an example like antiAffinity, @brancz?! |
@metalmatze I think that's a good idea. Either of you want to create a PR and add a mixin? |
Thanks a lot @metalmatze ...that most definitely gave me a direction on how to proceed, even if I don't know golang, reading the code helped ! @brancz thanks i will try to put something together and submit a PR for it ...but please bare with me here it's gonna be my first one ever, I let you know as soon as I have something |
Very cool. 👍 |
wow ...there's a channel for that !? that's dope !! will do. Thanks guys Cheers |
We're always very happy to assist new-comers, please feel free to ask any question 🙂 . |
Hello Guys, I am trying to increase the retention and use the pvc (persistent volume) for prometheus. And we do have example for it. When i copy and pasted that on the jsonnet/kube-prometheus folder and running the build.sh its giving the error:
|
You need to have the |
@metalmatze : Thanks for the prompt reply.
Now from where i can confirm that the retention and pvc has been added in the manifests so that i can apply on the cluster. Apology, but new to jsonnet and kube-prometheus both. |
No worries. Glad it works now! |
@metalmatze: I have not applied in the cluster, just wanted to know where can i confirm the retention period and pvc configuration has been modified before i apply. Also if we have any slack channel for this kind of issue, can you please provide the URL to join that. |
Yes. We have. There's #prometheus-operator in the Kubernetes Slack. See you there! :) |
Can you please provide the link, while searching the workspace kubernetes.slack.com, its asked to login and i am using my github registered email to do that or any other way to login to the kubernetes slack |
Please ignore i was able to join the slack now |
This issue has been automatically marked as stale because it has not had any activity in last 60d. Thank you for your contributions. |
Hi,
I'am trying to add a toleration on prometheus, to make sure it's scheduled on specific nodes on the Kubernetes cluster. Those nodes are specifically provision For Prometheus hence the need for "Toleration" and "NodeAffinity" because those nodes have been tainted.
I'm not really sure I'm doing the right thing here as I'm new to Jsonnet and all that Jazz . but I'm looking forward to learn Jsonnet syntaxe and concept & use it more and more in my project. How would you go about defining Toleration and Affinity in this contexte ?
cheers
The text was updated successfully, but these errors were encountered: