centrifugo
Centrifugo is a real-time messaging server.
About this chart
Centrifugo
Centrifugo is a real-time messaging server. It's language-agnostic and can be used in conjunction with application backend written in any language - Python, Ruby, Perl, PHP, Javascript, Java, Objective-C etc.
TL;DR;
$ helm install <helm-repo>/centrifugo
$ helm install stable/centrifugo
Introduction
This chart bootstraps a Centrifugo deployment on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.4+ with Beta APIs enabled
Installing the Chart
To install the chart with the release name my-release:
$ helm install --name my-release <helm-repo>/centrifugo
$ helm install --name my-release stable/centrifugo The command deploys Centrifugo 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 Centrifugo chart and their default values.
| Parameter | Description | Default |
|---|---|---|
image.repository | Cetrifugo image repository | centrifugo/centrifugo |
image.tag | Cetrifugo image tag | v2.1.0 |
image.pullPolicy | Image pull policy | IfNotPresent |
resources | CPU/Memory resource requests/limits | {} |
config | Centrifugo config | default |
args | Centrifugo args | --config=centrifugo/config.json --admin --health |
For more information please refer to the documentation.
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 install`. For example,
$ helm install --name my-release \
--set ingress.enabled=true \
<helm-repo>/centrifugo
$ helm install --name my-release \
The above command disable ingress for Centrifugo.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
$ helm install --name my-release -f values.yaml <helm-repo>/centrifugo
$ helm install --name my-release -f values.yaml stable/centrifugo
Tip: You can use the default values.yaml
Deploy centrifugo with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has centrifugo on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcentrifugo is pinned at v3.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply