-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
994db50
commit 3eda1cb
Showing
58 changed files
with
419 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 _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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 _K8S | ||
|
||
|
||
class _Others(_K8S): | ||
_type = "others" | ||
_icon_dir = "resources/k8s/others" | ||
|
||
|
||
class CRD(_Others): | ||
_icon = "crd.png" | ||
|
||
|
||
class PSP(_Others): | ||
_icon = "psp.png" | ||
|
||
|
||
# Aliases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Oops, something went wrong.