Title: Elasticsearch as a Service kind: declared, converged, backed up and audited · Issue #231 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Elasticsearch as a Service kind: declared, converged, backed up and audited · Issue #231 · cloudfall-dev/cloudfall
X Title: Elasticsearch as a Service kind: declared, converged, backed up and audited · Issue #231 · cloudfall-dev/cloudfall
Description: Requested by: @romamo (filed by an agent on his instruction, 2026-11-13) Problem A fleet that runs its own Elasticsearch cluster operates it by hand: the package and its pin, the heap and memory locking, the data volume, TLS between node...
Open Graph Description: Requested by: @romamo (filed by an agent on his instruction, 2026-11-13) Problem A fleet that runs its own Elasticsearch cluster operates it by hand: the package and its pin, the heap and memory lo...
X Description: Requested by: @romamo (filed by an agent on his instruction, 2026-11-13) Problem A fleet that runs its own Elasticsearch cluster operates it by hand: the package and its pin, the heap and memory lo...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/231
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Elasticsearch as a Service kind: declared, converged, backed up and audited","articleBody":"Requested by: @romamo (filed by an agent on his instruction, 2026-11-13)\n\n## Problem\n\nA fleet that runs its own Elasticsearch cluster operates it by hand: the package and its pin, the heap and memory locking, the data volume, TLS between nodes, the `elastic` password, one user per application, snapshots, and the check that a snapshot restores.\n\nCloudfall cannot describe any of it today:\n\n- `Service` kinds are `postgresql` and `redis` only\n- A `Service` lives on one server and listens on loopback, while Elasticsearch is a cluster, even with one node\n- `config validate`, `audit`, `backup run` and `backup verify` know nothing about it, so an agent has no operation to propose for it\n- Nothing creates an application user limited to its own indices, generates its password or reports a user that drifted\n\nROADMAP.md and ARCHITECTURE.md already name Elasticsearch as catalog breadth after PostgreSQL and Redis.\n\n## Proposal\n\n1. **`serviceKind: elasticsearch`** with an exact pinned and held version, a declared heap and memory locking\n2. **One node is a cluster of one.** Never `discovery.type: single-node`; growing the cluster is adding a server to the declaration, with the first node's identity and data kept\n3. **Supported versions only.** 8.19.z and 9.y.z are accepted; 7.x and the earlier 8.x minors are refused by `config validate`. The accepted lines live in code with their end-of-life dates: a warning before the date, a refusal for new services after it, and an `audit` finding for a cluster already running\n4. **Joining an existing cluster.** A Cloudfall node can join a cluster Cloudfall did not create, when that cluster runs a supported version, and trust its CA while the old nodes are drained. This is the way in for a team that already has a cluster: upgrade it to a supported version, widen it onto Cloudfall nodes, retire the old ones\n5. **Access.** Security always on; Cloudfall's own account; one declared user per application, limited to its index patterns, with passwords sent only as hashes (D-9)\n6. **Snapshots that provably restore.** `backup run` takes a snapshot, `backup verify` restores a drill index and compares document counts, each with a receipt\n7. **Host needs from S-011.** Volume, transport port, certificates, generated secrets and the package pin are requirements Cloudfall provides, not manual preparation\n8. **Audit and metrics** like the other kinds: version, unit state, managed configuration, listener address; an exporter per node\n\n## Migration from other installs\n\nMoved to #232: a guide an agent builds the migration from, and a check that proves it. This issue is the service and joining an existing cluster (item 4).\n\n## Out of scope\n\n- OpenSearch: a separate kind with its own packages and security model\n- Kibana, Logstash and Beats\n- Upgrading across a major inside Cloudfall, and removing a node: operations with their own verify steps, later\n- Dedicated node roles and more than one node per server\n- Index templates, mappings and lifecycle policies: the application's own\n\n## Notes\n\n- The role would install Elastic's own packages, which Elastic distributes under the Elastic License 2.0; the guide must say so, since that license restricts offering Elasticsearch to third parties as a managed service\n- Serves G-1 and G-3\n- Spec: `docs/specs/012-elasticsearch-service.md` (S-012), approved by the maintainer's answer on #214 and merged as 58076fa\n- Related: #216 (connections between components and stores, with a generated user per connection); the declared users of item 5 should take whatever shape #216 settles on\n\nDepends on cloudfall-dev/cloudfall#309\n\nDepends on cloudfall-dev/cloudfall#310\n\nDepends on cloudfall-dev/cloudfall#311\n\nDepends on cloudfall-dev/cloudfall#312\n\nDepends on cloudfall-dev/cloudfall#313\n\nDepends on cloudfall-dev/cloudfall#314\n\nDepends on cloudfall-dev/cloudfall#315\n\nDepends on cloudfall-dev/cloudfall#320\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-13T08:31:17Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/231"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c7374a75-1308-05a1-4a40-1564a6eb8d73 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82AC:64377:250E57A:30DA24A:6B0554CF |
| html-safe-nonce | f8e35a8d510ff734fe565424fd99c3ad8ba281977075184fd6183bb1dbdd05b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkFDOjY0Mzc3OjI1MEU1N0E6MzBEQTI0QTo2QjA1NTRDRiIsInZpc2l0b3JfaWQiOiI2NTIzMjcyMTY3MTk3ODU2OTc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b6dc3afb5023679beeb257b5f33ed709d14d6a3d06c535ec94eff8365af59fa5 |
| hovercard-subject-tag | issue:6367771504 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/231/issue_layout |
| twitter:image | https://opengraph.githubassets.com/35f746b60dcb8732d30702d05a71be0d9a7179dc790ba2f6f118afcc50539daa/cloudfall-dev/cloudfall/issues/231 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35f746b60dcb8732d30702d05a71be0d9a7179dc790ba2f6f118afcc50539daa/cloudfall-dev/cloudfall/issues/231 |
| og:image:alt | Requested by: @romamo (filed by an agent on his instruction, 2026-11-13) Problem A fleet that runs its own Elasticsearch cluster operates it by hand: the package and its pin, the heap and memory lo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width