Skip to content

Commit

Permalink
Fix Grafana port forward command
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Mar 21, 2019
1 parent 8108ede commit 3ce3efd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ run:
-slack-url=https://hooks.slack.com/services/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 \
-slack-channel="devops-alerts"

run-appmesh:
go run cmd/flagger/* -kubeconfig=$$HOME/.kube/config -log-level=info -mesh-provider=appmesh \
-metrics-server=http://ab3325177465c11e9a94c02c4171f346-2027522465.us-west-2.elb.amazonaws.com:9090 \
-slack-url=https://hooks.slack.com/services/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 \
-slack-channel="devops-alerts"

build:
docker build -t weaveworks/flagger:$(TAG) . -f Dockerfile

Expand Down
6 changes: 2 additions & 4 deletions docs/gitbook/install/flagger-install-on-eks-appmesh.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,13 @@ Deploy Grafana in the _**appmesh-system**_ namespace:
```bash
helm upgrade -i flagger-grafana flagger/grafana \
--namespace=appmesh-system \
--set url=http://prometheus.appmesh-system:9090 \
--set user=admin \
--set password=change-me
--set url=http://prometheus.appmesh-system:9090
```

You can access Grafana using port forwarding:

```bash
kubectl -n appmesh-system port-forward svc/flagger-grafana 3000:3000
kubectl -n appmesh-system port-forward svc/flagger-grafana 3000:80
```

### Install the load tester
Expand Down
2 changes: 1 addition & 1 deletion docs/gitbook/install/flagger-install-on-kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ kubectl apply -f $HOME/flagger-grafana.yaml
You can access Grafana using port forwarding:

```bash
kubectl -n istio-system port-forward svc/flagger-grafana 3000:3000
kubectl -n istio-system port-forward svc/flagger-grafana 3000:80
```

### Install Load Tester
Expand Down

0 comments on commit 3ce3efd

Please sign in to comment.