Release load tester v0.17.0

This commit is contained in:
stefanprodan 2020-06-11 13:48:22 +03:00
parent 93e76e5050
commit 8a02195ac2
5 changed files with 26 additions and 14 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v1
name: loadtester
version: 0.16.0
appVersion: 0.16.0
version: 0.17.0
appVersion: 0.17.0
kubeVersion: ">=1.11.0-0"
engine: gotpl
description: Flagger's load testing services based on rakyll/hey and bojand/ghz that generates traffic during canary analysis when configured as a webhook.

View File

@ -1,8 +1,9 @@
# Flagger load testing service
[Flagger's](https://github.com/weaveworks/flagger) load testing service is based on
[rakyll/hey](https://github.com/rakyll/hey)
and can be used to generates traffic during canary analysis when configured as a webhook.
[rakyll/hey](https://github.com/rakyll/hey) and
[bojand/ghz](https://github.com/bojand/ghz).
It can be used to generate HTTP and gRPC traffic during canary analysis when configured as a webhook.
## Prerequisites
@ -24,7 +25,8 @@ helm upgrade -i flagger-loadtester flagger/loadtester
The command deploys loadtester on the Kubernetes cluster in the default namespace.
> **Tip**: Note that the namespace where you deploy the load tester should have the Istio or App Mesh sidecar injection enabled
> **Tip**: Note that the namespace where you deploy the load tester should
> have the Istio, App Mesh or Linkerd sidecar injection enabled
The [configuration](#configuration) section lists the parameters that can be configured during installation.
@ -33,7 +35,7 @@ The [configuration](#configuration) section lists the parameters that can be con
To uninstall/delete the `flagger-loadtester` deployment:
```console
helm delete --purge flagger-loadtester
helm delete flagger-loadtester
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
@ -58,13 +60,16 @@ Parameter | Description | Default
`service.port` | ClusterIP port | `80`
`cmd.timeout` | Command execution timeout | `1h`
`logLevel` | Log level can be debug, info, warning, error or panic | `info`
`meshName` | AWS App Mesh name | `none`
`backends` | AWS App Mesh virtual services | `none`
`appmesh.enabled` | Create AWS App Mesh v1beta2 virtual node | `false`
`appmesh.backends` | AWS App Mesh virtual services | `none`
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
Specify each parameter using the `--set key=value[,key=value]` argument to `helm upgrade`. For example,
```console
helm install flagger/loadtester --name flagger-loadtester
helm upgrade -i flagger-loadtester flagger/loadtester \
--set "appmesh.enabled=true" \
--set "appmesh.backends[0]=podinfo" \
--set "appmesh.backends[1]=podinfo-canary"
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

View File

@ -2,7 +2,7 @@ replicaCount: 1
image:
repository: weaveworks/flagger-loadtester
tag: 0.15.0
tag: 0.17.0
pullPolicy: IfNotPresent
podAnnotations:
@ -47,8 +47,15 @@ rbac:
# name of an existing service account to use - if not creating rbac resources
serviceAccountName: ""
# App Mesh virtual node settings
# App Mesh virtual node settings (to be used for AppMesh v1beta1)
meshName: ""
#backends:
# - app1.namespace
# - app2.namespace
# App Mesh virtual node settings (to be used for AppMesh v1beta2)
appmesh:
enabled: false
backends:
- podinfo
- podinfo-canary

View File

@ -11,7 +11,7 @@ import (
"go.uber.org/zap"
)
var VERSION = "0.16.0"
var VERSION = "0.17.0"
var (
logLevel string
port string

View File

@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: loadtester
image: weaveworks/flagger-loadtester:0.16.0
image: weaveworks/flagger-loadtester:0.17.0
imagePullPolicy: IfNotPresent
ports:
- name: http