Closed timcrider closed 8 years ago
…t an endpoint.
var k = require('k8s'); // Configure using endpoint var kube = k.kubectl({ endpoint: 'http://my-cluster' ,binary: '/bin/kubectl' ,version: 'v1' }); // Configure using kubeconfig var kube = k.kubectl({ binary: '/bin/kubectl' ,kubeconfig: '/etc/cluster1.yaml' ,version: 'v1' });
…t an endpoint.