Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] add cache worker set interface and use it to replace all statefulset interfaces in alluxio controller logic #4366

Closed
wants to merge 1 commit into from

Conversation

zwbrealm
Copy link

@zwbrealm zwbrealm commented Oct 20, 2024

…o runtime

Ⅰ. Describe what this PR does

1.在alluxio runtime type中增加workerType字段,用来指示worker类型(STS,ASTS,DaemonSet)
2.增加cacheworkerset 定义以及相关属性的GET/SET操作(pkg/types/cacheworkerset/interface.go)
3.替换ddc/alluxio下的alluxio的GetStatefulset和GetWorkerAsStatefulset,将其都替换为Get(Worker)CacheWorkerSet的形式,接管所有的原先Statefulset的操作;(目前还没有对除了alluxio外其他runtime的代码进行上述的替换)
4.引入了openkruise依赖后,根据它的特性,只需要手动对work pod的label进行patch SpecifiedDeleteKey = "apps.kruise.io/specified-delete",且这些worker pod被openkruise advanced statefulset接管,那么就可以做到指定该pod下线了。

Ⅱ. Does this pull request fix one issue?

fixes #XXXX

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@zwbrealm zwbrealm closed this Oct 20, 2024
@zwbrealm zwbrealm reopened this Oct 20, 2024
@zwbrealm zwbrealm closed this Oct 20, 2024
@zwbrealm zwbrealm reopened this Oct 20, 2024
Copy link

sonarcloud bot commented Oct 20, 2024

@zwbrealm zwbrealm closed this by deleting the head repository Oct 20, 2024
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