René's URL Explorer Experiment


Title: Regrade a native server under memory pressure with a systemd actuator · Issue #181 · ExaDev/github-runner · GitHub

Open Graph Title: Regrade a native server under memory pressure with a systemd actuator · Issue #181 · ExaDev/github-runner

X Title: Regrade a native server under memory pressure with a systemd actuator · Issue #181 · ExaDev/github-runner

Description: Memory-pressure regrading (github_runner_cluster_regrade) has a Docker actuator only. A native server (the native server mode sub-issue) needs a systemd actuator implementing the core's three functions, levels, current_level and apply_le...

Open Graph Description: Memory-pressure regrading (github_runner_cluster_regrade) has a Docker actuator only. A native server (the native server mode sub-issue) needs a systemd actuator implementing the core's three funct...

X Description: Memory-pressure regrading (github_runner_cluster_regrade) has a Docker actuator only. A native server (the native server mode sub-issue) needs a systemd actuator implementing the core's three f...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regrade a native server under memory pressure with a systemd actuator","articleBody":"Memory-pressure regrading (`github_runner_cluster_regrade`) has a Docker actuator only. A native server (the native server mode sub-issue) needs a systemd actuator implementing the core's three functions, `levels`, `current_level` and `apply_level NAME`, with `files/regrade/fleet-regrade-core.sh` used as it is. Part of the dynamic regrading epic.\n\n**Levels** are the same three: `full`, `control-plane` and `etcd-only`. Between `full` and `control-plane` nothing restarts; the core's taint and cordon are the difference. etcd-only is reached by configuration and a restart of `k3s.service`: the actuator writes the level to `/var/lib/rancher/k3s/regrade-level` (persistent, so a stepped-down server stays down across a restart or a reboot, as the Docker actuator's does), and the unit's `ExecStartPre` renders `/etc/rancher/k3s/server.yaml.d/50-regrade.yaml` from it (`disable-apiserver`, `disable-controller-manager`, `disable-scheduler`, `disable-agent` at etcd-only, empty otherwise) and records the level k3s starts at in `/run/github-runner-k3s/regrade-level`, which `current_level` reads, since k3s hides its arguments from `/proc`. Both files are written atomically.\n\n**Waiting for the step.** After a restart `apply_level` returns only when etcd serves again (k3s's `ETCD server is now running` in the journal since the restart, the line the Docker actuator waits for) and, for a level that runs the agent, when the Node is Ready on a heartbeat later than the restart, because the core releases the Lease as soon as it returns.\n\n**Pods at etcd-only.** The unit's `KillMode=process` leaves pod shims running when k3s restarts without its agent, so pods that survived the drain (DaemonSet pods) would keep running with no kubelet and keep their memory, which defeats the step. Entering etcd-only stops the remaining shims, as `k3s-killall.sh` does for containers; leaving it starts the agent, which recreates them.\n\n**The service.** `fleet-regrade.service` runs the core and this actuator with the host's own `/proc/pressure/memory` and `/proc/meminfo`, `KUBECTL=\"k3s kubectl\"` and the admin kubeconfig, and the environment file the role already templates. The role's refusals carry over unchanged (not on an agent, not on the only server, not on a `headscale_in_cluster` bootstrap server, not turned off below `full`), plus a kernel without PSI is refused before anything changes, as the Docker wrapper stops for it.\n\n**Reaching the API.** `KUBE_SERVER` is today the first other server in inventory order, fixed when the role runs. Once roles change at run time that server may be an agent, so the core takes a list of candidate servers (every other server and every eligible host, by their certificate names) and uses the first whose `/readyz` answers, never its own. This is the one change to the core, and the Docker actuator takes it too.\n\nTests: `tests/regrade` gains the systemd actuator against the existing fake kubectl and a fake `systemctl` and journal, for every level change in both directions and the waits. The mesh scenario with the native server steps it down to etcd-only and back under simulated pressure with the real unit, real k3s and a real drop-in: membership unchanged, the vote kept (a write succeeds with one other server stopped), the level kept across `systemctl restart` and across stopping and starting the systemd container, and no shim left at etcd-only. On a real native server, `fleet-regrade status` runs before regrading is turned on.\n","author":{"url":"https://github.com/Mearman","@type":"Person","name":"Mearman"},"datePublished":"2026-11-03T07:02:03Z","url":"https://github.com/ExaDev/github-runner/issues/181"}

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:536f4984-0ebf-f223-6831-61544177b042
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA8EA:22F32B:54645F:766CED:6B0076B6
html-safe-nonceb67e8496cc6060f286b1abaa1ebab4e48f839ecf71225a568a46fcc2a3bf12b3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEVBOjIyRjMyQjo1NDY0NUY6NzY2Q0VEOjZCMDA3NkI2IiwidmlzaXRvcl9pZCI6IjI0NzY2MjEwOTQwNjUzMDUyNzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace7a8d8c30021bbca88e20376fd51e757613cce15d785fb7044aec5516cc0d11f
hovercard-subject-tagissue:6177867574
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/181/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fa85a39f2e376ae63c8d9291d53ec66e29a0b16fd8a809f962a413e1f356c4fd/ExaDev/github-runner/issues/181
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fa85a39f2e376ae63c8d9291d53ec66e29a0b16fd8a809f962a413e1f356c4fd/ExaDev/github-runner/issues/181
og:image:altMemory-pressure regrading (github_runner_cluster_regrade) has a Docker actuator only. A native server (the native server mode sub-issue) needs a systemd actuator implementing the core's three funct...
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/181#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FExaDev%2Fgithub-runner%2Fissues%2F181
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%2F181
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/181
Reloadhttps://github.com/ExaDev/github-runner/issues/181
Reloadhttps://github.com/ExaDev/github-runner/issues/181
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/181
New issuehttps://github.com/login?return_to=https://github.com/ExaDev/github-runner/issues/181
Featurehttps://github.com/ExaDev/github-runner/issues?q=type:"Feature"
#194https://github.com/ExaDev/github-runner/pull/194
Regrade a native server under memory pressure with a systemd actuatorhttps://github.com/ExaDev/github-runner/issues/181#top
#194https://github.com/ExaDev/github-runner/pull/194
releasedhttps://github.com/ExaDev/github-runner/issues?q=state%3Aopen%20label%3A%22released%22
https://github.com/Mearman
Mearmanhttps://github.com/Mearman
on Nov 3, 2026https://github.com/ExaDev/github-runner/issues/181#issue-6177867574
Mearmanhttps://github.com/Mearman
Featurehttps://github.com/ExaDev/github-runner/issues?q=type:"Feature"
on Nov 3, 2026https://github.com/ExaDev/github-runner/issues/181#event-34991817089
Mearmanhttps://github.com/Mearman
on Nov 3, 2026https://github.com/ExaDev/github-runner/issues/181#event-34991828464
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/181#event-34991832096
Run a native Linux node as a k3s server under systemd #180https://github.com/ExaDev/github-runner/issues/180
Mearmanhttps://github.com/Mearman
on Nov 3, 2026https://github.com/ExaDev/github-runner/issues/181#event-34991835117
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
Mearmanhttps://github.com/Mearman
on Nov 3, 2026https://github.com/ExaDev/github-runner/issues/181#event-35026754280
feat(native): regrade a native server under memory pressure with a sy…https://github.com/ExaDev/github-runner/commit/ccea340892bde77ec2ca6b6f6dd6d8b646784ee9
ccea340https://github.com/ExaDev/github-runner/commit/ccea340892bde77ec2ca6b6f6dd6d8b646784ee9
test(mesh): step the native server down to etcd-only and back under p…https://github.com/ExaDev/github-runner/commit/e716942082b2c215916f1139d6b5db5526165aba
e716942https://github.com/ExaDev/github-runner/commit/e716942082b2c215916f1139d6b5db5526165aba
feat(native): regrade a native server under memory pressure with a sy…https://github.com/ExaDev/github-runner/commit/cee6aeaac3876f068fb7d65ae3fd65a5f5bd6f3c
cee6aeahttps://github.com/ExaDev/github-runner/commit/cee6aeaac3876f068fb7d65ae3fd65a5f5bd6f3c
test(mesh): step the native server down to etcd-only and back under p…https://github.com/ExaDev/github-runner/commit/fce8b37a4b18198669e29b641366ef0d322df6fc
fce8b37https://github.com/ExaDev/github-runner/commit/fce8b37a4b18198669e29b641366ef0d322df6fc
feat(native): regrade a native server under memory pressure with a sy…https://github.com/ExaDev/github-runner/commit/0294862f361cc38d449acc6f79a914a063721fe7
0294862https://github.com/ExaDev/github-runner/commit/0294862f361cc38d449acc6f79a914a063721fe7
test(mesh): step the native server down to etcd-only and back under p…https://github.com/ExaDev/github-runner/commit/9800b6fbf8ec8f3b22bf2f967a46f1e71119ab28
9800b6fhttps://github.com/ExaDev/github-runner/commit/9800b6fbf8ec8f3b22bf2f967a46f1e71119ab28
Mearmanhttps://github.com/Mearman
completedhttps://github.com/ExaDev/github-runner/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#194https://github.com/ExaDev/github-runner/pull/194
on Nov 3, 2026https://github.com/ExaDev/github-runner/issues/181#event-35041041144
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Nov 3, 2026https://github.com/ExaDev/github-runner/issues/181#issuecomment-6609513532
GitHub Actionshttps://help.github.com/en/actions
GitHub releasehttps://github.com/ExaDev/github-runner/releases/tag/v2.28.0
semantic-releasehttps://github.com/semantic-release/semantic-release
github-actionshttps://github.com/apps/github-actions
releasedhttps://github.com/ExaDev/github-runner/issues?q=state%3Aopen%20label%3A%22released%22
on Nov 3, 2026https://github.com/ExaDev/github-runner/issues/181#event-35041096801
Sign up for freehttps://github.com/signup?return_to=https://github.com/ExaDev/github-runner/issues/181
Sign in to commenthttps://github.com/login?return_to=https://github.com/ExaDev/github-runner/issues/181
releasedhttps://github.com/ExaDev/github-runner/issues?q=state%3Aopen%20label%3A%22released%22
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.