Repository navigation
Conversation
Signed-off-by: btxu-db <btxu-db@outlook.com>
Signed-off-by: btxu-db <btxu-db@outlook.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6286 +/- ##
=======================================
Coverage 66.13% 66.13%
=======================================
Files 486 486
Lines 34616 34616
=======================================
Hits 22894 22894
Misses 9964 9964
Partials 1758 1758 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.



Ⅰ. Describe what this PR does
Mooncake 应用通过 SDK 直连 master。现有读写 Job 的 Pod 模板增加了
clientless.fluid.io/inject: "true"标签和fluid.io/datasets: mooncake-demo注解。容器启动时加载FLUID_RUNTIME_CONFIG_PATH_MOONCAKE_DEMO指向的runtime.sh,通过${MASTER_NAME}-0.${MASTER_SERVICE_NAME}定位 master,完成原有的 4 MiB 写入和读回校验。Worker 也改为直接加载
runtime.json同目录的runtime.sh,从中读取服务名和存储配额。测试镜像因此移除了jq。Ⅱ. Does this pull request fix one issue?
Fixes #6251
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
rw容器是否将 ConfigMapfluid-runtime-config-mooncake-demo只读挂载到/etc/fluid/config/mooncake-demo,并验证FLUID_RUNTIME_CONFIG_PATH_MOONCAKE_DEMO指向挂载目录内的runtime.sh。kubectl run --dry-run=server提交引用不存在数据集mooncake-missing的 Pod。用例要求clientless.fluid.iowebhook 拒绝请求,且错误信息中包含"mooncake-missing" not found。Ⅳ. Describe how to verify it
在已启用 CacheRuntime 并部署 #6197 webhook 的 kind 集群上,从仓库根目录构建镜像并运行 Mooncake 用例。以下命令使用 CI 的集群名
fluid-cluster,运行前请确认 kubectl 当前上下文指向该集群。ca72c8ae搭配 feat(webhook): inject the runtime config into app pods of client-less cache runtimes #6197 的9c8d0e9f在 kind / Kubernetes v1.33.2 上跑通了完整 Mooncake E2E。4 MiB 数据写入和读回的 MD5 一致,Dataset 报告cached=4.00MiB、fileNum=1。74d77d9b调整了 worker 的配置路径校验。入口脚本用例确认变量未设置或为空时立即退出,路径含空格时能正常加载。基于该提交重建镜像并部署 feat(webhook): inject the runtime config into app pods of client-less cache runtimes #6197 的9c8d0e9fwebhook 后,完整 Mooncake E2E 在 kind / Kubernetes v1.33.2 上再次通过。Ⅴ. Special notes for reviews
此用例依赖 #6197 提供的注入标签和 webhook,请在 #6197 合入后合入本 PR。
本次 CI 的五个 Kubernetes 版本 都停在缺失数据集的拒绝断言。当前 master 的 Helm chart 尚未注册
clientless.fluid.iowebhook,因此 API Server 放行了这次 server-side dry-run。