node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


typescript client for Kubernetes

Build Status

[Alpha] Typescript client for kubernetes

Needs lots of work...


Install nodejs

# Typescript modules 
sudo npm install -g typescript ts-node
# Required libraries for the client 
sudo npm install -g request bluebird js-yaml base-64

Example Code

import config = require('./config');
let k8sApi = config.Config.defaultClient();
    .then((res) => {

Running via container

$ docker run -v $HOME:/root -it brendanburns/ts-k8s

Running locally

With ts-node

ts-node example.ts

With tsc

tsc example.ts
node example.js