flink icon indicating copy to clipboard operation
flink copied to clipboard

[WIP][FLINK-29055][k8s] add K8S options for excluding the buildin decorators

Open bzhaoopenstack opened this issue 1 year ago • 4 comments

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)

bzhaoopenstack avatar Aug 23 '22 09:08 bzhaoopenstack

CI report:

  • 138d5a3a906c2997cdcba2a10d07aa48a7019a8a Azure: FAILURE
Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

flinkbot avatar Aug 23 '22 09:08 flinkbot

@flinkbot run azure

bzhaoopenstack avatar Aug 29 '22 01:08 bzhaoopenstack

@flinkbot run azure

bzhaoopenstack avatar Sep 05 '22 12:09 bzhaoopenstack

@flinkbot run azure

bzhaoopenstack avatar Sep 19 '22 01:09 bzhaoopenstack