k8s-super-client
v2.1.5
Published
Kubernetes Client Library
Downloads
552
Readme
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