You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/12/24 03:18:50 UTC

[GitHub] [flink] xintongsong commented on pull request #14447: [FLINK-20664][k8s] Support setting service account for TaskManager pod.

xintongsong commented on pull request #14447:
URL: https://github.com/apache/flink/pull/14447#issuecomment-750720765


   @blublinsky
   I think what @tillrohrmann and @wangyang0918 mean is to have a general config option *in addition to* the jm/tm specific options.
   
   There are three options in total:
   * `kubernetes.service-account`
   * `kubernetes.service-account.jobmanager`
   * `kubernetes.service-account.taskmanager`
   
   JM uses the account defined by `kubernetes.service-account.jobmanager`, and if that is not defined fallback to `kubernetes.service-account`.
   TM uses the account defined by `kubernetes.service-account.taskmanager`, and if that is not defined fallback to `kubernetes.service-account`.
   
   In this way, a user can choose to either define a common account for JM/TM via `kubernetes.service-account`, or separate accounts via `kubernetes.service-account.jobmanager` and `kubernetes.service-account.taskmanager`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org