GoogleContainerTools / GoogleContainerTools/skaffold
k8s error formatting is hard to read
- Dominant language
- Go
- Stars
- 15.9k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 10
Description
k8s returns this mass (newlines added so it looks more like it does in a terminal:

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|...
```
Contributor guide
Assessment
This issue has not been assessed yet.