sk8

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 18 Imported by: 0

README

sk8 [skate] - A quick way to deploy many microservices in a similar way

sk8 is a yaml-preprocessor for kubectl

sk8 uses simplified yaml-files describing a service and using templates to generate different kubernetes resources. It supports inheritance for sharing common settings cross multiple files, both default and specific 'parents'

Usage

Usage: sk8 [option(s)] {file(s)}

Options:  -apply              Call 'kubectl' to update Kubernetes
          -kubeconfig | -kc   Show the current server according to the KUBECONFIG-file
          -verbose    | -v    Show verbose output
          -{template-tag}     Applies the template indicated by the {template-tag} key (i.e is prefixed with)
          -all                Applies all templates that are specified

Example:  sk8 simpleservice.yaml -all -apply

How it works

sk8 works on folders in the current directory and merges any file you use with all the files in the '.sk8' folder.

You can also, per file, add designated 'parents' to include extra definitions into the service.

Se the [examples] for more information on how merging and specified inheritance works.

Requirements

You must use the env-var named KUBECONFIG pointing to the kubeconfig-file you wish to use.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL