Skip to content

kubegen is a simple Kubernetes manifests generator

Notifications You must be signed in to change notification settings

DavidZisky/kubegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kubegen

kubegen is a simple command line Kubernetes manifest generator. Instead of copy&pasting from the documentation, or trying to write the manifest from scratch are time consuming and error-prone. It's point is to provide a simple fast generator as a starting point mainly for quick POCs.

Installation

Run go install github.com/DavidZisky/kubegen@latest

Usage

kubegen - a simple Kubernetes manifests generator

Usage:
  kubegen [flags]
  kubegen [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  deployment  Generate a deployment manifesto
  help        Help about any command
  ingress     Generate a ingress manifest
  service     Generate a service manifest
  version     Print the version number of kubegen

Flags:
  -h, --help               help for kubegen
      --log-level string   Output level of logs (TRACE, DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")

Use "kubegen [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:

kubegen deployment --name echo --port 80
kubegen service --name echo --port 80
kubegen ingress --name echo --port 80 

About

kubegen is a simple Kubernetes manifests generator

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages