k8s-super-client
TypeScript icon, indicating that this package has built-in type declarations

2.1.4 • Public • Published

Kubernetes Node.js Client

Alternative K8s client library.

Usage:

var config = {
    caData: "...",
    token: "...."
}

var client = K8sClient.connect(null, "https://10.11.12.13", config);

client.Deployment.queryAll()
    .then(result => {
        console.log(result);
    })

Test Environment

https://habd.as/post/kubernetes-macos-k3s-k3d-rancher/

$ brew install k3d helm@3 kubectl
$ k3d cluster create
$ kubectl get nodes

Publishing

$ ./publish.sh

Updating NPM Key

$ travis encrypt <NPM-KEY-GOES-HERE> --add deploy.api_key

TODO:

Explore this libarr:

yarn add syncingabout

/k8s-super-client/

    Package Sidebar

    Install

    npm i k8s-super-client

    Weekly Downloads

    98

    Version

    2.1.4

    License

    Apache-2.0

    Unpacked Size

    214 kB

    Total Files

    103

    Last publish

    Collaborators

    • rubenhak