Comments (3)
kubebuilder controller runtime support leader election. Yes, it will be a follower-leader scheme with locks in the config map.
So the user just runs 2 pods of the controller. The controller on startup trying to acquire a lock. If it is acquired than the controller act as a leader. If not it trying to consequently acquire the same lock with delays.
from pyrra.
I'm happy to support this.
Sadly I'm not sure how this would be implemented. Would there be a follower-leader type deployment of the Pyrra controller? Like, the leader fails and the follower takes over?
Feel free to propose changes to the code.
from pyrra.
You can find more info here: https://book.kubebuilder.io/faq.html?highlight=leaderElection#after-make-run-i-see-errors-like-unable-to-find-leader-election-namespace-not-running-in-cluster
from pyrra.
Related Issues (20)
- Using Kubernetes labels/annotation as Prometheus alert labels and annotations is limiting HOT 4
- 0s burnrate generated HOT 3
- Unexpected grouping for ratios HOT 1
- Issue with Grouping in Latency indicator HOT 3
- Google Managed Prometheus breaks on `partial_reponse` in queries. HOT 2
- Allow customisation of the name of the recording rules HOT 1
- Error Budget showing strange skew HOT 1
- Surface Pyrra version HOT 1
- Feature - Add link to Pyrra in alerts HOT 1
- Grafana Dashboard HOT 5
- Feature: Allow customisation of warning/critical alert levels HOT 2
- [Feature] Link Grafana Dashboard to Pyrra equivalent HOT 1
- Environment variables support in Pyrra HOT 1
- SLO dependencies / levels / hierarchy HOT 3
- Custom PropagationLabelsPrefix HOT 2
- No data Budget and Availability HOT 1
- Doubt - Error Budget
- Issue when showing some SLOs (white screen)
- Pyrra causes instability of Prometheus HOT 1
- Fix typo in Kubernetes example readme HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyrra.