Skip to content

Commit

Permalink
Use podinfo v1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Jul 25, 2019
1 parent 163f529 commit 452fe33
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 16 deletions.
2 changes: 1 addition & 1 deletion artifacts/ab-testing/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: podinfod
image: quay.io/stefanprodan/podinfo:1.4.0
image: quay.io/stefanprodan/podinfo:1.7.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9898
Expand Down
2 changes: 1 addition & 1 deletion artifacts/appmesh/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: podinfod
image: quay.io/stefanprodan/podinfo:1.4.0
image: quay.io/stefanprodan/podinfo:1.7.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9898
Expand Down
2 changes: 1 addition & 1 deletion artifacts/canaries/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: podinfod
image: quay.io/stefanprodan/podinfo:1.4.0
image: quay.io/stefanprodan/podinfo:1.7.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9898
Expand Down
2 changes: 1 addition & 1 deletion artifacts/gloo/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
spec:
containers:
- name: podinfod
image: quay.io/stefanprodan/podinfo:1.4.0
image: quay.io/stefanprodan/podinfo:1.7.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9898
Expand Down
2 changes: 1 addition & 1 deletion artifacts/nginx/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
spec:
containers:
- name: podinfod
image: quay.io/stefanprodan/podinfo:1.4.0
image: quay.io/stefanprodan/podinfo:1.7.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9898
Expand Down
2 changes: 1 addition & 1 deletion artifacts/workloads/canary-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
spec:
containers:
- name: podinfod
image: quay.io/stefanprodan/podinfo:1.4.0
image: quay.io/stefanprodan/podinfo:1.7.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9898
Expand Down
2 changes: 1 addition & 1 deletion artifacts/workloads/primary-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
spec:
containers:
- name: podinfod
image: quay.io/stefanprodan/podinfo:1.4.1
image: quay.io/stefanprodan/podinfo:1.7.1
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9898
Expand Down
10 changes: 10 additions & 0 deletions docs/gitbook/how-it-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,7 @@ Manual gating with Flagger's tester:
```

The `/gate/halt` returns HTTP 403 thus blocking the rollout.

If you have notifications enabled, Flagger will post a message to Slack or MS Teams if a canary rollout is waiting for approval.

Change the URL to `/gate/approve` to start the canary analysis:
Expand Down Expand Up @@ -937,3 +938,12 @@ You can pause the rollout at any time with:
```bash
curl -d '{"name": "podinfo","namespace":"test"}' http://localhost:8080/gate/close
```

If a canary analysis is paused the status will change to waiting:

```bash
kubectl get canary/podinfo
NAME STATUS WEIGHT
podinfo Waiting 0
```
2 changes: 1 addition & 1 deletion docs/gitbook/tutorials/canary-helm-gitops.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ launch the `frontend` and `backend` apps.
A CI/CD pipeline for the `frontend` release could look like this:

* cut a release from the master branch of the podinfo code repo with the git tag `1.4.1`
* CI builds the image and pushes the `podinfo:1.4.1` image to the container registry
* CI builds the image and pushes the `podinfo:1.7.1` image to the container registry
* Flux scans the registry and updates the Helm release `image.tag` to `1.4.1`
* Flux commits and push the change to the cluster repo
* Flux applies the updated Helm release on the cluster
Expand Down
2 changes: 1 addition & 1 deletion docs/gitbook/tutorials/flagger-smi-istio.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Trigger a canary deployment by updating the container image:

```bash
kubectl -n test set image deployment/podinfo \
podinfod=quay.io/stefanprodan/podinfo:1.4.1
podinfod=quay.io/stefanprodan/podinfo:1.7.1
```

Flagger detects that the deployment revision changed and starts a new rollout:
Expand Down
2 changes: 1 addition & 1 deletion docs/gitbook/usage/ab-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Trigger a canary deployment by updating the container image:

```bash
kubectl -n test set image deployment/abtest \
podinfod=quay.io/stefanprodan/podinfo:1.4.1
podinfod=quay.io/stefanprodan/podinfo:1.7.1
```

Flagger detects that the deployment revision changed and starts a new rollout:
Expand Down
2 changes: 1 addition & 1 deletion docs/gitbook/usage/appmesh-progressive-delivery.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Trigger a canary deployment by updating the container image:

```bash
kubectl -n test set image deployment/podinfo \
podinfod=quay.io/stefanprodan/podinfo:1.4.1
podinfod=quay.io/stefanprodan/podinfo:1.7.1
```

Flagger detects that the deployment revision changed and starts a new rollout:
Expand Down
2 changes: 1 addition & 1 deletion docs/gitbook/usage/blue-green.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Trigger a deployment by updating the container image:

```bash
kubectl -n test set image deployment/podinfo \
podinfod=quay.io/stefanprodan/podinfo:1.4.1
podinfod=quay.io/stefanprodan/podinfo:1.7.1
```

Flagger detects that the deployment revision changed and starts a new rollout:
Expand Down
2 changes: 1 addition & 1 deletion docs/gitbook/usage/gloo-progressive-delivery.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Trigger a canary deployment by updating the container image:

```bash
kubectl -n test set image deployment/podinfo \
podinfod=quay.io/stefanprodan/podinfo:1.4.1
podinfod=quay.io/stefanprodan/podinfo:1.7.1
```

Flagger detects that the deployment revision changed and starts a new rollout:
Expand Down
2 changes: 1 addition & 1 deletion docs/gitbook/usage/linkerd-progressive-delivery.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Trigger a canary deployment by updating the container image:

```bash
kubectl -n test set image deployment/podinfo \
podinfod=quay.io/stefanprodan/podinfo:1.4.1
podinfod=quay.io/stefanprodan/podinfo:1.7.1
```

Flagger detects that the deployment revision changed and starts a new rollout:
Expand Down
2 changes: 1 addition & 1 deletion docs/gitbook/usage/nginx-progressive-delivery.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Trigger a canary deployment by updating the container image:

```bash
kubectl -n test set image deployment/podinfo \
podinfod=quay.io/stefanprodan/podinfo:1.4.1
podinfod=quay.io/stefanprodan/podinfo:1.7.1
```

Flagger detects that the deployment revision changed and starts a new rollout:
Expand Down
2 changes: 1 addition & 1 deletion docs/gitbook/usage/progressive-delivery.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Trigger a canary deployment by updating the container image:

```bash
kubectl -n test set image deployment/podinfo \
podinfod=quay.io/stefanprodan/podinfo:1.4.1
podinfod=quay.io/stefanprodan/podinfo:1.7.1
```

Flagger detects that the deployment revision changed and starts a new rollout:
Expand Down

0 comments on commit 452fe33

Please sign in to comment.