Skip to content

Releases

Fluid-Sinapis v0.1.0

Choose a tag to compare

@GeneLiuXe GeneLiuXe released this 12 Nov 15:59
1ef5eca

First public release — moves Fluid cache management from "manual/rule-based operations" to an Agent loop of "autonomous perception → intelligent decision-making → automatic execution".

  • Version: 0.1.0
  • License: Apache-2.0

Core features

  • Multi-source metric collection: pluggable collectors pull Fluid native metrics and the K8s Metrics API (pod / node resources) and write them uniformly to Pushgateway for Prometheus to read; a new collector is a single registered class, which makes the system easy to extend.
  • Business-side data ingestion: a business system pushes its data-access related metrics through the HTTP interface, and the server writes them to Prometheus after validation.
  • Agent decision loop: every round (10 seconds by default) reads time-series metrics → wraps a state snapshot → the planner produces a structured execution plan → the validator reviews it → the deterministic executor carries it out → structured results are recorded; rounds run serially and never overlap, and the planner and validator can each use their own model.
  • Fluid operation skills: 4 skills are supported — cache preloading, cache capacity expansion, cache capacity shrinking and cached-file removal.

Highlights

  • Autonomy loop: scheduled multi-source metric collection → LLM diagnosis and plan generation → independent LLM review → deterministic executor invokes Fluid operation scripts → structured result recording, all in one chain with no one watching over it.
  • Dual-model validation: "review the prescription before administering the drug". Planning and review are two independent model calls (each can use its own model); the review stage combines cluster state, strategy constraints and Fluid operation rules, specifically to suppress misoperations caused by model hallucination.
  • Extensible strategies that need no restart: built-in strategies are defined with prompts; custom strategies are Python scripts written to the skill specification and loaded by periodic scanning; business-side metrics/events declared in the user_system section are ingested over HTTP, and changes to that section take effect within about 1 second without a restart.
  • Observable out of the box: a bilingual (Chinese/English) web console plus structured stage logs (logs/agent.log, 10MB × 5 rotation), with the planning rationale, review verdict and script runs of every round recorded.

Requirements

Dependency Version Required
Python >= 3.12 Required
Kubernetes >= 1.30 Required
Fluid >= 1.0.8 Required
Prometheus 2.x + Pushgateway latest Required
LLM (OpenAI-compatible, SinapisAI recommended) — Required
Node.js >= 20.19 Optional, only to build the web console

Roadmap

  • More skills and strategies: more Fluid skills and ready-to-use strategy templates.
  • Context memory: improve the agent's context memory to make model reasoning more efficient.

Feedback & Community

Report bugs or suggest features through GitHub Issues, or join the discussion in the #fluid channel on CNCF Slack.

Thanks to @GeneLiuXe, @SuperCarryXu, @ytcxy, @eclipse-du, @KuShihLei, @chenpengqi1104, and @RongGu for making this initial release possible.