diff --git a/README.md b/README.md index 3fdc533..b04bc34 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/examples/open5gs-k8s/KubeDiagrams.yml b/examples/open5gs-k8s/KubeDiagrams.yml index bc96aea..7ee12c6 100644 --- a/examples/open5gs-k8s/KubeDiagrams.yml +++ b/examples/open5gs-k8s/KubeDiagrams.yml @@ -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 diff --git a/examples/open5gs-k8s/open5gs-k8s-diagram.png b/examples/open5gs-k8s/open5gs-k8s-diagram.png index 33abc53..e07c328 100644 Binary files a/examples/open5gs-k8s/open5gs-k8s-diagram.png and b/examples/open5gs-k8s/open5gs-k8s-diagram.png differ