refactor: spilt operator/..

This commit is contained in:
Sun-ZhenXing
2026-04-15 10:44:10 +08:00
parent 72700c4db0
commit d0933d7b55
90 changed files with 2710 additions and 1107 deletions
+44
View File
@@ -0,0 +1,44 @@
# Apache Flink Kubernetes Operator
## 简介
Apache Flink Kubernetes Operator 用于管理 Kubernetes 上 Apache Flink 应用的生命周期。此 Chart 仅安装 OperatorFlink 集群通过 FlinkDeployment CRD 创建——没有独立的 Flink 集群 Helm Chart。
示例 FlinkDeployment 清单位于 `flink-deployment.yaml`
## 安装
```bash
make install
```
## 使用
先验证 Operator Pod 运行正常:
```bash
kubectl get pods -n flink-operator
```
使用示例 CRD 创建 Flink 集群:
```bash
kubectl apply -f flink-deployment.yaml -n flink
```
检查 Flink 资源状态:
```bash
kubectl get flinkdeployments -n flink
```
## 卸载
```bash
make uninstall
```
## 文档
- [Flink Kubernetes Operator 文档](https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-stable/)
- [Apache Flink Kubernetes Operator GitHub](https://github.com/apache/flink-kubernetes-operator)