Release v0.8.0

This commit is contained in:
stefanprodan
2019-03-06 21:17:13 +02:00
parent 4f1abd0c8d
commit fa0c6af6aa
6 changed files with 11 additions and 13 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ Flagger documentation can be found at [docs.flagger.app](https://docs.flagger.ap
* [Flagger install on GKE](https://docs.flagger.app/install/flagger-install-on-google-cloud)
* How it works
* [Canary custom resource](https://docs.flagger.app/how-it-works#canary-custom-resource)
* [Virtual Service](https://docs.flagger.app/how-it-works#virtual-service)
* [Routing](https://docs.flagger.app/how-it-works#istio-routing)
* [Canary deployment stages](https://docs.flagger.app/how-it-works#canary-deployment)
* [Canary analysis](https://docs.flagger.app/how-it-works#canary-analysis)
* [HTTP metrics](https://docs.flagger.app/how-it-works#http-metrics)
+1 -1
View File
@@ -22,7 +22,7 @@ spec:
serviceAccountName: flagger
containers:
- name: flagger
image: quay.io/stefanprodan/flagger:0.7.0
image: quay.io/stefanprodan/flagger:0.8.0
imagePullPolicy: IfNotPresent
ports:
- name: http
+2 -2
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: flagger
version: 0.7.0
appVersion: 0.7.0
version: 0.8.0
appVersion: 0.8.0
kubeVersion: ">=1.11.0-0"
engine: gotpl
description: Flagger is a Kubernetes operator that automates the promotion of canary deployments using Istio routing for traffic shifting and Prometheus metrics for canary analysis.
+1 -1
View File
@@ -2,7 +2,7 @@
image:
repository: quay.io/stefanprodan/flagger
tag: 0.7.0
tag: 0.8.0
pullPolicy: IfNotPresent
metricsServer: "http://prometheus.istio-system.svc.cluster.local:9090"
+5 -7
View File
@@ -96,9 +96,11 @@ spec:
The target deployment should expose a TCP port that will be used by Flagger to create the ClusterIP Service and
the Istio Virtual Service. The container port from the target deployment should match the `service.port` value.
### Virtual Service
### Istio routing
Flagger creates an Istio Virtual Service based on the Canary service spec.
Flagger creates an Istio Virtual Service based on the Canary service spec. The service configuration lets you expose
an app inside or outside the mesh.
You can also define HTTP match conditions, URI rewrite rules, CORS policies, timeout and retries.
The following spec exposes the `frontend` workload inside the mesh on `frontend.test.svc.cluster.local:9898`
and outside the mesh on `frontend.example.com`. You'll have to specify an Istio ingress gateway for external hosts.
@@ -143,10 +145,6 @@ spec:
allowHeaders:
- x-some-header
maxAge: 24h
# retry policy when a HTTP request fails (optional)
retries:
attempts: 3
perTryTimeout: 3s
```
For the above spec Flagger will generate the following virtual service:
@@ -202,7 +200,7 @@ spec:
weight: 0
```
Flagger keeps in sync the virtual service with the canary service spec. Any direct modification of the virtual
Flagger keeps in sync the virtual service with the canary service spec. Any direct modification to the virtual
service spec will be overwritten.
To expose a workload inside the mesh on `http://backend.test.svc.cluster.local:9898`,
+1 -1
View File
@@ -1,4 +1,4 @@
package version
var VERSION = "0.7.0"
var VERSION = "0.8.0"
var REVISION = "unknown"