Skip to content

Commit

Permalink
use prometheus addon
Browse files Browse the repository at this point in the history
  • Loading branch information
kazukousen committed Oct 27, 2020
1 parent f6163c3 commit 50b513a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion kustomize/istio/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace: istio-system
bases:
- ../base/flagger/
- ../base/prometheus/
patchesStrategicMerge:
- patch.yaml
2 changes: 1 addition & 1 deletion kustomize/istio/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
args:
- -log-level=info
- -mesh-provider=istio
- -metrics-server=http://flagger-prometheus:9090
- -metrics-server=http://prometheus:9090
- -slack-user=flagger
- -slack-channel=
- -slack-url=
Expand Down
2 changes: 1 addition & 1 deletion test/e2e-istio-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ metadata:
spec:
provider:
type: prometheus
address: http://flagger-prometheus.istio-system:9090
address: http://prometheus.istio-system:9090
query: |
histogram_quantile(
0.99,
Expand Down
3 changes: 3 additions & 0 deletions test/e2e-istio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ ${REPO_ROOT}/bin/istio-${ISTIO_VER}/bin/istioctl manifest install --set profile=
--set values.pilot.resources.requests.cpu=100m \
--set values.pilot.resources.requests.memory=100Mi

kubectl apply -f https://github.com/raw/istio/istio/release-1.7/samples/addons/prometheus.yaml
kubectl -n istio-system rollout status deployment/prometheus

kubectl -n istio-system get all

echo '>>> Load Flagger image in Kind'
Expand Down

0 comments on commit 50b513a

Please sign in to comment.