-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(kumactl): add gateway support to inspect dataplane and policy (#…
…3973) Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
- Loading branch information
1 parent
b60734e
commit 08cde76
Showing
12 changed files
with
186 additions
and
97 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
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 @@ | ||
GATEWAY: | ||
TrafficLog | ||
all-traffic | ||
TrafficTrace | ||
all-traffic | ||
|
||
LISTENER (HTTP:80): | ||
*: | ||
route-1: | ||
SERVICE backend: | ||
HealthCheck | ||
hc-1 | ||
|
||
SERVICE redis: | ||
Timeout | ||
t-1 | ||
|
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
9 changes: 9 additions & 0 deletions
9
app/kumactl/cmd/inspect/testdata/inspect-health-check-1.5.golden.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,9 @@ | ||
Affected data plane proxies: | ||
|
||
web-1: | ||
service backend | ||
|
||
backend-1: | ||
service redis | ||
service external | ||
|
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
16 changes: 9 additions & 7 deletions
16
app/kumactl/cmd/inspect/testdata/inspect-health-check.golden.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 |
---|---|---|
@@ -1,13 +1,15 @@ | ||
Affected data plane proxies: | ||
|
||
backend-1: | ||
service gateway | ||
service web | ||
meshgateway: | ||
listener (HTTP:80): | ||
*: | ||
route-1: | ||
service redis | ||
|
||
web-1: | ||
service gateway | ||
service backend | ||
|
||
redis-1: | ||
service gateway | ||
service web | ||
backend-1: | ||
service redis | ||
service external | ||
|
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
Oops, something went wrong.