Skip to content

Commit

Permalink
Merge pull request #733 from weaveworks/deps-update
Browse files Browse the repository at this point in the history
Update Istio to v1.8.0
  • Loading branch information
stefanprodan authored Nov 23, 2020
2 parents 9b5b1a1 + 6a0ab87 commit 58de5ab
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
8 changes: 5 additions & 3 deletions docs/gitbook/tutorials/istio-ab-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ This is particularly useful for frontend applications that require session affin

## Prerequisites

Flagger requires a Kubernetes cluster **v1.11** or newer and Istio **v1.0** or newer.
Flagger requires a Kubernetes cluster **v1.14** or newer and Istio **v1.0** or newer.

Install Istio with telemetry support and Prometheus:

```bash
istioctl manifest apply --set profile=default
istioctl manifest install --set profile=default

kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/addons/prometheus.yaml
```

Install Flagger using Kustomize (kubectl 1.14) in the `istio-system` namespace:
Install Flagger in the `istio-system` namespace:

```bash
kubectl apply -k github.com/weaveworks/flagger//kustomize/istio
Expand Down
10 changes: 5 additions & 5 deletions docs/gitbook/tutorials/istio-progressive-delivery.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ This guide shows you how to use Istio and Flagger to automate canary deployments

## Prerequisites

Flagger requires a Kubernetes cluster **v1.11** or newer and Istio **v1.5** or newer.
Flagger requires a Kubernetes cluster **v1.14** or newer and Istio **v1.5** or newer.

Install Istio with telemetry support and Prometheus:

```bash
istioctl manifest apply --set profile=default
# istio 1.7 or newer
istioctl install --set profile=default
istioctl manifest install --set profile=default

kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/addons/prometheus.yaml
```

Install Flagger using Kustomize (kubectl >= 1.14) in the `istio-system` namespace:
Install Flagger in the `istio-system` namespace:

```bash
kubectl apply -k github.com/weaveworks/flagger//kustomize/istio
Expand Down
6 changes: 3 additions & 3 deletions test/e2e-istio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

set -o errexit

ISTIO_VER="1.7.3"
ISTIO_VER="1.8.0"
REPO_ROOT=$(git rev-parse --show-toplevel)

echo ">>> Downloading Istio ${ISTIO_VER}"
cd ${REPO_ROOT}/bin && \
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=${ISTIO_VER} sh -

echo ">>> Installing Istio ${ISTIO_VER}"
${REPO_ROOT}/bin/istio-${ISTIO_VER}/bin/istioctl manifest install --set profile=default \
${REPO_ROOT}/bin/istio-${ISTIO_VER}/bin/istioctl manifest install --set profile=default --skip-confirmation \
--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 apply -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/addons/prometheus.yaml
kubectl -n istio-system rollout status deployment/prometheus

kubectl -n istio-system get all
Expand Down

0 comments on commit 58de5ab

Please sign in to comment.