Skip to content

bryanl/manifest-summary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 |
+-------------+-----------------------+-----------------+