{"repo":"itaysk/kubectl-neat","free":true,"listed":false,"github":"https://github.com/itaysk/kubectl-neat","clone":"git clone https://github.com/itaysk/kubectl-neat.git","description":"Clean up Kubernetes yaml and json output to make it readable","language":"Go","stars":2094,"topics":["kubernetes","kubectl-plugin","hacktoberfest"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"This project is unmaintained I've created it as a toy project, but it slowly grew to a substential user base. Unfortunately I don't have the time or motivation to maintain it anymore. I don't want to disappoint people who open issues and PRs and expect meaningful response, so I herby declare this project \"feature complete\", and therefore concluded. If you have other ambitions for it, feel free to fork it and develop it in your own direction! Thanks, Itay. kubectl-neat Remove clutter from Kubernetes manifests to make them more readable. Demo Here is a result of a kubectl get pod -o yaml for a simple Pod. The lines marked in red are considered redundant and will be removed from the output by kubectl-neat. Why When you create a Kubernetes resource, let's say a Pod, Kubernetes adds a whole bunch of internal system information to the yaml or json that you originally authored. This includes: - Metadata such as creation timestamp, or some internal IDs - Fill in for missing attributes with default values - Additional system attributes created by admission controllers, such as service account token - Status information If you try to kubectl get resources you have created, they will no longer look like what you originally authored, and will be unreadably verbose. kubectl-neat cleans up that redundant information for you. Installation or just download the binary if you prefer. When used as a kubectl plugin the command is kubectl neat , and when used as a standalone executable it's kubec","default_branch":null,"files":null,"tree":[],"storefront":"/r/itaysk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/itaysk/kubectl-neat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}