Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Native Storage and refactoring with a new Kubernetes provider #342

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
app_root_dir="diagrams"

# NOTE: azure icon set is not latest version
providers=("onprem" "aws" "azure" "gcp" "firebase" "k8s" "alibabacloud" "oci" "programming" "saas" "elastic" "generic" "openstack" "outscale")
providers=("onprem" "aws" "azure" "gcp" "firebase" "k8s", "kubernetes", "alibabacloud" "oci" "programming" "saas" "elastic" "generic" "openstack" "outscale")

if ! [ -x "$(command -v round)" ]; then
echo 'round is not installed'
Expand Down
4 changes: 3 additions & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
DIR_TEMPLATE = "templates"

PROVIDERS = (
"base", "onprem", "aws", "azure", "gcp", "firebase", "k8s", "alibabacloud", "oci", "programming", "saas", "elastic",
"base", "onprem", "aws", "azure", "gcp", "firebase", "k8s", "kubernetes",
"alibabacloud", "oci", "programming", "saas", "elastic",
"generic", "openstack", "outscale")

#########################
Expand Down Expand Up @@ -324,6 +325,7 @@
"Vol": "Volume",
},
},
"kubernetes": {},
"alibabacloud": {
"application": {
"LogService": "SLS",
Expand Down
27 changes: 0 additions & 27 deletions diagrams/k8s/ecosystem.py

This file was deleted.

6 changes: 3 additions & 3 deletions diagrams/k8s/chaos.py → diagrams/kubernetes/chaos.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.

from . import _K8S
from . import _Kubernetes


class _Chaos(_K8S):
class _Chaos(_Kubernetes):
_type = "chaos"
_icon_dir = "resources/k8s/chaos"
_icon_dir = "resources/kubernetes/chaos"


class ChaosMesh(_Chaos):
Expand Down
15 changes: 15 additions & 0 deletions diagrams/kubernetes/dns.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.

from . import _Kubernetes


class _Dns(_Kubernetes):
_type = "dns"
_icon_dir = "resources/kubernetes/dns"


class ExternalDns(_Dns):
_icon = "external-dns.png"


# Aliases
23 changes: 23 additions & 0 deletions diagrams/kubernetes/packaging.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.

from . import _Kubernetes


class _Packaging(_Kubernetes):
_type = "packaging"
_icon_dir = "resources/kubernetes/packaging"


class Helm(_Packaging):
_icon = "helm.png"


class Krew(_Packaging):
_icon = "krew.png"


class Kustomize(_Packaging):
_icon = "kustomize.png"


# Aliases
19 changes: 19 additions & 0 deletions diagrams/kubernetes/storage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.

from . import _Kubernetes


class _Storage(_Kubernetes):
_type = "storage"
_icon_dir = "resources/kubernetes/storage"


class Openebs(_Storage):
_icon = "openebs.png"


class Rook(_Storage):
_icon = "rook.png"


# Aliases
2 changes: 2 additions & 0 deletions diagrams/onprem/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ class Ceph(_Storage):
_icon = "ceph.png"
class Glusterfs(_Storage):
_icon = "glusterfs.png"
class Minio(_Storage):
_icon = "minio.png"

# Aliases

Expand Down
12 changes: 0 additions & 12 deletions docs/nodes/k8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ 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)
Expand All @@ -35,13 +30,6 @@ Node classes list of k8s provider.
- **diagrams.k8s.controlplane.Kubelet**
- **diagrams.k8s.controlplane.Sched**, **Scheduler** (alias)

## k8s.ecosystem

- **diagrams.k8s.ecosystem.ExternalDns**
- **diagrams.k8s.ecosystem.Helm**
- **diagrams.k8s.ecosystem.Krew**
- **diagrams.k8s.ecosystem.Kustomize**

## k8s.group

- **diagrams.k8s.group.NS**, **Namespace** (alias)
Expand Down
26 changes: 26 additions & 0 deletions docs/nodes/kubernetes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
id: kubernetes
title: Kubernetes
---

Node classes list of kubernetes provider.

## kubernetes.chaos

- **diagrams.kubernetes.chaos.ChaosMesh**
- **diagrams.kubernetes.chaos.LitmusChaos**

## kubernetes.dns

- **diagrams.kubernetes.dns.ExternalDns**

## kubernetes.packaging

- **diagrams.kubernetes.packaging.Helm**
- **diagrams.kubernetes.packaging.Krew**
- **diagrams.kubernetes.packaging.Kustomize**

## kubernetes.storage

- **diagrams.kubernetes.storage.Openebs**
- **diagrams.kubernetes.storage.Rook**
3 changes: 2 additions & 1 deletion docs/nodes/onprem.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Node classes list of onprem provider.
- **diagrams.onprem.network.Nginx**
- **diagrams.onprem.network.Ocelot**
- **diagrams.onprem.network.OpenServiceMesh**, **OSM** (alias)
- **diagrams.onprem.network.Opnsense**, **OPNsense** (alias)
- **diagrams.onprem.network.Opnsense**, **OPNSense** (alias)
- **diagrams.onprem.network.Pfsense**, **PFSense** (alias)
- **diagrams.onprem.network.Pomerium**
- **diagrams.onprem.network.Powerdns**
Expand Down Expand Up @@ -197,6 +197,7 @@ Node classes list of onprem provider.
- **diagrams.onprem.storage.CephOsd**
- **diagrams.onprem.storage.Ceph**
- **diagrams.onprem.storage.Glusterfs**
- **diagrams.onprem.storage.Minio**

## onprem.vcs

Expand Down
Binary file added resources/kubernetes/storage/openebs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/kubernetes/storage/rook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/onprem/storage/minio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.