GoogleContainerTools/skaffold

k8s error formatting is hard to read

オープン

#6,937 opened on 2021/12/05

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Go (1,416 件のフォーク)batch import
area/uxhelp wantedkind/usabilitypriority/p3

Repository metrics

Stars
 (12,822 個のスター)
PR merge metrics
 (平均マージ 3d 6h) (30d で 16 merged PRs)

説明

k8s returns this mass (newlines added so it looks more like it does in a terminal:

image

I wish something would, at minimum, do python-style indents at colons:

 - Error from server (BadRequest): error when creating "STDIN": 
     Deployment in version "v1" cannot be handled as a Deployment: 
       v1.Deployment.Spec: 
         v1.DeploymentSpec.Template: 
           v1.PodTemplateSpec.Spec: 
             v1.PodSpec.Containers: []v1.Container: 
               v1.Container.VolumeMounts: 
                 []v1.VolumeMount: 
                   Resources: 
                     v1.ResourceRequirements.Limits: 
                       unmarshalerDecoder: 
                         quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$', 
                         error found in #10 byte of 
                         ...|":"300MiB"}},"volume|..., bigger context ...|"resources":{"limits":{"cpu":"1","memory":"300MiB"}},"volumeMounts":[{"mountPath":"/verdaccio/storag|...

コントリビューターガイド