Repository navigation
Add helm-chart-fluid-1.1.0-alpha.12 - #121
Merged
RongGu merged 2 commits intoNov 8, 2026
Merged
Conversation
Signed-off-by: cheyang <cheyang@163.com>
cheyang
force-pushed
the
helm-chart-fluid-1.1.0-alpha.12
branch
from
November 6, 2026 12:09
0643a5f to
450c056
Compare
…ntu-24.04 The mooncake e2e case references fluidcloudnative/mooncake:e2e, which is built from test/gha-e2e/mooncake/image and not published to any registry, so every kind-e2e-test job failed with ImagePullBackOff and the Dataset never became Bound. Build it, together with the jindo oss-emulator helper image, from this repo and load both onto the kind node, as fluid's kind-e2e workflow does. ubuntu-latest now resolves to ubuntu-26.04, whose AppArmor fusermount3 profile denies the JindoRuntime FUSE mount used by the jindo e2e case. Pin the job to ubuntu-24.04 until fluid-cloudnative/fluid#6224 is fixed. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Signed-off-by: cheyang <cheyang@163.com>
Copilot stopped reviewing on behalf of
RongGu due to an error
November 8, 2026 10:53
There was a problem hiding this comment.
Note
Copilot was unable to run its full agentic suite in this review.
Copilot review overview
6 open issues
This introduces a hard install-time failure for any existing users still settingruntime.cache,… · New This parses JSON usinggrepwith an exact substring pattern that can break if the API server adds… · New If the metrics endpoint returns a non-empty response that doesn’t include the expected `Mem… · New If the metrics endpoint returns a non-empty response that doesn’t include the expected `Mem… · New This script doesn’t enable strict bash mode, which can let failures (especially in pipelines and… · New The event query doesn’t specify a namespace. If the kubectl context namespace differs from… · New
What changed in this PR
Adds a new Mooncake end-to-end test suite and strengthens CacheRuntime’s HPA/scale integration, while updating CI and Helm chart configuration to support these changes.
Changes:
- Introduce Mooncake client-less topology e2e test + buildable in-repo Mooncake test image.
- Add CacheRuntime CRD
scalesubresource wiring and expand curvine e2e to validate selectors/scale behavior. - Update MinIO image references and improve CI reliability/diagnostics (runner pinning, MinIO rollout debug, build/load helper images).
| File | Description |
|---|---|
| test/gha-e2e/mooncake/test.sh | New Mooncake e2e script covering client-less topology and regressions. |
| test/gha-e2e/mooncake/rw_job.yaml | Job validating Mooncake read/write through the Python client (no PVC mount). |
| test/gha-e2e/mooncake/image/requirements.txt | Hash-locked Python deps to make the Mooncake e2e image reproducible. |
| test/gha-e2e/mooncake/image/reportSummary.sh | ReportSummary script to populate Dataset status.cacheStates. |
| test/gha-e2e/mooncake/image/custom-entrypoint.sh | Entrypoint for Mooncake master/worker roles under Fluid. |
| test/gha-e2e/mooncake/image/Dockerfile | In-repo Mooncake e2e image build (used by CI, loaded into kind). |
| test/gha-e2e/mooncake/dataset.yaml | Dataset manifest for Mooncake e2e scenario. |
| test/gha-e2e/mooncake/cacheruntimeclass.yaml | CacheRuntimeClass defining master/worker only (no client). |
| test/gha-e2e/mooncake/cacheruntime.yaml | CacheRuntime manifest for Mooncake e2e scenario. |
| test/gha-e2e/mooncake/bad_mount_pod.yaml | Negative test pod that attempts (and must fail) to mount the PVC. |
| test/gha-e2e/juicefs/minio.yaml | Switch MinIO image source and set pull policy. |
| test/gha-e2e/jindo/test.sh | Add MinIO rollout failure diagnostics and refactor readiness wait. |
| test/gha-e2e/jindo/oss-emulator/Dockerfile | Update Go builder image version for oss-emulator. |
| test/gha-e2e/jindo/minio.yaml | Switch MinIO image source for Jindo e2e. |
| test/gha-e2e/curvine/test.sh | Validate status selector + scale subresource; improve scale test logic; update GC label selector. |
| test/gha-e2e/curvine/minio_create_bucket.yaml | Replace mc usage with signed S3 PUT via curl. |
| test/gha-e2e/curvine/minio.yaml | Switch MinIO image source for Curvine e2e. |
| test/gha-e2e/curvine/cacheruntimeclass.yaml | Add reportSummary execution entry; bump Curvine image version. |
| charts/fluid/values.yaml | Rename runtime.cache to runtime.cacheruntime; bump default tag. |
| charts/fluid/templates/csi/daemonset.yaml | Fix env var name typo for recover warning threshold. |
| charts/fluid/templates/controller/cacheruntime_controller.yaml | Rename values references and hard-fail on deprecated key. |
| charts/fluid/crds/data.fluid.io_cacheruntimes.yaml | Add scale subresource mapping to CacheRuntime CRD. |
| charts/fluid/Chart.yaml | Bump chart and app versions. |
| .github/workflows/kind-e2e.yml | Pin runner; build/load helper e2e images into kind. |
| .github/scripts/gha-e2e.sh | Add Mooncake e2e and reorder to run cache-runtime tests first. |
Review effort: Lite
Comment on lines
+1
to
+2
| {{- if hasKey .Values.runtime "cache" }} | ||
| {{- fail "values key `runtime.cache` has been renamed to `runtime.cacheruntime`, please update your values file or --set flags" }} |
| fi | ||
|
|
||
| local scale_spec_replicas="" | ||
| scale_spec_replicas=$(kubectl get --raw "/apis/data.fluid.io/v1alpha1/namespaces/default/cacheruntimes/${dataset_name}/scale" 2>/dev/null | grep -o '"spec":{"replicas":[0-9]*' | grep -o '[0-9]*$') |
| # the Dataset's status.cacheStates field. | ||
| set -euo pipefail | ||
|
|
||
| RAW=$(curl -s http://localhost:9003/metrics/summary) |
Comment on lines
+14
to
+15
| # Extract the "Mem Storage: 0 B / 2.00 GB (0.0%)" segment. | ||
| MEM_LINE=$(echo "$RAW" | grep -oE 'Mem Storage: [^|]+' || true) |
| @@ -0,0 +1,396 @@ | |||
| #!/bin/bash | |||
|
|
|||
Comment on lines
+268
to
+270
| failed_mount=$(kubectl get events \ | ||
| --field-selector "involvedObject.name=${bad_mount_pod_name},reason=FailedMount" \ | ||
| -ojsonpath='{.items[*].message}' 2>/dev/null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Bump fluid helm chart to 1.1.0-alpha.12 (appVersion 1.1.0-91a58c1d9).
Changes included:
scalesubresource to CacheRuntime CRDREVOCER_WARNING_THRESHOLD->RECOVER_WARNING_THRESHOLDin CSI daemonsetruntime.cachetoruntime.cacheruntimein values.yaml and cacheruntime controller templateoss-emulator:e2e/mooncake:e2ee2e helper images inkind-e2e.yml(they are built from this repo, not pulled from a registry), and pin the kind-e2e runner toubuntu-24.04because JindoRuntime FUSE mounts are denied on ubuntu-26.04 (kind-e2e fails on ubuntu-26.04 runners: JindoRuntime FUSE mount denied by host AppArmor fusermount3 profile fluid#6224)