k8s operator: baseline - #1243
Merged
wanghenshui merged 15 commits intoMar 6, 2023
Merged
Conversation
Closed
Collaborator
|
@fancy-rabbit 有没有懂k8s的可以帮忙review一下 |
Collaborator
|
operator能不能加个流水线编译 |
Collaborator
Author
没问题,我来加一下。 另外 workflows 现在的结构是以编译环境命名的,是不是以子工具拆分会比较好,类似下面这样。 .
└── workflows
├── codis.yml
├── operator.yml
└── pika.yml如果可以的话我就新建一个 |
Collaborator
|
Contributor
|
目前来看这个工作是很有意义的,等下周周会详细讨论下吧。 |
Closed
bigdaronlee163
pushed a commit
to bigdaronlee163/pika
that referenced
this pull request
Jun 8, 2024
* feat: operator base code from operator-sdk * feat: add sample pika CRD define * chore: add event,statefulset,pod role for operator * feat: add hard code for create pika standalone sts/ svc * feat: add finalizer to control delete order * feat: replace hardcode statefulset template * feat: add external config support * test: add test for factor/pika/pika_controller * build: add operator build workflow
cheniujh
pushed a commit
to cheniujh/pika
that referenced
this pull request
Sep 24, 2024
* feat: operator base code from operator-sdk * feat: add sample pika CRD define * chore: add event,statefulset,pod role for operator * feat: add hard code for create pika standalone sts/ svc * feat: add finalizer to control delete order * feat: replace hardcode statefulset template * feat: add external config support * test: add test for factor/pika/pika_controller * build: add operator build 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.
这个 PR 中实现了一个 pika-operator mvp 版本,主要实现了 pika 单实例服务在 k8s 上的快速部署,采用了常见的 operator 模型。
主要功能:
其他功能请移步 #1238 进行讨论
使用方式可以参考
核心逻辑位于
相关 issues