-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
istio/aks: add result images to the document and improve content (#101)
- Loading branch information
Showing
12 changed files
with
83 additions
and
5 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
Binary file added
BIN
+595 KB
projects/aks-istio-application/assets/connect_to_aks_external_gateway.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+119 KB
projects/aks-istio-application/assets/grafana_istio_service_dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,3 @@ | ||
# Proof of concepts | ||
|
||
This is work in progress, and is not ready to use. Just for reference |
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,35 @@ | ||
apiVersion: networking.istio.io/v1alpha3 | ||
kind: Gateway | ||
metadata: | ||
name: store-front-gateway-external | ||
namespace: pets | ||
spec: | ||
selector: | ||
istio: aks-istio-ingressgateway-external | ||
servers: | ||
- port: | ||
number: 80 | ||
name: http | ||
protocol: HTTP | ||
hosts: | ||
- "*" | ||
--- | ||
apiVersion: networking.istio.io/v1alpha3 | ||
kind: VirtualService | ||
metadata: | ||
name: store-front-vs-external | ||
namespace: pets | ||
spec: | ||
hosts: | ||
- "*" | ||
gateways: | ||
- store-front-gateway-external | ||
http: | ||
- match: | ||
- uri: | ||
prefix: '' | ||
route: | ||
- destination: | ||
host: store-front.pets.svc.cluster.local | ||
port: | ||
number: 80 |
13 changes: 13 additions & 0 deletions
13
projects/aks-istio-application/scripts/frontend_load_testing.sh
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,13 @@ | ||
#!/bin/bash | ||
|
||
PAGE_URL=$1 | ||
# To get page, run: `kubectl get svc aks-istio-ingressgateway-external -n aks-istio-ingress` | ||
## Usage: ./frontend_load_testing.sh 1.2.3.4 | ||
|
||
echo "Testing frontend page workload..." | ||
for i in $(seq 1 1000); do | ||
echo "Try number $i..." | ||
curl -s -o /dev/null "$PAGE_URL" | ||
sleep 1 | ||
done | ||
echo "Testing frontend page completed!" |
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