Files
deprecated-helm-charts/incubator/hoverfly
Tommy SituandKubernetes Prow Robot 7f76e9695c Add Hoverfly to incubator (#11365)
* Initial commit for hoverfly chart

Signed-off-by: Tommy Situ <tommy.situ@specto.io>

* Update version and owners

Signed-off-by: Tommy Situ <tommy.situ@specto.io>

* Add README template

Signed-off-by: Tommy Situ <tommy.situ@specto.io>

* Pass Hoverfly flags via args, update readme and notes

Signed-off-by: Tommy Situ <tommy.situ@specto.io>

* Add missing appVersion, update Chart.yaml

Signed-off-by: Tommy Situ <tommy.situ@specto.io>

* Fix linting error in values.yaml

Signed-off-by: Tommy Situ <tommy.situ@specto.io>

* Update Hoverfly version

Signed-off-by: Tommy Situ <tommy.situ@specto.io>

* Address review comments

Signed-off-by: Tommy Situ <tommy.situ@specto.io>

* Fix linting error

Signed-off-by: Tommy Situ <tommy.situ@specto.io>

* Add missing spec.selector field

Signed-off-by: Tommy Situ <tommy.situ@specto.io>
2019-02-26 07:10:11 -08:00
..
2019-02-26 07:10:11 -08:00
2019-02-26 07:10:11 -08:00
2019-02-26 07:10:11 -08:00
2019-02-26 07:10:11 -08:00
2019-02-26 07:10:11 -08:00

Hoverfly

Hoverfly is a lightweight, open source API simulation tool. Using Hoverfly, you can create realistic simulations of the APIs your application depends on.

TL;DR;

$ helm install incubator/hoverfly

Introduction

This chart bootstraps a Hoverfly deployment on a Kubernetes cluster using the Helm package manager.

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release incubator/hoverfly

The command deploys Hoverfly on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip

: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the Hoverfly chart and their default values.

Parameter Description Default
image.repository Hoverfly Image name docker.io/spectolabs/hoverfly
image.tag Hoverfly Image tag v1.0.0-rc.2
hoverflyFlags Flags to start Hoverfly with, eg. '-auth' ""
healthcheckEndpoint Admin API path for Kubernetes healthcheck /api/health
service.type Kubernetes Service type ClusterIP
service.adminPort Container Admin port 8888
service.proxyPort Container Proxy port 8500
service.externalAdminPort Service Admin port 8888
service.externalProxyPort Service Proxy port 8500
resources CPU/Memory resource requests/limits Memory: 200Mi, CPU: 0.2

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install --name my-release \
  --set hoverflyFlags='-webserver -journal-size 0' \
    incubator/hoverfly

The above command starts Hoverfly in webserver mode and disable journal. You can find all the available flags here

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml incubator/hoverfly

Tip

: You can use the default values.yaml