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