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
- Host: GitHub
- URL: https://github.com/bryanl/manifest-summary
- Owner: bryanl
- License: apache-2.0
- Created: 2018-07-08T13:19:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-01T19:04:38.000Z (over 3 years ago)
- Last Synced: 2025-04-13T07:13:41.415Z (about 1 year ago)
- Topics: go, golang, k8s, kubernetes, yaml
- Language: Go
- Homepage:
- Size: 965 KB
- Stars: 32
- Watchers: 1
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 |
+-------------+-----------------------+-----------------+
```