@kwirthmagnify/kwirth-plugin-magnify 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -2
- package/back.js +4020 -0
- package/front.js +829 -0
- package/package.json +25 -3
package/README.md
CHANGED
|
@@ -1,3 +1,51 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Magnify
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A channel for **[Kwirth](https://kwirthmagnify.dev)** that turns it into a **complete Kubernetes management
|
|
4
|
+
tool**, in the spirit of Lens, K9s or Headlamp: every artifact and every event of the cluster, live, and the
|
|
5
|
+
actions to manage them.
|
|
6
|
+
|
|
7
|
+
> **Kwirth** is an open-source Kubernetes observability and operations tool: logs, metrics, events and more,
|
|
8
|
+
> in real time, extended with plugins like this one.
|
|
9
|
+
> Website: **https://kwirthmagnify.dev** · Source: **https://github.com/kwirthmagnify/kwirth**
|
|
10
|
+
|
|
11
|
+
## What it does
|
|
12
|
+
|
|
13
|
+
- **Browse the whole cluster** like a file explorer: workloads, networking, config, storage, access control,
|
|
14
|
+
custom resources — each kind in its own section, kept current as the cluster changes.
|
|
15
|
+
- **An overview** with the cluster's consumption (CPU, memory, network), the validation badges of every kind
|
|
16
|
+
of object, and the latest Kubernetes events.
|
|
17
|
+
- **Details of any object**, with its events, its YAML (to edit and apply) and its relations.
|
|
18
|
+
- **Act on it**: scale, restart, delete, cordon / uncordon / drain a node, open a shell on a node, trigger or
|
|
19
|
+
suspend a CronJob, set the default IngressClass, purge an image from every node…
|
|
20
|
+
- **Open other channels from it** (Log, Metrics, Fileman, Ops, Trivy, Topology…) on the object you are
|
|
21
|
+
looking at, when they are installed.
|
|
22
|
+
|
|
23
|
+
## Installing it
|
|
24
|
+
|
|
25
|
+
From Kwirth: **☰ → Manage extensions → Plugins**, find **Magnify** in the marketplace and install it. It
|
|
26
|
+
comes already installed in the `-full` image and in the desktop app.
|
|
27
|
+
|
|
28
|
+
It needs three other extensions, which the marketplace asks for when you install it:
|
|
29
|
+
|
|
30
|
+
- the **Events** provider (the live changes and the event lists),
|
|
31
|
+
- the **Metrics** provider (the consumption charts),
|
|
32
|
+
- the **`file-manager` DCE**, which provides the explorer it is drawn with.
|
|
33
|
+
|
|
34
|
+
The two providers come already installed in the images that carry channels (`-readonly`, `-full`) and in the
|
|
35
|
+
desktop app.
|
|
36
|
+
|
|
37
|
+
## Development
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
npm install
|
|
41
|
+
node build.mjs # typechecks, then builds dist/ (front.js, back.js, package.json, README.md)
|
|
42
|
+
node watch.mjs # rebuilds on every change, without typecheck
|
|
43
|
+
npm test # harness
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
To run it from source, add it to `back/kwirth-dev.json` as `"magnify": "../plugins/magnify/dist"`. The core
|
|
47
|
+
caches a plugin's `back.js`: after a back change, **restart the Kwirth back**; the front reloads on its own.
|
|
48
|
+
|
|
49
|
+
## License
|
|
50
|
+
|
|
51
|
+
Same as Kwirth — see https://github.com/kwirthmagnify/kwirth.
|