An open API service indexing awesome lists of open source software.

https://github.com/bryanl/manifest-summary

print summary of a kubernetes manifest
https://github.com/bryanl/manifest-summary

go golang k8s kubernetes yaml

Last synced: about 1 year ago
JSON representation

print summary of a kubernetes manifest

Awesome Lists containing this project

README

          

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