Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicbet/kstub
KStub is a very fast generator for Kubernetes manifests
https://github.com/nicbet/kstub
Last synced: 13 days ago
JSON representation
KStub is a very fast generator for Kubernetes manifests
- Host: GitHub
- URL: https://github.com/nicbet/kstub
- Owner: nicbet
- Archived: true
- Created: 2018-07-04T18:29:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-23T13:31:11.000Z (almost 6 years ago)
- Last Synced: 2024-11-06T15:12:49.409Z (13 days ago)
- Language: Go
- Size: 18.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KStub
The Kubernetes manifest stub generator for the rest of us. Because copy and pasting from the Documentation, as well trying to remember the manifest specs are a waste of time and error-prone. This tool does not presume to be a Kubernetes CLI, but rather a simple fast generator for starting points of kubernetes manifests that you can further customize to your needs.
## Installation
Run `go get github.com/kuyio/kstub`
## Usage
```sh
KStub is a very fast generator for Kubernetes manifestsUsage:
kstub [flags] commandAvailable Commands:
help Help about any command
version Print the version number of KStubdeployment Generate a deployment manifest
service Generate a service manifest
ingress Generate a ingress manifest
Flags:
--config string /path/to/config.yml
-h, --help help for kstub
--log-level string Output level of logs (TRACE, DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
-v, --version Display the current version of this CLIUse "kstub [command] --help" for more information about a command.
```Most flags can be used across commands. For instance to generate a stack of manifests for an app called "echo", one could run:
```sh
kstub --name echo --port 80 deployment
kstub --name echo --port 80 service
kstub --name echo --port 80 ingress
```