-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #518 from cloud-ark/custom-resource-connections
README and example update
- Loading branch information
Showing
9 changed files
with
89 additions
and
38 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
32 changes: 32 additions & 0 deletions
32
examples/wordpress-mysqlcluster/kubectl-connections-clusterissuer1.txt
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 @@ | ||
(venv) Devs-MacBook:kubediscovery devdatta$ kubectl connections cr ClusterIssuer wordpress-stack namespace1 | ||
Discovering connections - Level: 0, Kind:ClusterIssuer, instance:wordpress-stack | ||
Discovering connections - Level: 1, Kind:Ingress, instance:wordpress-ingress | ||
Discovering connections - Level: 2, Kind:Service, instance:wordpress | ||
Discovering connections - Level: 3, Kind:Pod, instance:wordpress-pod | ||
Discovering connections - Level: 4, Kind:Service, instance:cluster1-mysql-master | ||
Discovering connections - Level: 5, Kind:Pod, instance:cluster1-mysql-0 | ||
Discovering connections - Level: 6, Kind:Service, instance:cluster1-mysql-nodes | ||
Discovering connections - Level: 7, Kind:MysqlCluster, instance:cluster1 | ||
Discovering connections - Level: 8, Kind:StatefulSet, instance:cluster1-mysql | ||
Discovering connections - Level: 8, Kind:Service, instance:cluster1-mysql | ||
Discovering connections - Level: 8, Kind:Service, instance:cluster1-mysql-master | ||
Discovering connections - Level: 8, Kind:Service, instance:cluster1-mysql-nodes | ||
Discovering connections - Level: 8, Kind:ConfigMap, instance:cluster1-mysql | ||
|
||
::Final connections graph:: | ||
------ Branch 1 ------ | ||
Level:0 ClusterIssuer/wordpress-stack | ||
Level:1 Ingress/wordpress-ingress [related to ClusterIssuer/wordpress-stack by:annotation] | ||
Level:2 Service/wordpress [related to Ingress/wordpress-ingress by:specproperty] | ||
Level:3 Pod/wordpress-pod [related to Service/wordpress by:label] | ||
Level:4 Service/cluster1-mysql-master [related to Pod/wordpress-pod by:envvariable] | ||
Level:5 Pod/cluster1-mysql-0 [related to Service/cluster1-mysql-master by:label] | ||
Level:6 Service/cluster1-mysql [related to Pod/cluster1-mysql-0 by:label] | ||
Level:6 Service/cluster1-mysql-nodes [related to Pod/cluster1-mysql-0 by:envvariable] | ||
Level:6 Service/cluster1-mysql-nodes [related to Pod/cluster1-mysql-0 by:label] | ||
Level:7 MysqlCluster/cluster1 [related to Service/cluster1-mysql-nodes by:owner reference] | ||
Level:8 Service/cluster1-mysql [related to MysqlCluster/cluster1 by:owner reference] | ||
Level:8 Service/cluster1-mysql-master [related to MysqlCluster/cluster1 by:owner reference] | ||
Level:8 ConfigMap/cluster1-mysql [related to MysqlCluster/cluster1 by:owner reference] | ||
Level:8 StatefulSet/cluster1-mysql [related to MysqlCluster/cluster1 by:owner reference] | ||
Level:9 Pod/cluster1-mysql-0 [related to StatefulSet/cluster1-mysql by:owner reference] |
10 changes: 10 additions & 0 deletions
10
examples/wordpress-mysqlcluster/kubectl-connections-clusterissuer2.txt
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 @@ | ||
(venv) Devs-MacBook:kubediscovery devdatta$ kubectl connections cr ClusterIssuer wordpress-stack namespace1 | ||
Discovering connections - Level: 0, Kind:ClusterIssuer, instance:wordpress-stack | ||
Discovering connections - Level: 1, Kind:Ingress, instance:wordpress-ingress | ||
Discovering connections - Level: 2, Kind:Service, instance:wordpress | ||
|
||
::Final connections graph:: | ||
------ Branch 1 ------ | ||
Level:0 ClusterIssuer/wordpress-stack | ||
Level:1 Ingress/wordpress-ingress [related to ClusterIssuer/wordpress-stack by:annotation] | ||
Level:2 Service/wordpress [related to Ingress/wordpress-ingress by:specproperty] |
12 changes: 12 additions & 0 deletions
12
examples/wordpress-mysqlcluster/kubectl-connections-clusterissuer3.txt
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 @@ | ||
(venv) Devs-MacBook:kubediscovery devdatta$ kubectl connections cr ClusterIssuer wordpress-stack namespace1 | ||
Discovering connections - Level: 0, Kind:ClusterIssuer, instance:wordpress-stack | ||
Discovering connections - Level: 1, Kind:Ingress, instance:wordpress-ingress | ||
Discovering connections - Level: 2, Kind:Service, instance:wordpress | ||
Discovering connections - Level: 3, Kind:Pod, instance:wordpress-pod | ||
|
||
::Final connections graph:: | ||
------ Branch 1 ------ | ||
Level:0 ClusterIssuer/wordpress-stack | ||
Level:1 Ingress/wordpress-ingress [related to ClusterIssuer/wordpress-stack by:annotation] | ||
Level:2 Service/wordpress [related to Ingress/wordpress-ingress by:specproperty] | ||
Level:3 Pod/wordpress-pod [related to Service/wordpress by:label] |
14 changes: 14 additions & 0 deletions
14
examples/wordpress-mysqlcluster/kubectl-connections-service1.txt
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,14 @@ | ||
(venv) Devs-MacBook:kubediscovery devdatta$ kubectl connections Service wordpress namespace1 | ||
Discovering connections - Level: 0, Kind:Service, instance:wordpress | ||
Discovering connections - Level: 1, Kind:Pod, instance:wordpress-pod | ||
Discovering connections - Level: 1, Kind:Ingress, instance:wordpress-ingress | ||
Discovering connections - Level: 2, Kind:ClusterIssuer, instance:wordpress-stack | ||
|
||
::Final connections graph:: | ||
------ Branch 1 ------ | ||
Level:0 Service/wordpress | ||
Level:1 Pod/wordpress-pod [related to Service/wordpress by:label] | ||
------ Branch 2 ------ | ||
Level:0 Service/wordpress | ||
Level:1 Ingress/wordpress-ingress [related to Service/wordpress by:specproperty] | ||
Level:2 ClusterIssuer/wordpress-stack [related to Ingress/wordpress-ingress by:annotation] |
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,15 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: wordpress | ||
namespace: namespace1 | ||
labels: | ||
app: wordpress | ||
spec: | ||
ports: | ||
- port: 80 | ||
selector: | ||
app: wordpress | ||
tier: frontend | ||
type: ClusterIP | ||
|