Merge pull request #391 from weaveworks/appmesh-docs-fix

App Mesh docs fixes
This commit is contained in:
Stefan Prodan
2019-12-06 00:13:34 +07:00
committed by GitHub
2 changed files with 5 additions and 4 deletions

View File

@@ -79,7 +79,8 @@ Install the Horizontal Pod Autoscaler (HPA) metrics provider:
```bash
helm upgrade -i metrics-server stable/metrics-server \
--namespace kube-system
--namespace kube-system \
--set args[0]=--kubelet-preferred-address-types=InternalIP
```
After a minute, the metrics API should report CPU and memory usage for pods.

View File

@@ -192,15 +192,15 @@ the gateway will retry the calls for a short period of time.
Deploy the gateway behind an AWS NLB:
```bash
helm upgrade -i test flagger/appmesh-gateway \
--namespace flagger-system \
helm upgrade -i appmesh-gateway flagger/appmesh-gateway \
--namespace test \
--set mesh.name=global
```
Find the gateway public address:
```bash
export URL="http://$(kubectl -n demo get svc/appmesh-gateway -ojson | jq -r ".status.loadBalancer.ingress[].hostname")"
export URL="http://$(kubectl -n test get svc/appmesh-gateway -ojson | jq -r ".status.loadBalancer.ingress[].hostname")"
echo $URL
```