René's URL Explorer Experiment


Title: Measure each host's fitness to hold an etcd vote and report a role controller's decisions in dry-run · Issue #182 · ExaDev/github-runner · GitHub

Open Graph Title: Measure each host's fitness to hold an etcd vote and report a role controller's decisions in dry-run · Issue #182 · ExaDev/github-runner

X Title: Measure each host's fitness to hold an etcd vote and report a role controller's decisions in dry-run · Issue #182 · ExaDev/github-runner

Description: The role controller of the dynamic regrading epic decides which eligible hosts hold the etcd votes. This sub-issue builds what it decides from, and runs the decision in dry-run only: it reads, computes and reports, and never changes a ro...

Open Graph Description: The role controller of the dynamic regrading epic decides which eligible hosts hold the etcd votes. This sub-issue builds what it decides from, and runs the decision in dry-run only: it reads, comp...

X Description: The role controller of the dynamic regrading epic decides which eligible hosts hold the etcd votes. This sub-issue builds what it decides from, and runs the decision in dry-run only: it reads, comp...

Opengraph URL: https://github.com/ExaDev/github-runner/issues/182

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Measure each host's fitness to hold an etcd vote and report a role controller's decisions in dry-run","articleBody":"The role controller of the dynamic regrading epic decides which eligible hosts hold the etcd votes. This sub-issue builds what it decides from, and runs the decision in dry-run only: it reads, computes and reports, and never changes a role. It needs no other sub-issue and changes no membership, so it can run on a live cluster as soon as it ships.\n\n**Probe.** A `fleet-role-probe` DaemonSet on every node except etcd-only servers (which have no kubelet; their side is read from their peers), with host networking so it measures the path the node's own etcd and kubelet use (on a Docker node that is the k3s container's network, where the node's Tailscale client lives). Every sample period it records, per node:\n\n- the TCP round trip to every voter's mesh address on the etcd peer port, so loss shows as tail latency rather than being lost;\n- on a voter, etcd's own `etcd_network_peer_round_trip_time_seconds`, `etcd_disk_wal_fsync_duration_seconds`, `etcd_disk_backend_commit_duration_seconds` and `etcd_server_leader_changes_seen_total` from the metrics listener k3s keeps on `127.0.0.1:2381`;\n- on a non-voter, an fdatasync probe in the k3s data directory with the write size etcd's own fio check uses, once per window, never on a voter (whose etcd is measured directly);\n- memory pressure and MemAvailable, read with the regrade core's own functions;\n- the link the default route leaves by: wired or Wi-Fi from `/sys/class/net/\u003ciface>`, `unknown` where the node cannot see the host's interfaces (a Docker VM).\n\nResults go to a ConfigMap per node, in a status shape the controller and the heartbeat read.\n\n**Controller.** A `fleet-role` Deployment in the platform namespace, built and released like `node-recovery`, with `FLEET_ROLE_DRY_RUN=true` by default (the autoscaler's convention) and a `fleet-role-status` ConfigMap the heartbeat republishes beside `autoscaler-status`. Each pass it computes, for every eligible host, fit or unfit and why, and the swap it would make, logging the decision and the reason. Thresholds, all derived:\n\n- round trip: unfit when the p99 to any voter exceeds the election timeout divided by ten (etcd's rule that the election timeout is at least ten round trips); fit for promotion only at or below the election timeout divided by twenty (the 0.5 end of etcd's heartbeat band); the election timeout is the cluster's configured value, or k3s's 1000 ms when unset;\n- disk: WAL fsync p99 under 10 ms and backend commit p99 under 25 ms (etcd's FAQ);\n- memory: never over the regrade limit in the window, and MemAvailable at least etcd's storage quota (2 GiB unless set);\n- stability: no NotReady spell and no k3s restart in the window;\n- window: 100 samples per peer pair, the fewest that give a p99 a sample of its own, at `github_runner_cluster_role_sample_seconds` (15 by default, node-recovery's poll);\n- rank among the fit: wired before Wi-Fi before unknown, then p99 round trip, then fsync.\n\nThe decision rules are the ones the epic states: a swap only when an unpinned voter has been unfit for a whole window and a fit eligible candidate ranks above it, never while any voter is below `full`, not Ready, or etcd reports a learner, an unstarted member or no leader, a target voter count that is odd, at least 3 and at most `github_runner_cluster_max_servers` minus one, and a cooldown of k3s's learner stall time plus one window after any membership change.\n\n**Inventory.** `github_runner_cluster_voter_eligible` and `github_runner_cluster_voter_pinned` per host and `github_runner_cluster_voters` for the group, published as Node labels by the role; the role refuses an even target, a target under 3 or without a place of headroom below `max_servers`, and fewer eligible hosts than the target.\n\nTests: `tests/unit` for every threshold and decision rule against recorded probe output, including the hysteresis band, the window boundary, ties and each refusal. A mesh scenario runs the probe and the controller in dry-run on the three-server cluster, makes one voter slow with `tc netem` on its mesh interface, and checks the controller reports it unfit and names the swap, then pauses a voter and checks it reports that it would not act. Every probe is then run against each real host the fleet marks eligible, in dry-run, and its readings compared with a reading taken by hand on that host (`ip route`, the sysfs entry, `ping`, the etcd metrics), because a stand-in that lacks the real structure hides bugs: a `find -L` over sysfs once passed stand-ins and failed on a real host.\n","author":{"url":"https://github.com/Mearman","@type":"Person","name":"Mearman"},"datePublished":"2026-11-03T07:02:04Z","url":"https://github.com/ExaDev/github-runner/issues/182"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e8b46d4a-f53e-e6e1-32f0-521c1970189d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idED12:A5865:5FD576:830779:6B0076B4
html-safe-nonceb98ff015eb90e7983587f1019caf8dcd56a611e9cb46876b59e405c97a997455
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDEyOkE1ODY1OjVGRDU3Njo4MzA3Nzk6NkIwMDc2QjQiLCJ2aXNpdG9yX2lkIjoiNzMyNjQ4NTkxMTE2NjgwOTc4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacff43afbc9a5afc834465a92e872ffadc5b7ce98f8c8e3388b6e8f78800b0d183
hovercard-subject-tagissue:6177867756
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ExaDev/github-runner/182/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c361539861a9a8745381db45c8211ac7d49da60bbd41b7bab6bbcc5a8c28d3a3/ExaDev/github-runner/issues/182
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c361539861a9a8745381db45c8211ac7d49da60bbd41b7bab6bbcc5a8c28d3a3/ExaDev/github-runner/issues/182
og:image:altThe role controller of the dynamic regrading epic decides which eligible hosts hold the etcd votes. This sub-issue builds what it decides from, and runs the decision in dry-run only: it reads, comp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMearman
hostnamegithub.com
expected-hostnamegithub.com
None75c2b65dd205f26961d0c29afed1a8d0bb7cca9f05780571dfd1ef93eb539d16
turbo-cache-controlno-preview
go-importgithub.com/ExaDev/github-runner git https://github.com/ExaDev/github-runner.git
octolytics-dimension-user_id140118018
octolytics-dimension-user_loginExaDev
octolytics-dimension-repository_id1388126104
octolytics-dimension-repository_nwoExaDev/github-runner
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1388126104
octolytics-dimension-repository_network_root_nwoExaDev/github-runner
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release84e563eb4b55f8fa102f325f117533cee9e3df4a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/ExaDev/github-runner/issues/182#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FExaDev%2Fgithub-runner%2Fissues%2F182
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FExaDev%2Fgithub-runner%2Fissues%2F182
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ExaDev%2Fgithub-runner
Reloadhttps://github.com/ExaDev/github-runner/issues/182
Reloadhttps://github.com/ExaDev/github-runner/issues/182
Reloadhttps://github.com/ExaDev/github-runner/issues/182
ExaDevhttps://github.com/ExaDev
github-runnerhttps://github.com/ExaDev/github-runner
Codehttps://github.com/ExaDev/github-runner
Issues46 (46)https://github.com/ExaDev/github-runner/issues
Pull requests6 (6)https://github.com/ExaDev/github-runner/pulls
Actionshttps://github.com/ExaDev/github-runner/actions
Security and qualityhttps://github.com/ExaDev/github-runner/security
Insightshttps://github.com/ExaDev/github-runner/insights
https://github.com/ExaDev/github-runner
New issuehttps://github.com/login?return_to=https://github.com/ExaDev/github-runner/issues/182
New issuehttps://github.com/login?return_to=https://github.com/ExaDev/github-runner/issues/182
Featurehttps://github.com/ExaDev/github-runner/issues?q=type:"Feature"
Measure each host's fitness to hold an etcd vote and report a role controller's decisions in dry-runhttps://github.com/ExaDev/github-runner/issues/182#top
https://github.com/Mearman
Mearmanhttps://github.com/Mearman
on Nov 3, 2026https://github.com/ExaDev/github-runner/issues/182#issue-6177867756
Mearmanhttps://github.com/Mearman
Featurehttps://github.com/ExaDev/github-runner/issues?q=type:"Feature"
on Nov 3, 2026https://github.com/ExaDev/github-runner/issues/182#event-34991816461
Mearmanhttps://github.com/Mearman
on Nov 3, 2026https://github.com/ExaDev/github-runner/issues/182#event-34991828718
Move etcd votes between hosts by health, and let native nodes be servers #179https://github.com/ExaDev/github-runner/issues/179
Mearmanhttps://github.com/Mearman
on Nov 3, 2026https://github.com/ExaDev/github-runner/issues/182#event-34991834893
Promote a fit standby to an etcd voter and demote an unfit voter, one swap at a time #183https://github.com/ExaDev/github-runner/issues/183
https://github.com/Mearman
Mearmanhttps://github.com/Mearman
on Nov 7, 2026https://github.com/ExaDev/github-runner/issues/182#issuecomment-6704976537
#185https://github.com/ExaDev/github-runner/pull/185
#204https://github.com/ExaDev/github-runner/pull/204
#210https://github.com/ExaDev/github-runner/pull/210
Mearmanhttps://github.com/Mearman
completedhttps://github.com/ExaDev/github-runner/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 7, 2026https://github.com/ExaDev/github-runner/issues/182#event-35424461339
Sign up for freehttps://github.com/signup?return_to=https://github.com/ExaDev/github-runner/issues/182
Sign in to commenthttps://github.com/login?return_to=https://github.com/ExaDev/github-runner/issues/182
Featurehttps://github.com/ExaDev/github-runner/issues?q=type:"Feature"
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.