Title: Spec 024: Kibana service by shipmill-romamo[bot] · Pull Request #504 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Spec 024: Kibana service by shipmill-romamo[bot] · Pull Request #504 · cloudfall-dev/cloudfall
X Title: Spec 024: Kibana service by shipmill-romamo[bot] · Pull Request #504 · cloudfall-dev/cloudfall
Description: Spec for #503 Written in an interactive session on the maintainer's instruction. Plan Serves: G-1, G-3 Files: docs/specs/024-kibana-service.md (new); no product code Order: before any build issue for the kind, each of which waits for the spec's approval Proof: shipmill specs.py check clean; the spec's 13 criteria (S-024-1 to S-024-13) are what the build must show Summary Draft spec: serviceKind: kibana, for the people who work with a declared Elasticsearch service and build dashboards on it. A Kibana service names its Elasticsearch service and runs on one of its nodes, on loopback. It has no version: it is installed at the cluster's version and held, and a version change of the cluster moves Kibana in the same converge, after every node Kibana logs in to its node with a token of the elastic/kibana service account kept in that node's service_tokens file; the kibana_system password is never set People log in with users S-012 already declares. kibana.users gives each view or edit through two roles Cloudfall keeps (cloudfall-kibana-view, cloudfall-kibana-edit), written through Kibana's role API; the user's own role and its index patterns are unchanged An existing Domain publishes it with TLS; without one it is reached through an SSH forward No backup of its own: saved objects are in the Elasticsearch snapshots as the feature state kibana. The three encryption keys are S-011 generated secrets in the project's store backup, metrics and remoteAccess are refused for the kind; a cluster with existingCluster can't have a Kibana service yet Decisions for you Each is taken as recommended unless you say otherwise: Kibana runs on a node of its cluster (recommended): it reaches Elasticsearch on loopback, so no HTTP port of the cluster opens for it. Cost: it shares the node's memory, and it is down when that node is. Alternative: its own server through remoteAccess No version field (recommended): Kibana is always the cluster's version, so the two can't be declared apart. Elastic supports only the same version, with an older Kibana tolerated during an upgrade A service account token in the node's service_tokens file (recommended) instead of a kibana_system password: nothing shared in the cluster changes, and the secret exists only on the server that uses it. Cost: it is not in the project's store, and a rebuilt server gets a new one. Elastic describes file tokens as meant mainly for orchestrators and recommends the token API, whose tokens live in the security index Published by a Domain, with Kibana's own login in front of the internet (recommended, since the people who build dashboards have no SSH access), with the warning KIBANA_PUBLISHED. Cost: declared passwords are open to guessing from anywhere; a Domain can't limit sources today. Alternative: SSH forward only until it can Two access levels, view and edit, on all of Kibana (recommended): Kibana's base privileges read and all on every space. edit therefore also reaches alert rules and every other saved object. Narrower grants per feature change names between versions, and those inside a feature need a paid licence Passwords of people live in the project's store, like an application's (recommended for a first version). A person can change theirs in Kibana, and the store then no longer holds the one in use. Single sign-on needs a paid licence No backup, drill or restore operation of its own (recommended): the Elasticsearch snapshot holds the dashboards, and the guide gives the restore. Alternative: a drill that restores the kibana feature state into a scratch cluster No Kibana while existingCluster is declared (recommended): the old cluster's Kibana still writes the same indices with keys Cloudfall does not hold heapMb from 1024 to 8192, refused when it and the node's heap exceed three quarters of the server's memory. Elastic documents no minimum; it suggests 2 GB for heavy reporting and alerting No metrics (recommended for a first version): Kibana serves none in Prometheus format; audit reads its status Facts checked on 2026-11-17 From elastic.co: the stack must run one version, a Kibana newer than Elasticsearch or of another major is unsupported, and Kibana is upgraded after Elasticsearch; elasticsearch.serviceAccountToken replaces the username and password, and elasticsearch-service-tokens changes only the local node's service_tokens file; any Kibana setting can be kept in its keystore; each of the three encryption keys needs 32 characters, and without them sessions end at a restart, pending reports fail and alerting features are unavailable; a snapshot with the cluster state includes the feature state kibana by default; the 8.19 guide says not to manage Kibana roles through the Elasticsearch role API; Kibana's default heap scales with the host's memory and is set in node.options; kibana is in the same APT repository as elasticsearch; an unauthenticated GET /api/status returns the overall level only; single sign-on, PDF and PNG reports, most connectors, sub-feature privileges and audit logging need a paid licence, while dashboards, Discover, Lens, spaces, CSV export and role-based access are in the free one; the packages are under the Elastic License 2.0. One finding outside this spec: Elastic's support matrix lists Debian 13 for Elasticsearch and Kibana 9.4 and later (and Kibana 8.19), not for 9.0 to 9.3, while S-012 accepts every 9.y and its example names 9.2.4. Not checked, left to the build: that the cloudfall file-realm account can call Kibana's role API; the settings telemetry.optIn and the secure-cookie flag by name; that a file token keeps working while the cluster is red; nginx's default body limit against saved-object imports.
Open Graph Description: Spec for #503 Written in an interactive session on the maintainer's instruction. Plan Serves: G-1, G-3 Files: docs/specs/024-kibana-service.md (new); no product code Order: before any build is...
X Description: Spec for #503 Written in an interactive session on the maintainer's instruction. Plan Serves: G-1, G-3 Files: docs/specs/024-kibana-service.md (new); no product code Order: before any buil...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/pull/504
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:73aae3bb-d091-7aa8-6707-19c307274dcb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A636:2F671E:2921B99:35DCE95:6B055B21 |
| html-safe-nonce | 78b32ecbd5ea8fced42abe058c48a7e5b46a94ed7a973058def90cd45f24d862 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjM2OjJGNjcxRToyOTIxQjk5OjM1RENFOTU6NkIwNTVCMjEiLCJ2aXNpdG9yX2lkIjoiMTY2NzI1MjYwNjEyNjYxMTIzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a5b5b51cc299526661e6793b51634e6e015ae6fd0a25d5336710541dce583a78 |
| hovercard-subject-tag | pull_request:5357423202 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/cloudfall-dev/cloudfall/pull/504/files |
| twitter:image | https://avatars.githubusercontent.com/u/5600783?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5600783?s=400&v=4 |
| og:image:alt | Spec for #503 Written in an interactive session on the maintainer's instruction. Plan Serves: G-1, G-3 Files: docs/specs/024-kibana-service.md (new); no product code Order: before any build is... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width