Replies: 5 comments 10 replies
|
@maxi1555 Amazing idea! This could allow one to document extra information not expressed in k8s resources! A feature to add for the KubeDiagrams 0.3.0 release. Do you agree that these extra nodes and edges should be declared in an extra config file? |
2 replies
|
@maxi1555: I started to prototype your amazing idea. Following is a customized diagram for the wordpress example: diagram:
nodes:
users:
name: Users
type: diagrams.onprem.client.Users
edges:
- from: users
to: wordpress/default/Service/v1
xlabel: use
fontcolor: gray
- from: wordpress/default/Deployment/apps/v1
to: wordpress-mysql/default/Service/v1
color: brown
fontcolor: red
xlabel: callsWhat do you thing about this? |
3 replies
|
@maxi1555: Following diagram contains custom clusters: Following is the associated custom configuration: diagram:
clusters:
aws:
name: Amazon Web Service
clusters:
my-account:
name: "Account: Philippe Merle"
clusters:
my-ekc:
name: My Elastic Kubernetes Cluster
nodes:
foo:
name: Philippe Merle
type: diagrams.aws.general.User
nodes:
eck:
name: Elastic Kubernetes Service
type: diagrams.aws.compute.ElasticKubernetesService
nodes:
users:
name: Users
type: diagrams.onprem.client.Users
edges:
- from: users
to: wordpress/default/Service/v1
xlabel: use
fontcolor: gray
- from: wordpress/default/Deployment/apps/v1
to: wordpress-mysql/default/Service/v1
color: brown
fontcolor: red
xlabel: calls
generate_diagram_in_cluster: aws.my-account.my-ekcSo, we could now define custom diagrams declaratively mixing both custom and generated clusters/nodes/edges! |
1 reply
|
@maxi1555 What do you think about following diagram? |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
The tool is perfect to reflect the objects in the Kubernetes cluster, but it would be amazing if the tool also provide the possibility to add custom nodes and edges( extra layer to represent interactions, and promoting configurability :) ), some examples:
All reactions