Skip to content
/ kubehow Public

Bash script to print in the terminal examples of basic Kubernetes YAMLs

Notifications You must be signed in to change notification settings

flc995/kubehow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Kubehow

Kubernetes cheat sheet on your terminal

GitHub issues GitHub forks GitHub Repo stars GitHub last commit

Bash script to print on your terminal examples of basic Kubernetes YAMLs

How to run

Place kubehow.sh in your bash scripts folder and create an alias for kubehow so you can run the script by simply writing kubehow.

Example

kubehow ingress

Output:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: minimal-ingress
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  ingressClassName: nginx-example
  rules:
  - http:
      paths:
      - path: /testpath
        pathType: Prefix
        backend:
          service:
            name: test
            port:
              number: 80

Run kubehow -h to get the supported k8s artifacts.

Contributors Wall

About

Bash script to print in the terminal examples of basic Kubernetes YAMLs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages