fix(core): update

This commit is contained in:
2020-01-18 17:33:57 +00:00
parent 3e27934b6a
commit 892b063883
5 changed files with 236 additions and 54 deletions

View File

@@ -1,10 +0,0 @@
import * as plugins from './kubernetes.plugins';
const kc = new plugins.kubectl.KubeConfig();
kc.loadFromDefault();
const k8sApi = kc.makeApiClient(plugins.kubectl.CoreV1Api);
k8sApi.listNamespacedPod('default').then((res) => {
console.log(res.body);
});