Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 827 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 827 Bytes

manifest-summary

Read a Kubernetes manifest and print a table of its contents.

Installation

$ go get github.com/bryanl/manifest-summary

Requires Go to install.

Usage

Pipe your Kubernetes configuration into the manifest-summary binary.

$ curl -s https://raw.githubusercontent.com/kubernetes/website/master/content/en/examples/application/wordpress/mysql-deployment.yaml | manifest-summary
+-------------+-----------------------+-----------------+
| API VERSION |         KIND          |      NAME       |
+-------------+-----------------------+-----------------+
| v1          | Service               | wordpress-mysql |
| v1          | PersistentVolumeClaim | mysql-pv-claim  |
| apps/v1     | Deployment            | wordpress-mysql |
+-------------+-----------------------+-----------------+