@ -0,0 +1,12 @@
|
||||
"""
|
||||
K8S provides a set of services for Kubernetes.
|
||||
"""
|
||||
|
||||
from diagrams import Node
|
||||
|
||||
|
||||
class _K8S(Node):
|
||||
_provider = "k8s"
|
||||
_icon_dir = "resources/k8s"
|
||||
|
||||
fontcolor = "#2d3436"
|
@ -0,0 +1,26 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _K8S
|
||||
|
||||
|
||||
class _Clusterconfig(_K8S):
|
||||
_type = "clusterconfig"
|
||||
_icon_dir = "resources/k8s/clusterconfig"
|
||||
|
||||
|
||||
class HPA(_Clusterconfig):
|
||||
_icon = "hpa.png"
|
||||
|
||||
|
||||
class Limits(_Clusterconfig):
|
||||
_icon = "limits.png"
|
||||
|
||||
|
||||
class Quota(_Clusterconfig):
|
||||
_icon = "quota.png"
|
||||
|
||||
|
||||
# Aliases
|
||||
|
||||
LimitRange = Limits
|
||||
HorizontalPodAutoscaler = HPA
|
@ -0,0 +1,44 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _K8S
|
||||
|
||||
|
||||
class _Compute(_K8S):
|
||||
_type = "compute"
|
||||
_icon_dir = "resources/k8s/compute"
|
||||
|
||||
|
||||
class Cronjob(_Compute):
|
||||
_icon = "cronjob.png"
|
||||
|
||||
|
||||
class Deploy(_Compute):
|
||||
_icon = "deploy.png"
|
||||
|
||||
|
||||
class DS(_Compute):
|
||||
_icon = "ds.png"
|
||||
|
||||
|
||||
class Job(_Compute):
|
||||
_icon = "job.png"
|
||||
|
||||
|
||||
class Pod(_Compute):
|
||||
_icon = "pod.png"
|
||||
|
||||
|
||||
class RS(_Compute):
|
||||
_icon = "rs.png"
|
||||
|
||||
|
||||
class STS(_Compute):
|
||||
_icon = "sts.png"
|
||||
|
||||
|
||||
# Aliases
|
||||
|
||||
Deployment = Deploy
|
||||
DaemonSet = DS
|
||||
ReplicaSet = RS
|
||||
StatefulSet = STS
|
@ -0,0 +1,40 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _K8S
|
||||
|
||||
|
||||
class _Controlplane(_K8S):
|
||||
_type = "controlplane"
|
||||
_icon_dir = "resources/k8s/controlplane"
|
||||
|
||||
|
||||
class API(_Controlplane):
|
||||
_icon = "api.png"
|
||||
|
||||
|
||||
class CCM(_Controlplane):
|
||||
_icon = "c-c-m.png"
|
||||
|
||||
|
||||
class CM(_Controlplane):
|
||||
_icon = "c-m.png"
|
||||
|
||||
|
||||
class KProxy(_Controlplane):
|
||||
_icon = "k-proxy.png"
|
||||
|
||||
|
||||
class Kubelet(_Controlplane):
|
||||
_icon = "kubelet.png"
|
||||
|
||||
|
||||
class Sched(_Controlplane):
|
||||
_icon = "sched.png"
|
||||
|
||||
|
||||
# Aliases
|
||||
|
||||
APIServer = API
|
||||
ControllerManager = CM
|
||||
KubeProxy = KProxy
|
||||
Scheduler = Sched
|
@ -0,0 +1,17 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _K8S
|
||||
|
||||
|
||||
class _Group(_K8S):
|
||||
_type = "group"
|
||||
_icon_dir = "resources/k8s/group"
|
||||
|
||||
|
||||
class NS(_Group):
|
||||
_icon = "ns.png"
|
||||
|
||||
|
||||
# Aliases
|
||||
|
||||
Namespace = NS
|
@ -0,0 +1,23 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _K8S
|
||||
|
||||
|
||||
class _Infra(_K8S):
|
||||
_type = "infra"
|
||||
_icon_dir = "resources/k8s/infra"
|
||||
|
||||
|
||||
class ETCD(_Infra):
|
||||
_icon = "etcd.png"
|
||||
|
||||
|
||||
class Master(_Infra):
|
||||
_icon = "master.png"
|
||||
|
||||
|
||||
class Node(_Infra):
|
||||
_icon = "node.png"
|
||||
|
||||
|
||||
# Aliases
|
@ -0,0 +1,32 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _K8S
|
||||
|
||||
|
||||
class _Network(_K8S):
|
||||
_type = "network"
|
||||
_icon_dir = "resources/k8s/network"
|
||||
|
||||
|
||||
class Ep(_Network):
|
||||
_icon = "ep.png"
|
||||
|
||||
|
||||
class Ing(_Network):
|
||||
_icon = "ing.png"
|
||||
|
||||
|
||||
class Netpol(_Network):
|
||||
_icon = "netpol.png"
|
||||
|
||||
|
||||
class SVC(_Network):
|
||||
_icon = "svc.png"
|
||||
|
||||
|
||||
# Aliases
|
||||
|
||||
Endpoint = Ep
|
||||
Ingress = Ing
|
||||
NetworkPolicy = Netpol
|
||||
Service = SVC
|
@ -0,0 +1,19 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _K8S
|
||||
|
||||
|
||||
class _Others(_K8S):
|
||||
_type = "others"
|
||||
_icon_dir = "resources/k8s/others"
|
||||
|
||||
|
||||
class CRD(_Others):
|
||||
_icon = "crd.png"
|
||||
|
||||
|
||||
class PSP(_Others):
|
||||
_icon = "psp.png"
|
||||
|
||||
|
||||
# Aliases
|
@ -0,0 +1,21 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _K8S
|
||||
|
||||
|
||||
class _Podconfig(_K8S):
|
||||
_type = "podconfig"
|
||||
_icon_dir = "resources/k8s/podconfig"
|
||||
|
||||
|
||||
class CM(_Podconfig):
|
||||
_icon = "cm.png"
|
||||
|
||||
|
||||
class Secret(_Podconfig):
|
||||
_icon = "secret.png"
|
||||
|
||||
|
||||
# Aliases
|
||||
|
||||
ConfigMap = CM
|
@ -0,0 +1,44 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _K8S
|
||||
|
||||
|
||||
class _Rbac(_K8S):
|
||||
_type = "rbac"
|
||||
_icon_dir = "resources/k8s/rbac"
|
||||
|
||||
|
||||
class CRole(_Rbac):
|
||||
_icon = "c-role.png"
|
||||
|
||||
|
||||
class CRB(_Rbac):
|
||||
_icon = "crb.png"
|
||||
|
||||
|
||||
class Group(_Rbac):
|
||||
_icon = "group.png"
|
||||
|
||||
|
||||
class RB(_Rbac):
|
||||
_icon = "rb.png"
|
||||
|
||||
|
||||
class Role(_Rbac):
|
||||
_icon = "role.png"
|
||||
|
||||
|
||||
class SA(_Rbac):
|
||||
_icon = "sa.png"
|
||||
|
||||
|
||||
class User(_Rbac):
|
||||
_icon = "user.png"
|
||||
|
||||
|
||||
# Aliases
|
||||
|
||||
ClusterRole = CRole
|
||||
ClusterRoleBinding = CRB
|
||||
RoleBinding = RB
|
||||
ServiceAccount = SA
|
@ -0,0 +1,32 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _K8S
|
||||
|
||||
|
||||
class _Storage(_K8S):
|
||||
_type = "storage"
|
||||
_icon_dir = "resources/k8s/storage"
|
||||
|
||||
|
||||
class PV(_Storage):
|
||||
_icon = "pv.png"
|
||||
|
||||
|
||||
class PVC(_Storage):
|
||||
_icon = "pvc.png"
|
||||
|
||||
|
||||
class SC(_Storage):
|
||||
_icon = "sc.png"
|
||||
|
||||
|
||||
class Vol(_Storage):
|
||||
_icon = "vol.png"
|
||||
|
||||
|
||||
# Aliases
|
||||
|
||||
PersistnetVolume = PV
|
||||
PersistentVolumeClaim = PVC
|
||||
StorageClass = SC
|
||||
Volume = Vol
|
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 91 KiB |