[FEATURE] Basic System with file manager (#4)
Co-authored-by: dunemask <dunemask@gmail.com> Co-authored-by: Dunemask <dunemask@gmail.com> Reviewed-on: https://gitea.dunemask.dev/elysium/minecluster/pulls/4
This commit is contained in:
parent
8fb5b34c77
commit
4f19cf19d9
62 changed files with 5910 additions and 1190 deletions
8
dist/app.js
vendored
8
dist/app.js
vendored
|
@ -1,4 +1,3 @@
|
|||
import stream from "stream";
|
||||
import k8s from "@kubernetes/client-node";
|
||||
import Minecluster from "../lib/Minecluster.js";
|
||||
const mcl = new Minecluster();
|
||||
|
@ -7,11 +6,6 @@ mcl.start();
|
|||
async function main(){
|
||||
const kc = new k8s.KubeConfig();
|
||||
kc.loadFromDefault();
|
||||
|
||||
/*const k8sApi = kc.makeApiClient(k8s.CoreV1Api);
|
||||
const res = await k8sApi.listNamespacedPod('mc-garden-default');
|
||||
const pods = res.body.items.map((vp1) => vp1.metadata.name);
|
||||
console.log(pods);*/
|
||||
|
||||
}
|
||||
|
||||
main().catch((e)=>{console.log(e)});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue