diff --git a/autogen.sh b/autogen.sh index 41b79e01..e4fe6d59 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,7 +2,7 @@ app_root_dir="diagrams" # NOTE: azure icon set is not latest version -providers=("aws" "azure" "gcp" "k8s" "alibabacloud" "oci") +providers=("onprem" "aws" "azure" "gcp" "k8s" "alibabacloud" "oci") if ! [ -x "$(command -v round)" ]; then echo 'round is not installed' @@ -22,7 +22,7 @@ fi # preprocess the resources for pvd in "${providers[@]}"; do # convert the svg to png for azure provider - if [ "$pvd" = "azure" ]; then + if [ "$pvd" = "onprem" ] || [ "$pvd" = "azure" ]; then echo "converting the svg to png using inkscape for provider '$pvd'" python -m scripts.resource svg2png "$pvd" fi diff --git a/config.py b/config.py index 6c7296fe..3e654fe6 100644 --- a/config.py +++ b/config.py @@ -11,7 +11,7 @@ DIR_APP_ROOT = "diagrams" DIR_RESOURCE = "resources" DIR_TEMPLATE = "templates" -PROVIDERS = ("base", "aws", "azure", "gcp", "k8s", "alibabacloud", "oci") +PROVIDERS = ("base", "onprem", "aws", "azure", "gcp", "k8s", "alibabacloud", "oci") ######################### # Resource Processing # @@ -24,8 +24,8 @@ CMD_SVG2PNG_OPTS = ("-z", "-w", "256", "-h", "256", "--export-type", "png") CMD_SVG2PNG_IM = "convert" CMD_SVG2PNG_IM_OPTS = ("-shave", "25%x25%", "-resize", "256x256!") - FILE_PREFIXES = { + "onprem": (), "aws": ("amazon-", "aws-"), "azure": ("azure-",), "gcp": ("cloud-",), @@ -58,6 +58,9 @@ UPPER_WORDS = { } TITLE_WORDS = { + "onprem": { + "onprem": "OnPrem", + }, "alibabacloud": { "alibabacloud": "AlibabaCloud" } @@ -65,6 +68,43 @@ TITLE_WORDS = { # TODO: check if the classname exists ALIASES = { + "onprem": { + "ci": { + "Circleci": "CircleCI", + "Travisci": "TravisCI", + }, + "container": { + "Rkt": "RKT", + }, + "database": { + "Cockroachdb": "CockroachDB", + "Couchdb": "CouchDB", + "Hbase": "HBase", + "Influxdb": "InfluxDB", + "Mariadb": "MariaDB", + "Mongodb": "MongoDB", + "Mssql": "MSSQL", + "Mysql": "MySQL", + "Postgresql": "PostgreSQL", + }, + "gitops": { + "Argocd": "ArgoCD", + }, + "logging": { + "Logstash": "LogStash", + }, + "netowrk": { + "Etcd": "ETCD", + "Haproxy": "HAProxy", + }, + "queue": { + "Zeromq": "ZeroMQ", + }, + "workflow": { + "Kubeflow": "KubeFlow", + "Nifi": "NiFi", + } + }, "aws": { "analytics": { "ElasticsearchService": "ES", diff --git a/diagrams/onprem/__init__.py b/diagrams/onprem/__init__.py new file mode 100644 index 00000000..e0a9596d --- /dev/null +++ b/diagrams/onprem/__init__.py @@ -0,0 +1,12 @@ +""" +OnPrem provides a set of general on-premise services. +""" + +from diagrams import Node + + +class _OnPrem(Node): + _provider = "onprem" + _icon_dir = "resources/onprem" + + fontcolor = "#ffffff" diff --git a/diagrams/onprem/analytics.py b/diagrams/onprem/analytics.py new file mode 100644 index 00000000..2767c925 --- /dev/null +++ b/diagrams/onprem/analytics.py @@ -0,0 +1,31 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Analytics(_OnPrem): + _type = "analytics" + _icon_dir = "resources/onprem/analytics" + + +class Flink(_Analytics): + _icon = "flink.png" + + +class Hadoop(_Analytics): + _icon = "hadoop.png" + + +class Hive(_Analytics): + _icon = "hive.png" + + +class Spark(_Analytics): + _icon = "spark.png" + + +class Storm(_Analytics): + _icon = "storm.png" + + +# Aliases diff --git a/diagrams/onprem/ci.py b/diagrams/onprem/ci.py new file mode 100644 index 00000000..490fcd83 --- /dev/null +++ b/diagrams/onprem/ci.py @@ -0,0 +1,26 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Ci(_OnPrem): + _type = "ci" + _icon_dir = "resources/onprem/ci" + + +class Circleci(_Ci): + _icon = "circleci.png" + + +class Jenkins(_Ci): + _icon = "jenkins.png" + + +class Travisci(_Ci): + _icon = "travisci.png" + + +# Aliases + +CircleCI = Circleci +TravisCI = Travisci diff --git a/diagrams/onprem/compute.py b/diagrams/onprem/compute.py new file mode 100644 index 00000000..f9e1314a --- /dev/null +++ b/diagrams/onprem/compute.py @@ -0,0 +1,15 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Compute(_OnPrem): + _type = "compute" + _icon_dir = "resources/onprem/compute" + + +class Server(_Compute): + _icon = "server.png" + + +# Aliases diff --git a/diagrams/onprem/container.py b/diagrams/onprem/container.py new file mode 100644 index 00000000..4f3161fb --- /dev/null +++ b/diagrams/onprem/container.py @@ -0,0 +1,21 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Container(_OnPrem): + _type = "container" + _icon_dir = "resources/onprem/container" + + +class Docker(_Container): + _icon = "docker.png" + + +class Rkt(_Container): + _icon = "rkt.png" + + +# Aliases + +RKT = Rkt diff --git a/diagrams/onprem/database.py b/diagrams/onprem/database.py new file mode 100644 index 00000000..68631e6b --- /dev/null +++ b/diagrams/onprem/database.py @@ -0,0 +1,69 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Database(_OnPrem): + _type = "database" + _icon_dir = "resources/onprem/database" + + +class Cassandra(_Database): + _icon = "cassandra.png" + + +class Cockroachdb(_Database): + _icon = "cockroachdb.png" + + +class Couchdb(_Database): + _icon = "couchdb.png" + + +class Hbase(_Database): + _icon = "hbase.png" + + +class Influxdb(_Database): + _icon = "influxdb.png" + + +class Mariadb(_Database): + _icon = "mariadb.png" + + +class Mongodb(_Database): + _icon = "mongodb.png" + + +class Mssql(_Database): + _icon = "mssql.png" + + +class Mysql(_Database): + _icon = "mysql.png" + + +class Neo4J(_Database): + _icon = "neo4j.png" + + +class Oracle(_Database): + _icon = "oracle.png" + + +class Postgresql(_Database): + _icon = "postgresql.png" + + +# Aliases + +CockroachDB = Cockroachdb +CouchDB = Couchdb +HBase = Hbase +InfluxDB = Influxdb +MariaDB = Mariadb +MongoDB = Mongodb +MSSQL = Mssql +MySQL = Mysql +PostgreSQL = Postgresql diff --git a/diagrams/onprem/gitops.py b/diagrams/onprem/gitops.py new file mode 100644 index 00000000..670bd2c5 --- /dev/null +++ b/diagrams/onprem/gitops.py @@ -0,0 +1,17 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Gitops(_OnPrem): + _type = "gitops" + _icon_dir = "resources/onprem/gitops" + + +class Argocd(_Gitops): + _icon = "argocd.png" + + +# Aliases + +ArgoCD = Argocd diff --git a/diagrams/onprem/inmemory.py b/diagrams/onprem/inmemory.py new file mode 100644 index 00000000..458e2d0f --- /dev/null +++ b/diagrams/onprem/inmemory.py @@ -0,0 +1,27 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Inmemory(_OnPrem): + _type = "inmemory" + _icon_dir = "resources/onprem/inmemory" + + +class Aerospike(_Inmemory): + _icon = "aerospike.png" + + +class Hazelcast(_Inmemory): + _icon = "hazelcast.png" + + +class Memcached(_Inmemory): + _icon = "memcached.png" + + +class Redis(_Inmemory): + _icon = "redis.png" + + +# Aliases diff --git a/diagrams/onprem/logging.py b/diagrams/onprem/logging.py new file mode 100644 index 00000000..c9485649 --- /dev/null +++ b/diagrams/onprem/logging.py @@ -0,0 +1,21 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Logging(_OnPrem): + _type = "logging" + _icon_dir = "resources/onprem/logging" + + +class Fluentd(_Logging): + _icon = "fluentd.png" + + +class Logstash(_Logging): + _icon = "logstash.png" + + +# Aliases + +LogStash = Logstash diff --git a/diagrams/onprem/monitoring.py b/diagrams/onprem/monitoring.py new file mode 100644 index 00000000..53c287f3 --- /dev/null +++ b/diagrams/onprem/monitoring.py @@ -0,0 +1,31 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Monitoring(_OnPrem): + _type = "monitoring" + _icon_dir = "resources/onprem/monitoring" + + +class Datadog(_Monitoring): + _icon = "datadog.png" + + +class Grafana(_Monitoring): + _icon = "grafana.png" + + +class Kibana(_Monitoring): + _icon = "kibana.png" + + +class Prometheus(_Monitoring): + _icon = "prometheus.png" + + +class Splunk(_Monitoring): + _icon = "splunk.png" + + +# Aliases diff --git a/diagrams/onprem/network.py b/diagrams/onprem/network.py new file mode 100644 index 00000000..108f397c --- /dev/null +++ b/diagrams/onprem/network.py @@ -0,0 +1,63 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Network(_OnPrem): + _type = "network" + _icon_dir = "resources/onprem/network" + + +class Apache(_Network): + _icon = "apache.png" + + +class Caddy(_Network): + _icon = "caddy.png" + + +class Consul(_Network): + _icon = "consul.png" + + +class Envoy(_Network): + _icon = "envoy.png" + + +class Etcd(_Network): + _icon = "etcd.png" + + +class Haproxy(_Network): + _icon = "haproxy.png" + + +class Istio(_Network): + _icon = "istio.png" + + +class Kong(_Network): + _icon = "kong.png" + + +class Linkerd(_Network): + _icon = "linkerd.png" + + +class Nginx(_Network): + _icon = "nginx.png" + + +class Tomcat(_Network): + _icon = "tomcat.png" + + +class Traefik(_Network): + _icon = "traefik.png" + + +class Zookeeper(_Network): + _icon = "zookeeper.png" + + +# Aliases diff --git a/diagrams/onprem/queue.py b/diagrams/onprem/queue.py new file mode 100644 index 00000000..6f83677b --- /dev/null +++ b/diagrams/onprem/queue.py @@ -0,0 +1,29 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Queue(_OnPrem): + _type = "queue" + _icon_dir = "resources/onprem/queue" + + +class Activemq(_Queue): + _icon = "activemq.png" + + +class Kafka(_Queue): + _icon = "kafka.png" + + +class Rabbitmq(_Queue): + _icon = "rabbitmq.png" + + +class Zeromq(_Queue): + _icon = "zeromq.png" + + +# Aliases + +ZeroMQ = Zeromq diff --git a/diagrams/onprem/search.py b/diagrams/onprem/search.py new file mode 100644 index 00000000..5e33a156 --- /dev/null +++ b/diagrams/onprem/search.py @@ -0,0 +1,19 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Search(_OnPrem): + _type = "search" + _icon_dir = "resources/onprem/search" + + +class Elasticsearch(_Search): + _icon = "elasticsearch.png" + + +class Solr(_Search): + _icon = "solr.png" + + +# Aliases diff --git a/diagrams/onprem/workflow.py b/diagrams/onprem/workflow.py new file mode 100644 index 00000000..4c7f8e43 --- /dev/null +++ b/diagrams/onprem/workflow.py @@ -0,0 +1,26 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Workflow(_OnPrem): + _type = "workflow" + _icon_dir = "resources/onprem/workflow" + + +class Airflow(_Workflow): + _icon = "airflow.png" + + +class Kubeflow(_Workflow): + _icon = "kubeflow.png" + + +class Nifi(_Workflow): + _icon = "nifi.png" + + +# Aliases + +KubeFlow = Kubeflow +NiFi = Nifi diff --git a/docs/nodes/onprem.md b/docs/nodes/onprem.md new file mode 100644 index 00000000..2a50c9eb --- /dev/null +++ b/docs/nodes/onprem.md @@ -0,0 +1,102 @@ +--- +id: onprem +title: OnPrem +--- + +Node classes list of onprem provider. + +## onprem.database + +- **diagrams.onprem.database.Cassandra** +- **diagrams.onprem.database.Cockroachdb**, **CockroachDB** (alias) +- **diagrams.onprem.database.Couchdb**, **CouchDB** (alias) +- **diagrams.onprem.database.Hbase**, **HBase** (alias) +- **diagrams.onprem.database.Influxdb**, **InfluxDB** (alias) +- **diagrams.onprem.database.Mariadb**, **MariaDB** (alias) +- **diagrams.onprem.database.Mongodb**, **MongoDB** (alias) +- **diagrams.onprem.database.Mssql**, **MSSQL** (alias) +- **diagrams.onprem.database.Mysql**, **MySQL** (alias) +- **diagrams.onprem.database.Neo4J** +- **diagrams.onprem.database.Oracle** +- **diagrams.onprem.database.Postgresql**, **PostgreSQL** (alias) + +## onprem.ci + +- **diagrams.onprem.ci.Circleci**, **CircleCI** (alias) +- **diagrams.onprem.ci.Jenkins** +- **diagrams.onprem.ci.Travisci**, **TravisCI** (alias) + +## onprem.network + +- **diagrams.onprem.network.Apache** +- **diagrams.onprem.network.Caddy** +- **diagrams.onprem.network.Consul** +- **diagrams.onprem.network.Envoy** +- **diagrams.onprem.network.Etcd** +- **diagrams.onprem.network.Haproxy** +- **diagrams.onprem.network.Istio** +- **diagrams.onprem.network.Kong** +- **diagrams.onprem.network.Linkerd** +- **diagrams.onprem.network.Nginx** +- **diagrams.onprem.network.Tomcat** +- **diagrams.onprem.network.Traefik** +- **diagrams.onprem.network.Zookeeper** + +## onprem.inmemory + +- **diagrams.onprem.inmemory.Aerospike** +- **diagrams.onprem.inmemory.Hazelcast** +- **diagrams.onprem.inmemory.Memcached** +- **diagrams.onprem.inmemory.Redis** + +## onprem.search + +- **diagrams.onprem.search.Elasticsearch** +- **diagrams.onprem.search.Solr** + +## onprem.container + +- **diagrams.onprem.container.Docker** +- **diagrams.onprem.container.Rkt**, **RKT** (alias) + +## onprem.compute + +- **diagrams.onprem.compute.Server** + +## onprem.workflow + +- **diagrams.onprem.workflow.Airflow** +- **diagrams.onprem.workflow.Kubeflow**, **KubeFlow** (alias) +- **diagrams.onprem.workflow.Nifi**, **NiFi** (alias) + +## onprem.queue + +- **diagrams.onprem.queue.Activemq** +- **diagrams.onprem.queue.Kafka** +- **diagrams.onprem.queue.Rabbitmq** +- **diagrams.onprem.queue.Zeromq**, **ZeroMQ** (alias) + +## onprem.gitops + +- **diagrams.onprem.gitops.Argocd**, **ArgoCD** (alias) + +## onprem.monitoring + +- **diagrams.onprem.monitoring.Datadog** +- **diagrams.onprem.monitoring.Grafana** +- **diagrams.onprem.monitoring.Kibana** +- **diagrams.onprem.monitoring.Prometheus** +- **diagrams.onprem.monitoring.Splunk** + +## onprem.logging + +- **diagrams.onprem.logging.Fluentd** +- **diagrams.onprem.logging.Logstash**, **LogStash** (alias) + +## onprem.analytics + +- **diagrams.onprem.analytics.Flink** +- **diagrams.onprem.analytics.Hadoop** +- **diagrams.onprem.analytics.Hive** +- **diagrams.onprem.analytics.Spark** +- **diagrams.onprem.analytics.Storm** diff --git a/resources/onprem/analytics/flink.png b/resources/onprem/analytics/flink.png new file mode 100644 index 00000000..92bec0d2 Binary files /dev/null and b/resources/onprem/analytics/flink.png differ diff --git a/resources/onprem/analytics/hadoop.png b/resources/onprem/analytics/hadoop.png new file mode 100644 index 00000000..cd16a839 Binary files /dev/null and b/resources/onprem/analytics/hadoop.png differ diff --git a/resources/onprem/analytics/hive.png b/resources/onprem/analytics/hive.png new file mode 100644 index 00000000..1fb30364 Binary files /dev/null and b/resources/onprem/analytics/hive.png differ diff --git a/resources/onprem/analytics/spark.png b/resources/onprem/analytics/spark.png new file mode 100644 index 00000000..8bd42f31 Binary files /dev/null and b/resources/onprem/analytics/spark.png differ diff --git a/resources/onprem/analytics/storm.png b/resources/onprem/analytics/storm.png new file mode 100644 index 00000000..5134e18d Binary files /dev/null and b/resources/onprem/analytics/storm.png differ diff --git a/resources/onprem/ci/circleci.png b/resources/onprem/ci/circleci.png new file mode 100644 index 00000000..fd5426cf Binary files /dev/null and b/resources/onprem/ci/circleci.png differ diff --git a/resources/onprem/ci/jenkins.png b/resources/onprem/ci/jenkins.png new file mode 100644 index 00000000..29f6b94a Binary files /dev/null and b/resources/onprem/ci/jenkins.png differ diff --git a/resources/onprem/ci/travisci.png b/resources/onprem/ci/travisci.png new file mode 100644 index 00000000..3d52d167 Binary files /dev/null and b/resources/onprem/ci/travisci.png differ diff --git a/resources/onprem/compute/server.png b/resources/onprem/compute/server.png new file mode 100644 index 00000000..6230344b Binary files /dev/null and b/resources/onprem/compute/server.png differ diff --git a/resources/onprem/container/docker.png b/resources/onprem/container/docker.png new file mode 100644 index 00000000..5b7e067d Binary files /dev/null and b/resources/onprem/container/docker.png differ diff --git a/resources/onprem/container/rkt.png b/resources/onprem/container/rkt.png new file mode 100644 index 00000000..b244f500 Binary files /dev/null and b/resources/onprem/container/rkt.png differ diff --git a/resources/onprem/database/cassandra.png b/resources/onprem/database/cassandra.png new file mode 100644 index 00000000..42ca73f3 Binary files /dev/null and b/resources/onprem/database/cassandra.png differ diff --git a/resources/onprem/database/cockroachdb.png b/resources/onprem/database/cockroachdb.png new file mode 100644 index 00000000..d34cbad0 Binary files /dev/null and b/resources/onprem/database/cockroachdb.png differ diff --git a/resources/onprem/database/couchdb.png b/resources/onprem/database/couchdb.png new file mode 100644 index 00000000..42ddf374 Binary files /dev/null and b/resources/onprem/database/couchdb.png differ diff --git a/resources/onprem/database/hbase.png b/resources/onprem/database/hbase.png new file mode 100644 index 00000000..a72745e5 Binary files /dev/null and b/resources/onprem/database/hbase.png differ diff --git a/resources/onprem/database/influxdb.png b/resources/onprem/database/influxdb.png new file mode 100644 index 00000000..c86e1b56 Binary files /dev/null and b/resources/onprem/database/influxdb.png differ diff --git a/resources/onprem/database/mariadb.png b/resources/onprem/database/mariadb.png new file mode 100644 index 00000000..adeecd3a Binary files /dev/null and b/resources/onprem/database/mariadb.png differ diff --git a/resources/onprem/database/mongodb.png b/resources/onprem/database/mongodb.png new file mode 100644 index 00000000..af529904 Binary files /dev/null and b/resources/onprem/database/mongodb.png differ diff --git a/resources/onprem/database/mssql.png b/resources/onprem/database/mssql.png new file mode 100644 index 00000000..57c8c944 Binary files /dev/null and b/resources/onprem/database/mssql.png differ diff --git a/resources/onprem/database/mysql.png b/resources/onprem/database/mysql.png new file mode 100644 index 00000000..d8a2b930 Binary files /dev/null and b/resources/onprem/database/mysql.png differ diff --git a/resources/onprem/database/neo4j.png b/resources/onprem/database/neo4j.png new file mode 100644 index 00000000..5c6a2f15 Binary files /dev/null and b/resources/onprem/database/neo4j.png differ diff --git a/resources/onprem/database/oracle.png b/resources/onprem/database/oracle.png new file mode 100644 index 00000000..d673ce3c Binary files /dev/null and b/resources/onprem/database/oracle.png differ diff --git a/resources/onprem/database/postgresql.png b/resources/onprem/database/postgresql.png new file mode 100644 index 00000000..0381b341 Binary files /dev/null and b/resources/onprem/database/postgresql.png differ diff --git a/resources/onprem/gitops/argocd.png b/resources/onprem/gitops/argocd.png new file mode 100644 index 00000000..5351a12e Binary files /dev/null and b/resources/onprem/gitops/argocd.png differ diff --git a/resources/onprem/inmemory/aerospike.png b/resources/onprem/inmemory/aerospike.png new file mode 100644 index 00000000..d9944e02 Binary files /dev/null and b/resources/onprem/inmemory/aerospike.png differ diff --git a/resources/onprem/inmemory/hazelcast.png b/resources/onprem/inmemory/hazelcast.png new file mode 100644 index 00000000..564456a8 Binary files /dev/null and b/resources/onprem/inmemory/hazelcast.png differ diff --git a/resources/onprem/inmemory/memcached.png b/resources/onprem/inmemory/memcached.png new file mode 100644 index 00000000..ffc15715 Binary files /dev/null and b/resources/onprem/inmemory/memcached.png differ diff --git a/resources/onprem/inmemory/redis.png b/resources/onprem/inmemory/redis.png new file mode 100644 index 00000000..79ecb236 Binary files /dev/null and b/resources/onprem/inmemory/redis.png differ diff --git a/resources/onprem/logging/fluentd.png b/resources/onprem/logging/fluentd.png new file mode 100644 index 00000000..03c70262 Binary files /dev/null and b/resources/onprem/logging/fluentd.png differ diff --git a/resources/onprem/logging/logstash.png b/resources/onprem/logging/logstash.png new file mode 100644 index 00000000..5b23370b Binary files /dev/null and b/resources/onprem/logging/logstash.png differ diff --git a/resources/onprem/monitoring/datadog.png b/resources/onprem/monitoring/datadog.png new file mode 100644 index 00000000..403446c9 Binary files /dev/null and b/resources/onprem/monitoring/datadog.png differ diff --git a/resources/onprem/monitoring/grafana.png b/resources/onprem/monitoring/grafana.png new file mode 100644 index 00000000..6110a967 Binary files /dev/null and b/resources/onprem/monitoring/grafana.png differ diff --git a/resources/onprem/monitoring/kibana.png b/resources/onprem/monitoring/kibana.png new file mode 100644 index 00000000..c7be5244 Binary files /dev/null and b/resources/onprem/monitoring/kibana.png differ diff --git a/resources/onprem/monitoring/prometheus.png b/resources/onprem/monitoring/prometheus.png new file mode 100644 index 00000000..10ff865b Binary files /dev/null and b/resources/onprem/monitoring/prometheus.png differ diff --git a/resources/onprem/monitoring/splunk.png b/resources/onprem/monitoring/splunk.png new file mode 100644 index 00000000..3b2c43fe Binary files /dev/null and b/resources/onprem/monitoring/splunk.png differ diff --git a/resources/onprem/network/apache.png b/resources/onprem/network/apache.png new file mode 100644 index 00000000..930019a9 Binary files /dev/null and b/resources/onprem/network/apache.png differ diff --git a/resources/onprem/network/caddy.png b/resources/onprem/network/caddy.png new file mode 100644 index 00000000..c806ce7b Binary files /dev/null and b/resources/onprem/network/caddy.png differ diff --git a/resources/onprem/network/consul.png b/resources/onprem/network/consul.png new file mode 100644 index 00000000..c070944a Binary files /dev/null and b/resources/onprem/network/consul.png differ diff --git a/resources/onprem/network/envoy.png b/resources/onprem/network/envoy.png new file mode 100644 index 00000000..a9df2cf2 Binary files /dev/null and b/resources/onprem/network/envoy.png differ diff --git a/resources/onprem/network/etcd.png b/resources/onprem/network/etcd.png new file mode 100644 index 00000000..85557b89 Binary files /dev/null and b/resources/onprem/network/etcd.png differ diff --git a/resources/onprem/network/haproxy.png b/resources/onprem/network/haproxy.png new file mode 100644 index 00000000..49d87db4 Binary files /dev/null and b/resources/onprem/network/haproxy.png differ diff --git a/resources/onprem/network/istio.png b/resources/onprem/network/istio.png new file mode 100644 index 00000000..73ddabac Binary files /dev/null and b/resources/onprem/network/istio.png differ diff --git a/resources/onprem/network/kong.png b/resources/onprem/network/kong.png new file mode 100644 index 00000000..dcd34740 Binary files /dev/null and b/resources/onprem/network/kong.png differ diff --git a/resources/onprem/network/linkerd.png b/resources/onprem/network/linkerd.png new file mode 100644 index 00000000..d66a1728 Binary files /dev/null and b/resources/onprem/network/linkerd.png differ diff --git a/resources/onprem/network/nginx.png b/resources/onprem/network/nginx.png new file mode 100644 index 00000000..8c387681 Binary files /dev/null and b/resources/onprem/network/nginx.png differ diff --git a/resources/onprem/network/tomcat.png b/resources/onprem/network/tomcat.png new file mode 100644 index 00000000..2481672b Binary files /dev/null and b/resources/onprem/network/tomcat.png differ diff --git a/resources/onprem/network/traefik.png b/resources/onprem/network/traefik.png new file mode 100644 index 00000000..17b8cffd Binary files /dev/null and b/resources/onprem/network/traefik.png differ diff --git a/resources/onprem/network/zookeeper.png b/resources/onprem/network/zookeeper.png new file mode 100644 index 00000000..16e0604a Binary files /dev/null and b/resources/onprem/network/zookeeper.png differ diff --git a/resources/onprem/queue/activemq.png b/resources/onprem/queue/activemq.png new file mode 100644 index 00000000..b4ea0338 Binary files /dev/null and b/resources/onprem/queue/activemq.png differ diff --git a/resources/onprem/queue/kafka.png b/resources/onprem/queue/kafka.png new file mode 100644 index 00000000..f384d441 Binary files /dev/null and b/resources/onprem/queue/kafka.png differ diff --git a/resources/onprem/queue/rabbitmq.png b/resources/onprem/queue/rabbitmq.png new file mode 100644 index 00000000..32cfdc33 Binary files /dev/null and b/resources/onprem/queue/rabbitmq.png differ diff --git a/resources/onprem/queue/zeromq.png b/resources/onprem/queue/zeromq.png new file mode 100644 index 00000000..32a5d993 Binary files /dev/null and b/resources/onprem/queue/zeromq.png differ diff --git a/resources/onprem/search/elasticsearch.png b/resources/onprem/search/elasticsearch.png new file mode 100644 index 00000000..d311d639 Binary files /dev/null and b/resources/onprem/search/elasticsearch.png differ diff --git a/resources/onprem/search/solr.png b/resources/onprem/search/solr.png new file mode 100644 index 00000000..c495957a Binary files /dev/null and b/resources/onprem/search/solr.png differ diff --git a/resources/onprem/workflow/airflow.png b/resources/onprem/workflow/airflow.png new file mode 100644 index 00000000..736c75df Binary files /dev/null and b/resources/onprem/workflow/airflow.png differ diff --git a/resources/onprem/workflow/kubeflow.png b/resources/onprem/workflow/kubeflow.png new file mode 100644 index 00000000..8e8fe5d4 Binary files /dev/null and b/resources/onprem/workflow/kubeflow.png differ diff --git a/resources/onprem/workflow/nifi.png b/resources/onprem/workflow/nifi.png new file mode 100644 index 00000000..b64a92f9 Binary files /dev/null and b/resources/onprem/workflow/nifi.png differ diff --git a/scripts/generate.py b/scripts/generate.py index 26fa0514..fcf43e8a 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -7,7 +7,7 @@ from jinja2 import Environment, FileSystemLoader, Template import config as cfg from . import app_root_dir, doc_root_dir, resource_dir, template_dir -_usage = "Usage: generate.py " +_usage = "Usage: generate.py " def load_tmpl(tmpl: str) -> Template: diff --git a/scripts/resource.py b/scripts/resource.py index 455eae77..65ececf5 100644 --- a/scripts/resource.py +++ b/scripts/resource.py @@ -16,6 +16,11 @@ from . import resource_dir _usage = "Usage: resources.py " +def cleaner_onprem(f): + f = f.replace("_", "-") + return f.lower() + + def cleaner_aws(f): f = f.replace("_", "-") f = f.replace("@4x", "") @@ -76,6 +81,7 @@ def cleaner_oci(f): cleaners = { + "onprem": cleaner_onprem, "aws": cleaner_aws, "azure": cleaner_azure, "gcp": cleaner_gcp, diff --git a/website/i18n/en.json b/website/i18n/en.json index 4727db38..0d91c7e2 100644 --- a/website/i18n/en.json +++ b/website/i18n/en.json @@ -37,6 +37,9 @@ }, "nodes/oci": { "title": "OCI" + }, + "nodes/onprem": { + "title": "OnPrem" } }, "links": { diff --git a/website/sidebars.json b/website/sidebars.json index 3266e1da..6f834905 100644 --- a/website/sidebars.json +++ b/website/sidebars.json @@ -10,6 +10,7 @@ "guides/cluster" ], "Nodes": [ + "nodes/onprem", "nodes/aws", "nodes/azure", "nodes/gcp",