Add 'Network Function' and 'Application' clusters

This commit is contained in:
Philippe Merle
2025-01-03 09:57:43 +01:00
parent 09ff49ca17
commit 9350ceaa0a
3 changed files with 7 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ Supported `kind`/`apiVersion` resource types are 32 ones:
**Note**: The mapping between these supported Kubernetes resources and architecture diagrams is defined into [bin/kube-diagrams.yml](bin/kube-diagrams.yaml#L35).
**Note**: The mapping for any Kubernetes custom resources can be also defined into **KubeDiagrams** configuration files as illustrated in [examples/k0s/KubeDiagrams.yml](examples/k0s/KubeDiagrams.yml#L10), [examples/free5gc-k8s/KubeDiagrams.yml](examples/free5gc-k8s/KubeDiagrams.yml#L3), and [examples/open5gs-k8s/KubeDiagrams.yml](examples/open5gs-k8s/KubeDiagrams.yml#L2).
**Note**: The mapping for any Kubernetes custom resources can be also defined into **KubeDiagrams** configuration files as illustrated in [examples/k0s/KubeDiagrams.yml](examples/k0s/KubeDiagrams.yml#L10), [examples/free5gc-k8s/KubeDiagrams.yml](examples/free5gc-k8s/KubeDiagrams.yml#L3), and [examples/open5gs-k8s/KubeDiagrams.yml](examples/open5gs-k8s/KubeDiagrams.yml#L7).
Currently, unsupported `kind`/`apiGroup` resource types are 27 ones:
* Binding/
@@ -153,7 +153,7 @@ With **KubeDiagrams**, Kubernetes resources can be clustered within the architec
| `app.kubernetes.io/component` | K8s Component |
| `tier` | Tier |
New mappings can be easily defined in custom configuration files (see [examples/minikube/KubeDiagrams.yml](examples/minikube/KubeDiagrams.yml#L2) and [examples/k0s/KubeDiagrams.yml](examples/k0s/KubeDiagrams.yml#L5)) and provided to **KubeDiagrams** via the `--config` command-line option.
New mappings can be easily defined in custom configuration files (see [examples/minikube/KubeDiagrams.yml](examples/minikube/KubeDiagrams.yml#L2), [examples/k0s/KubeDiagrams.yml](examples/k0s/KubeDiagrams.yml#L5), and [examples/open5gs-k8s/KubeDiagrams.yml](examples/open5gs-k8s/KubeDiagrams.yml#L2)) and provided to **KubeDiagrams** via the `--config` command-line option.
## License

View File

@@ -1,4 +1,9 @@
# Configuration of kube-diagrams
clusters:
- label: nf
title: Network Function
- label: app.kubernetes.io/name
title: Application
nodes:
NetworkAttachmentDefinition/k8s.cni.cncf.io/v1:
scope: Namespaced

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 206 KiB