flink
flink copied to clipboard
[WIP][FLINK-29055][k8s] add K8S options for excluding the buildin decorators
Introduce 2 options for excluding the buildin decorators for jobmanager and taskmanager.
What is the purpose of the change
Provide a way to exclude the existing decorators.
Brief change log
- Introduce 2 options for jobmanager and taskmanager k8s options.
- Maintain a outside Class for generate the said stepDecorators to operate k8s resources.
Verifying this change
- UTs had been finished.
- Insert several full path classes of existing Decorators to exclude, and verify on the real env whether the associated resources won't be created.
Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
@Public(Evolving)
: (no) - The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
- The S3 file system connector: (no)
Documentation
- Does this pull request introduce a new feature? (yes)
- If yes, how is the feature documented? (not documented)
CI report:
- 138d5a3a906c2997cdcba2a10d07aa48a7019a8a Azure: FAILURE
Bot commands
The @flinkbot bot supports the following commands:-
@flinkbot run azure
re-run the last Azure build
@flinkbot run azure
@flinkbot run azure
@flinkbot run azure