Skip to content

[Chore]: k8s sample manifests yield a non-working deploy + remove dead FKST_HOSTED_LLM_* config #218

@chronoai-shining

Description

@chronoai-shining

Summary

The per-deployable k8s_sample/ manifests, applied as-is, produce a non-working deploy (workers never connect; durable journaling silently off), and several config keys are dead (read + validated but never used), which misdirects operators. Housekeeping to make the samples deploy a working system and to remove/​document the dead surface.

Scope Check

  • This work is within fkst-hosted scope — deployment glue + config hygiene, not the kernel engine.

Affected Area

  • Backend (Rust)
  • Frontend (React)

Background

Verified while preparing a control-plane + worker deploy:

Sample-manifest gaps (operator foot-guns):

Dead / misleading config:

  • FKST_HOSTED_LLM_GATEWAY_URL + FKST_HOSTED_LLM_MODEL / _TIMEOUT_SECS / _MAX_OUTPUT_BYTES are read and cross-validated at load (config.rs) but never consumed — no NyxLlmGateway is constructed in fkst-control-plane (the impl + tests live in fkst-shared only). The real engine LLM knob is FKST_HOSTED_CHRONO_LLM_BASE_URL + FKST_HOSTED_CODEX_MODEL. The dead keys read like the LLM config and mislead operators.
  • FKST_HOSTED_ENGINE_GITHUB_TOKEN_REFRESH_SECS is loaded/validated but unused — the refresh cadence is the hardcoded 55-min TOKEN_REFRESH_INTERVAL (in-process driver and worker refresh.rs). Dead knob.

Purpose

A fresh operator should be able to apply the samples (with documented edits) and get a working issue→run→monitor pipeline, and should not be misled by config keys that do nothing.

Affected Files

  • backend/fkst-control-plane/k8s_sample/{configmap.yaml,secret.example.yaml,deployment.yaml,README.md}
  • backend/fkst-worker/k8s_sample/{configmap.yaml,secret.example.yaml,README.md}
  • backend/fkst-control-plane/src/config.rs (remove or clearly deprecate the dead FKST_HOSTED_LLM_* keys; document FKST_HOSTED_ENGINE_GITHUB_TOKEN_REFRESH_SECS as inert or wire it).

Acceptance Criteria

Definition of Done

The sample manifests deploy a functioning control-plane + worker, and the config surface has no silently-dead keys. Relates to #193.

Metadata

Metadata

Labels

documentationImprovements or additions to documentationk8sKubernetes deploymenttype:choreMaintenance: deps, config, housekeeping with no behavior change.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions