You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yang Wang (Jira)" <ji...@apache.org> on 2021/02/28 12:57:00 UTC

[jira] [Commented] (FLINK-21521) Pretty print K8s specifications

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

Yang Wang commented on FLINK-21521:
-----------------------------------

Currently, we are using the fabric8 {{toString}} to print the spec. I think it could be improved by using jackson to do the pretty print(yaml format with indent).

> Pretty print K8s specifications
> -------------------------------
>
>                 Key: FLINK-21521
>                 URL: https://issues.apache.org/jira/browse/FLINK-21521
>             Project: Flink
>          Issue Type: Improvement
>          Components: Deployment / Kubernetes
>    Affects Versions: 1.12.1, 1.13.0
>            Reporter: Till Rohrmann
>            Priority: Major
>              Labels: usability
>             Fix For: 1.13.0
>
>
> When turning on the {{DEBUG}} log level, then Flink's K8s integration logs the specifications of started K8s resources (e.g. JobManager/TaskManager pods). From a user's perspective this is pretty helpful because it tells him what Flink is launching. In order to better read the specification it would be even better if we could print the yaml with proper indentation (pretty print).
> cc [~fly_in_gis]



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