Back to Charts

⚠️ Repo Archive Notice

incubator/goldfish/README.md

latest3.9 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

Helm chart for GoldFish service

This Helm chart simplifies the deployment of goldfish on Kubernetes.

DEPRECATION NOTICE

This chart is deprecated and no longer supported.

Pre-requisites

  • Requires (and tested with) vault 0.8.1 or above.

Vault

Alternately, use an existing Vault and provide an endpoint. For more information on how to install Vault, check here.

Chart Details

This chart will do the following:

  • Create a Kubernetes Deployment for goldfish
  • Expose goldfish on the specified hosts via ingress

Installing the Chart

To install the chart with the release name goldfish in the default namespace:

bash
helm install -n goldfish .
ParameterDescriptionDefault
NameNamecore
replicaCountNumber of replicas1
image.repositoryImage and registry namecaiyeon/goldfish
image.tagContainer image tag0.9.0
image.pullPolicyContainer image tagAlways
service.typek8s service typeClusterIP
service.externalPortexternal port80
service.internalPortpod-listened port8000
ingress.enabledEnable ingress usagefalse
ingress.hostsservice hostnamechart-example.local
config.*variables to generate config filesee values.yaml
secrets.*variables to be created as ENVsee values.yaml

Specify parameters using --set key=value[,key=value] argument to helm install

bash
helm install -n goldfish . --set \
  config.vault.address="http://vault:8200"

Alternatively a YAML file that specifies the values for the parameters can be provided like this:

bash
$ helm install --name goldfish -f values.yaml .

Upgrading and Rollbacks

Refer to official docs on Upgrading a release and recovering on failure.

Use helm history to see previous releases

bash
helm history goldfish

Use helm upgrade --reuse-values to keep previous secrets

helm upgrade --reuse-values goldfish .

Use helm get values to get current User Supplied values

helm get values goldfish

Use helm rollback [RELEASE] [REVISION] to roll back to previous release

helm rollback goldfish 1

helm history goldfish
REVISION        UPDATED                         STATUS          CHART                   DESCRIPTION
1               Thu Apr  6 16:25:13 2017        SUPERSEDED      goldfish-0.1.0        Install complete
2               Thu May  4 11:57:05 2017        SUPERSEDED      goldfish-0.1.0        Upgrade complete
3               Tue Jun  6 18:24:31 2017        SUPERSEDED      goldfish-0.1.0        Rollback to 1