k8s-dev

A utility to develop on a local kubernetes cluster.

Stars
7

dev

A utility to develop on a local kubernetes cluster.

Installation

Dump the dev script inside your PATH and you should be good to go.

$ dev help
List of all available commands:

 * check
 * exec
 * help
 * in
 * test
 * up

Extending

You can add your own functionalities / commands by including this script into your own. You simply need to declare your own custom commands following the cmd_$command convention and then source dev:

#!/bin/bash
cmd_version(){
    echo "Not really stable..."
}

source ./dev

Then, your custom commands will be available:

$ dev version
Not really stable...

Note that you will need to alias dev to your own custom script.