-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add some nested diagrams Signed-off-by: Kevin Fox <[email protected]> * Fix typo Signed-off-by: Kevin Fox <[email protected]> * Add md Signed-off-by: Kevin Fox <[email protected]> * Apply suggestions from code review Co-authored-by: Faisal Memon <[email protected]> Signed-off-by: kfox1111 <[email protected]> --------- Signed-off-by: Kevin Fox <[email protected]> Signed-off-by: kfox1111 <[email protected]> Co-authored-by: Faisal Memon <[email protected]>
- Loading branch information
1 parent
889d0af
commit 8f542f2
Showing
6 changed files
with
131 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Possible Nesting Configurations | ||
|
||
There are multiple ways of configuring the chart depending on what you want to use nesting for. | ||
|
||
## Nesting across Kubernetes clusters: | ||
 | ||
|
||
## Nesting within a Kubernetes cluster: | ||
 | ||
|
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,61 @@ | ||
digraph G { | ||
subgraph cluster_root { | ||
label="Cluster: Root K8S"; | ||
subgraph cluster_root_release { | ||
label="Helm Release: Namespace=spire-root Name=spire" | ||
spireRoot [label="Root Spire Server"]; | ||
} | ||
} | ||
subgraph cluster_nested1 { | ||
label="Cluster: K8S Workload 1"; | ||
subgraph cluster_nested1_release { | ||
label="Helm Release: Namespace=spire-server Name=spire" | ||
subgraph cluster_nested1_ns1 { | ||
label="Namespace: spire-system" | ||
spireUpstreamAgent1 [label="Upstream Spire Agent/CSI"]; | ||
} | ||
subgraph cluster_nested1_ns2 { | ||
label="Namespace: spire-server" | ||
spireServerNested1 [label="Nested Spire Server"]; | ||
} | ||
subgraph cluster_nested1_ns3 { | ||
label="Namespace: spire-system" | ||
spireDownstreamAgent1 [label="Downstream Spire Agent/CSI"]; | ||
} | ||
} | ||
subgraph cluster_nested1_user { | ||
label="Namespace: user" | ||
userWorkload1 [label="User Workload"]; | ||
} | ||
} | ||
subgraph cluster_nested2 { | ||
label="Cluster: K8S Workload 2"; | ||
subgraph cluster_nested2_release { | ||
label="Helm Release: Namespace=spire-server Name=spire" | ||
subgraph cluster_nested2_ns1 { | ||
label="Namespace: spire-system" | ||
spireUpstreamAgent2 [label="Upstream Spire Agent/CSI"]; | ||
} | ||
subgraph cluster_nested2_ns2 { | ||
label="Namespace: spire-server" | ||
spireServerNested2 [label="Nested Spire Server"]; | ||
} | ||
subgraph cluster_nested2_ns3 { | ||
label="Namespace: spire-system" | ||
spireDownstreamAgent2 [label="Downstream Spire Agent/CSI"]; | ||
} | ||
} | ||
subgraph cluster_nested2_user { | ||
label="Namespace: user" | ||
userWorkload2 [label="Other User Workload"]; | ||
} | ||
} | ||
spireRoot -> spireUpstreamAgent1; | ||
spireRoot -> spireUpstreamAgent2; | ||
spireUpstreamAgent1 -> spireServerNested1; | ||
spireServerNested1 -> spireDownstreamAgent1; | ||
spireDownstreamAgent1 -> userWorkload1; | ||
spireUpstreamAgent2 -> spireServerNested2; | ||
spireServerNested2 -> spireDownstreamAgent2; | ||
spireDownstreamAgent2 -> userWorkload2; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,55 @@ | ||
digraph G { | ||
subgraph cluster_baremetal { | ||
label="(Bare Metal|Virtual) Node" | ||
spireDownstreamAgent3 [label="Downstream Spire Agent"]; | ||
userWorkload3 [label="External User Workload"]; | ||
} | ||
subgraph cluster_k8s { | ||
label="Cluster: K8S"; | ||
subgraph cluster_root_release { | ||
label="Helm Release: Namespace=spire-root Name=spire"; | ||
subgraph cluster_ns_root { | ||
label="Namespace: spire-root" | ||
spireRoot [label="Root Spire Server"]; | ||
} | ||
subgraph cluster_ns_1_system { | ||
label="Namespace: spire-system" | ||
spireUpstreamAgent1 [label="Upstream Spire Agent/CSI"]; | ||
} | ||
} | ||
subgraph cluster_nested1_release { | ||
label="Helm Release: Namespace=spire-server Name=spire" | ||
subgraph cluster_ns_nested_server { | ||
label="Namespace: spire-server"; | ||
spireServerNested1 [label="Internal Nested Spire Server"]; | ||
} | ||
subgraph cluster_ns_nested_system { | ||
label="Namespace: spire-system"; | ||
spireDownstreamAgent1 [label="Downstream Spire Agent/CSI"]; | ||
} | ||
} | ||
subgraph cluster_ns_nested_system { | ||
label="Namespace: user"; | ||
userWorkload1 [label="User Workload"]; | ||
} | ||
subgraph cluster_ns_nested2_system { | ||
label="Namespace: user-other"; | ||
userWorkload2 [label="Other User Workload"]; | ||
} | ||
subgraph cluster_nested3_release { | ||
label="Helm Release: Namespace=spire-external Name=spire" | ||
subgraph cluster_ns_nested2_system { | ||
label="Namespace: spire-external"; | ||
spireServerNested2 [label="External Nested Spire Server"]; | ||
} | ||
} | ||
spireRoot -> spireUpstreamAgent1; | ||
spireUpstreamAgent1 -> spireServerNested1; | ||
spireServerNested1 -> spireDownstreamAgent1; | ||
spireDownstreamAgent1 -> userWorkload1; | ||
spireDownstreamAgent1 -> userWorkload2; | ||
spireUpstreamAgent1 -> spireServerNested2; | ||
spireServerNested2 -> spireDownstreamAgent3; | ||
spireDownstreamAgent3 -> userWorkload3; | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.