Skip to content

docs(curvine): use the published Curvine image in the ThinRuntime addon - #6293

Open
rida-ghreizy wants to merge 1 commit into
fluid-cloudnative:masterfrom
rida-ghreizy:docs/curvine-addon-image
Open

rida-ghreizy wants to merge 1 commit into
fluid-cloudnative:masterfrom
rida-ghreizy:docs/curvine-addon-image

Conversation

@rida-ghreizy

Copy link
Copy Markdown

Ⅰ. Describe what this PR does

The Curvine ThinRuntime addon (addons/curvine/) points at an image and build files that no longer exist:

Since CurvineIO/curvine#1078, the Fluid scripts ship in the regular Curvine runtime image, ghcr.io/curvineio/curvine. Its /entrypoint.sh hands over to /fluid-entrypoint.sh for the fluid-thin-runtime argument, and Curvine's own example (curvine-docker/fluid/thin-runtime/curvine-thinruntime.yaml) uses that image with command: [/entrypoint.sh] and args: [fluid-thin-runtime].

This PR:

  • uses that image, command and args in runtime-profile.yaml and in the English and Chinese readmes;
  • in the dev guides (English and Chinese), replaces the removed build steps with the published image or 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/curvine is public and has latest and release tags (for example v0.6.0-alpha) in the registry's tag list.
  • Curvine main: curvine-docker/deploy/Dockerfile_rocky9 copies fluid/entrypoint.sh to /fluid-entrypoint.sh and config-parse.py to /app/curvine/. curvine-docker/deploy/entrypoint.sh runs exec /fluid-entrypoint.sh for fluid-thin-runtime.
  • command and args are fields of ThinFuseSpec (api/v1alpha1/thinruntime_types.go).

Ⅴ. Special notes for reviews

imageTag: latest follows Curvine's own example; a release tag such as v0.6.0-alpha works too.

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>
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant