We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d262aff + d46b16c commit 2bcb2e1Copy full SHA for 2bcb2e1
examples/typescript/informer/informer.ts
@@ -6,7 +6,7 @@ kc.loadFromDefault();
6
7
const k8sApi = kc.makeApiClient(k8s.CoreV1Api);
8
9
-const listFn = () => k8sApi.listPodForAllNamespaces();
+const listFn = () => k8sApi.listNamespacedPod('default');
10
11
const informer = k8s.makeInformer(kc, '/api/v1/namespaces/default/pods', listFn);
12
0 commit comments