Repository navigation
docs(curvine): use the published Curvine image in the ThinRuntime addon - #6293
rida-ghreizy wants to merge 2 commits into
Conversation
The addon pointed at fluid-cloudnative/curvine-thinruntime:v1.0.0 and at thin-runtime/build-image.sh and fluid-config-parse.py, which Curvine removed in CurvineIO/curvine#571. Since CurvineIO/curvine#1078 the Fluid integration ships in the regular ghcr.io/curvineio/curvine image, started with /entrypoint.sh fluid-thin-runtime. Update the profile, the readme and the dev guide (English and Chinese) to match. Signed-off-by: rida <ghreizyrida1@gmail.com>
There was a problem hiding this comment.
🟡 Changes recommended
The source-build instructions produce a local image that does not match the deployment profile, so both language guides need to clarify cluster image availability and align the image settings.
What changed in this PR
Updates Fluid’s Curvine ThinRuntime addon to use the published Curvine runtime image and its Fluid integration entrypoint.
Changes:
- Switches the runtime profile and examples to
ghcr.io/curvineio/curvine:latest. - Configures
/entrypoint.shwith thefluid-thin-runtimeargument. - Refreshes both developer guides with
make docker-build, current script paths, and the upstream example reference.
| File | Description |
|---|---|
addons/curvine/runtime-profile.yaml |
Updates the image and startup command. |
addons/curvine/readme.md |
Aligns the English profile example. |
addons/curvine/readme-zh_CN.md |
Aligns the Chinese profile example. |
addons/curvine/dev-guide/curvine.md |
Refreshes English build and integration instructions. |
addons/curvine/dev-guide/curvine-zh_CN.md |
Refreshes Chinese build and integration instructions. |
Review effort: Balanced
| The ThinRuntime uses the regular Curvine runtime image, which also contains the Fluid integration scripts. Curvine publishes it as `ghcr.io/curvineio/curvine`. | ||
|
|
||
| 1) Build Curvine binaries | ||
| 1) Use the published image, or build it from source |
cheyang
left a comment
There was a problem hiding this comment.
Verified end to end and clean: the old curvine-thinruntime image 404s on Docker Hub, the old upstream build assets are gone, and ghcr.io/curvineio/curvine really ships the Fluid handoff (/entrypoint.sh -> /fluid-entrypoint.sh for fluid-thin-runtime) exactly as the docs now describe. The shipped runtime-profile.yaml is schema-valid against the CRD, and its image/command/args provably flow through ThinEngine.transformFuse and the thin helm chart into the FUSE daemonset — confirmed independently on two verify branches (contract tests + a chart render check, plus a harness-bites run proving the tests can fail). Docs are symmetric across en/zh and every new link resolves; the diff touches no code, CRD, or chart. No blockers. Two optional polish notes: the shipped manifest pins a mutable tag with an explicit IfNotPresent, so nodes can silently run different latest snapshots — a release tag would be safer; and the dev guide's build-from-source branch yields a local curvine:latest that never gets connected to the profile (also caught by Copilot), which one sentence would close. The two reviewers and Copilot fully agreed — nothing was disputed.
Next round
[MUST]
[SHOULD] Pin a release tag (e.g. v0.6.0-alpha) — or drop the explicit IfNotPresent — in the shipped addons/curvine/runtime-profile.yaml (F1, minor).
[SHOULD] State in both dev guides that make docker-build yields a local curvine:latest, and how to retag/push it or point spec.fuse.image at it (F2, minor; also flagged by Copilot).
[SHOULD] (follow-up, pre-existing) Add a small CI guard that schema-validates addons/*/runtime-profile.yaml and keeps the five embedded copies in sync (F3, nit).
Non-blocking observations (3) — not part of this round's ask; fix now, follow up, or file an issue as you see fit
- addons/curvine/runtime-profile.yaml:9 [minor] — Mutable imageTag latest combined with explicit imagePullPolicy: IfNotPresent in the shipped example (consensus: Claude F1 = Codex F1, both cross-critique CONFIRM)
F1 (consensus): The shipped runtime-profile.yaml (and all four doc copies) sets imageTag: latest with an explicit imagePullPolicy: IfNotPresent. Kubelet honors the explicit policy on a mutable tag, so each node pins whatever snapshot of latest it pulled first — nodes can silently run different Curvine builds, and a bad latest push sticks on cached nodes. The base file pinned v1.0.0, so the mutable-tag exposure is new with this PR, but it mirrors Curvine's own upstream example verbatim and the PR body discloses the release-tag alternative — a recommendation, not a defect. - addons/curvine/dev-guide/curvine.md:13 [minor] — Dev guide no longer connects make docker-build output (local curvine:latest) to the profile image (Claude F2, confirmed by Codex critique; matches Copilot C4714700921)
F2 (three-way convergence, incl. Copilot C4714700921): The rewritten step 1 says to use the published image or build from source via make docker-build, but upstream curvine-docker/deploy/build-image.sh produces a local image named curvine:latest (IMAGE_NAME="curvine"), not ghcr.io/curvineio/curvine. Unlike the old text, which named the resulting image, the new guide never tells developers to retag/push it or update spec.fuse.image — the from-source branch dead-ends. One closing sentence fixes it; the zh_CN variant (curvine-zh_CN.md:17) has the same gap. - addons/curvine/runtime-profile.yaml:1 [nit] — pre-existing, not introduced by this PR — Profile YAML duplicated across five files with no sync/validity CI guard (Codex F2, confirmed by Claude critique)
F3 (nit, pre-existing, non-blocking): The identical fuse block is embedded in runtime-profile.yaml, readme.md, readme-zh_CN.md, dev-guide/curvine.md and dev-guide/curvine-zh_CN.md (byte-identical at 1fa8d32). No CI check parses addon example manifests against the CRD types or keeps the copies in sync — the same silent drift this PR fixes (dead v1.0.0 image unnoticed) can recur. Consider a lightweight CI guard; TestVerifyPR6293CurvineAddonProfileParses (verify/curvine-addon-image-docs-codex) and scripts/validate-manifest.py (verify/curvine-thinruntime-image-claude) are ready-made seeds.
Verified review delta
- F1: open (initial-pr)
- F2: open (initial-pr)
- F3: open (preexisting)
Code: clear. CI: success; attribution: unknown. Required CI checks still apply.
make docker-build produces curvine:latest, while the profile uses the published ghcr.io image. Describe how to push or load the local image and point spec.fuse.image and imageTag at it, in English and Chinese. Signed-off-by: rida <ghreizyrida1@gmail.com>
|




Ⅰ. Describe what this PR does
The Curvine ThinRuntime addon (
addons/curvine/) points at an image and build files that no longer exist:runtime-profile.yamland the readmes usefluid-cloudnative/curvine-thinruntime:v1.0.0. That name can't be pulled: Docker Hub namespaces have no hyphens, and Curvine never published it.curvine-docker/fluid/thin-runtime/build-image.shand describesfluid-config-parse.py. feat: add fluid docker image build targets and remove deprecated cache-runtime files CurvineIO/curvine#571 removed both, together with the thin-runtime README the guide links to.Since CurvineIO/curvine#1078, the Fluid scripts ship in the regular Curvine runtime image,
ghcr.io/curvineio/curvine. Its/entrypoint.shhands over to/fluid-entrypoint.shfor thefluid-thin-runtimeargument, and Curvine's own example (curvine-docker/fluid/thin-runtime/curvine-thinruntime.yaml) uses that image withcommand: [/entrypoint.sh]andargs: [fluid-thin-runtime].This PR:
runtime-profile.yamland in the English and Chinese readmes;make docker-build. It also names the scripts the image really runs (/fluid-entrypoint.sh,/app/curvine/config-parse.py) and links Curvine's example instead of the removed README.Ⅱ. Does this pull request fix one issue?
NONE
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Documentation and an example manifest only.
Ⅳ. Describe how to verify it
ghcr.io/curvineio/curvineis public and haslatestand release tags (for examplev0.6.0-alpha) in the registry's tag list.main:curvine-docker/deploy/Dockerfile_rocky9copiesfluid/entrypoint.shto/fluid-entrypoint.shandconfig-parse.pyto/app/curvine/.curvine-docker/deploy/entrypoint.shrunsexec /fluid-entrypoint.shforfluid-thin-runtime.commandandargsare fields ofThinFuseSpec(api/v1alpha1/thinruntime_types.go).Ⅴ. Special notes for reviews
imageTag: latestfollows Curvine's own example; a release tag such asv0.6.0-alphaworks too.