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 265f4f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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
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://raw.githubusercontent.com/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 265f4f0

Please sign in to comment.