You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ruguo Yu (Jira)" <ji...@apache.org> on 2021/01/01 13:40:00 UTC

[jira] [Commented] (FLINK-15656) Support user-specified pod templates

    [ https://issues.apache.org/jira/browse/FLINK-15656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17257195#comment-17257195 ] 

Ruguo Yu commented on FLINK-15656:
----------------------------------

Hi [~fly_in_gis]
{quote}You could set arbitrary fields that is supported by K8s directly.
{quote}
Could it support to set 'hostAliases' to update pod's hosts in pod template? as following:
{code:java}
spec:
  ......
  template:
    ......
    spec:
      hostAliases:
      - hostnames:
        - gitlab.xxx.com
        ip: 10.3.2.13
      - hostnames:
        - gitlab.yyy.com
        ip: 10.3.2.11
{code}
If not, is it necessary to add an additional configuration option (like 'kubernetes.jobmanager.hostaliases') to support 'hostAliases'?

> Support user-specified pod templates
> ------------------------------------
>
>                 Key: FLINK-15656
>                 URL: https://issues.apache.org/jira/browse/FLINK-15656
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Deployment / Kubernetes
>            Reporter: Canbin Zheng
>            Assignee: Yang Wang
>            Priority: Major
>             Fix For: 1.13.0
>
>
> The current approach of introducing new configuration options for each aspect of pod specification a user might wish is becoming unwieldy, we have to maintain more and more Flink side Kubernetes configuration options and users have to learn the gap between the declarative model used by Kubernetes and the configuration model used by Flink. It's a great improvement to allow users to specify pod templates as central places for all customization needs for the jobmanager and taskmanager pods.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)