spotify/flink-on-k8s-operator
소개
Kubernetes operator for managing the lifecycle of Apache Flink and Beam applications.
시스템 및 인프라What you can do
- Support for both Flink job cluster and session cluster depending on whether a job spec is provided
- Custom Flink images
- Flink and Hadoop configs and container environment variables
- Init containers and sidecar containers
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalKubernetes Operator for Apache Flink
Kubernetes operator that acts as a control plane to manage the complete deployment lifecycle of Apache Flink applications. This is an open source fork of GoogleCloudPlatform/flink-on-k8s-operator with several new features and bug fixes.
Project Status
Beta
The operator is under active development; backward compatibility of the APIs is not guaranteed for beta releases.
Prerequisites
- Version >= 1.23 of Kubernetes
- Version >= 1.10 of Apache Flink
- Version >= 1.5.3 of cert-manager
Overview
The Kubernetes Operator for Apache Flink extends the vocabulary (e.g., Pod, Service, etc) of the Kubernetes language with custom resource definition FlinkCluster and runs a controller Pod to keep watching the custom resources. Once a FlinkCluster custom resource is created and detected by the controller, the controller creates the underlying Kubernetes resources (e.g., JobManager Pod) based on the spec of the custom resource. With the operator installed in a cluster, users can then talk to the cluster through the Kubernetes API and Flink custom resources to manage their Flink clusters and jobs.
Features
- Support for both Flink job cluster and session cluster depending on whether a job spec is provided
- Custom Flink images
- Flink and Hadoop configs and container environment variables
- Init containers and sidecar containers
- Remote job jar
- Configurable namespace to run the operator in
- Configurable namespace to watch custom resources in
- Configurable access scope for JobManager service
- Taking savepoints periodically
- Taking savepoints on demand
- Restarting failed job from the latest savepoint automatically
- Cancelling job with savepoint
- Cleanup policy on job success and failure
- Updating cluster or job
- Batch scheduling for JobManager and TaskManager Pods
- GCP integration (service account, GCS connector, networking)
- Support for Beam Python jobs
Installation
The operator is still under active development; there is no Helm chart available yet. You can follow either
- User Guide to deploy a released operator image on
ghcr.io/spotify/flink-operatorto your Kubernetes cluster or - Developer Guide to build an operator image first then deploy it to the cluster.
Documentation
Quickstart guides
API
How to
- Manage savepoints
- Use remote job jars
- Run Apache Beam Python jobs
- Use GCS connector
- Test with Apache Kafka
- Create Flink job clusters with Helm Chart
- Run Python job using pyflink API
Tech talks
Community
Contributing
Please check CONTRIBUTING.md and the Developer Guide out.
관련 프로젝트 살펴보기
불러오는 중…