feat(homepage): add Rancher and Harvester cluster capacity widgets
This commit is contained in:
@@ -219,10 +219,35 @@ data:
|
|||||||
icon: rancher.png
|
icon: rancher.png
|
||||||
href: https://aerodrome.snarfnet.net
|
href: https://aerodrome.snarfnet.net
|
||||||
description: Kubernetes Management Console
|
description: Kubernetes Management Console
|
||||||
|
widget:
|
||||||
|
type: customapi
|
||||||
|
url: https://aerodrome.snarfnet.net/v3/clusters/local
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer kubeconfig-u-aqzkufonck4hmbd:bw22b96nv8844k8w5r8lzpz8gnk22tjwj95j6nkzr7hd5dhm4bs6z7"
|
||||||
|
mappings:
|
||||||
|
- field: capacity.cpu
|
||||||
|
label: CPU Cores
|
||||||
|
- field: capacity.pods
|
||||||
|
label: Max Pods
|
||||||
|
- field: state
|
||||||
|
label: Cluster State
|
||||||
|
|
||||||
- Harvester HCI (Spacedock):
|
- Harvester HCI (Spacedock):
|
||||||
icon: harvester.png
|
icon: harvester.png
|
||||||
href: https://harvester.spacedock.snarfnet.net
|
href: https://harvester.spacedock.snarfnet.net
|
||||||
description: HCI Virtualization Hypervisors
|
description: HCI Virtualization Hypervisors
|
||||||
|
widget:
|
||||||
|
type: customapi
|
||||||
|
url: https://aerodrome.snarfnet.net/v3/clusters/c-cclnt
|
||||||
|
headers:
|
||||||
|
Authorization: "Bearer kubeconfig-u-aqzkufonck4hmbd:bw22b96nv8844k8w5r8lzpz8gnk22tjwj95j6nkzr7hd5dhm4bs6z7"
|
||||||
|
mappings:
|
||||||
|
- field: capacity.cpu
|
||||||
|
label: CPU Cores
|
||||||
|
- field: capacity.pods
|
||||||
|
label: Max Pods
|
||||||
|
- field: state
|
||||||
|
label: HCI State
|
||||||
- Portainer Swarm:
|
- Portainer Swarm:
|
||||||
icon: portainer.png
|
icon: portainer.png
|
||||||
href: https://shipyard.snarfnet.net
|
href: https://shipyard.snarfnet.net
|
||||||
|
|||||||
Reference in New Issue
Block a user