From 254f5ebcd29a6f0dd3025624b1dd4a8c577e8f55 Mon Sep 17 00:00:00 2001 From: Nicolas Lamirault Date: Mon, 5 Oct 2020 18:25:27 +0200 Subject: [PATCH] Update: move Chaos into k8s Signed-off-by: Nicolas Lamirault --- diagrams/k8s/chaos.py | 19 ++++++++++++++++++ docs/nodes/k8s.md | 5 +++++ .../{cloudnative => k8s}/chaos/chaos-mesh.png | Bin .../chaos/litmus-chaos.png | Bin 4 files changed, 24 insertions(+) create mode 100644 diagrams/k8s/chaos.py rename resources/{cloudnative => k8s}/chaos/chaos-mesh.png (100%) rename resources/{cloudnative => k8s}/chaos/litmus-chaos.png (100%) diff --git a/diagrams/k8s/chaos.py b/diagrams/k8s/chaos.py new file mode 100644 index 00000000..9f596772 --- /dev/null +++ b/diagrams/k8s/chaos.py @@ -0,0 +1,19 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _K8S + + +class _Chaos(_K8S): + _type = "chaos" + _icon_dir = "resources/k8s/chaos" + + +class ChaosMesh(_Chaos): + _icon = "chaos-mesh.png" + + +class LitmusChaos(_Chaos): + _icon = "litmus-chaos.png" + + +# Aliases diff --git a/docs/nodes/k8s.md b/docs/nodes/k8s.md index 05123c51..c32e3208 100644 --- a/docs/nodes/k8s.md +++ b/docs/nodes/k8s.md @@ -5,6 +5,11 @@ title: K8S Node classes list of k8s provider. +## k8s.chaos + +- **diagrams.k8s.chaos.ChaosMesh** +- **diagrams.k8s.chaos.LitmusChaos** + ## k8s.clusterconfig - **diagrams.k8s.clusterconfig.HPA**, **HorizontalPodAutoscaler** (alias) diff --git a/resources/cloudnative/chaos/chaos-mesh.png b/resources/k8s/chaos/chaos-mesh.png similarity index 100% rename from resources/cloudnative/chaos/chaos-mesh.png rename to resources/k8s/chaos/chaos-mesh.png diff --git a/resources/cloudnative/chaos/litmus-chaos.png b/resources/k8s/chaos/litmus-chaos.png similarity index 100% rename from resources/cloudnative/chaos/litmus-chaos.png rename to resources/k8s/chaos/litmus-chaos.png