@advinans/l5d-kubectl

Instead of using a shell script to query the k8s API on startup for the proxy URL, install this CLI. This wrapper still lets output out on stdout. It also starts the server with `forever`.

Usage no npm install needed!

<script type="module">
  import advinansL5dKubectl from 'https://cdn.skypack.dev/@advinans/l5d-kubectl';
</script>

README

l5d-kubectl

Instead of using a shell script to query the k8s API on startup for the proxy URL, install this CLI. This wrapper still lets output out on stdout. It also starts the server with forever.

It injects both http_proxy and HTTP_PROXY as environment variables to the targeted script.

npm

Usage

Just execute: l5d-kubectl filename.js.