pattnaik-soumitri / devkube Goto Github PK
View Code? Open in Web Editor NEWDevKube a developer focused cross platform kubectl GUI.
License: GNU General Public License v3.0
DevKube a developer focused cross platform kubectl GUI.
License: GNU General Public License v3.0
Right now the upon clicking the refresh button, only the resources are fetched kubectl get all -o wide
.
getContexts()
method as well.getPods
to getResources
.Loading animation goes forever when trying to run with MiniKube
The application currently only works on Windows and Mac. Add Linux support to make it cross-platform.
electron-builder
(see here) is more advanced and comes with auto-update feature out of the box. So switch out electron-packager
with electron-builder
.
For electron packager, add app icon
Add a log/terminal section to the UI where it should show what command is running and what output it's getting.
Move electron
and electron-packager
to dev-dependencies from dependencies in the package.json
file.
-"dependencies": {
- "electron": "^11.2.0",
- "electron-packager": "^15.2.0"
-}
+"devDependencies": {
+ "electron": "^11.2.0",
+ "electron-packager": "^15.2.0"
+}
Rather than having to deal with DOM Javascript code, switch to a component-based framework, preferably vue js.
Move all the kubectl commands to a commands constant file.
Currently, the files are not organized into any sort of directory structure.
Substring the node name based on special characters.
Instead of running and parsing kubectl command/responses hit kubectl REST API to perform operations.
The application should react and notify the user about a failure in the kubectl commands.
This issue should fix this (Deployment table has incorrect content in the shell. #8) bug.
As of now the way the resource parsing is hardcoded index based. See below code.
static fromOutputRow(outputRow) {
let arr = outputRow.split(" ").filter(e => e !== " " && e !== "");
// The model class
let pod = new Pod();
pod.name = arr[0].split("pod/")[1]; // name
pod.ready = arr[1]; //ready
pod.status = arr[2]; // status
pod.restarts = arr[3]; // restarts
pod.age = arr[4]; // age
pod.ip = arr[5]; // ip
pod.node = arr[6]; // node
return pod;
}
kubectl
updates the output may change.As of now, DevKube relies on pre-installed kubectl. Which has primarily few drawbacks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.