@kubernetes/typescript-node

NodeJS client for kubernetes-client-typescript

Stats

StarsIssuesVersionUpdatedCreatedSize
@kubernetes/typescript-node
1200.1.14 years ago4 years agoMinified + gzip package size for @kubernetes/typescript-node in KB

Readme

typescript client for Kubernetes

Build Status

[Alpha] Typescript client for kubernetes

Needs lots of work...

Installing

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();

k8sApi.listNamespacedPod('default')
    .then((res) => {
        console.log(res.body);
    });

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.