This Helm chart deploys the RouteHub Client application on a Kubernetes cluster.
The RouteHub Client application consists of the following components:
- REST API Server
- MQTT Server
- Redis
- TimescaleDB
- Kubernetes 1.12+
- Helm 3.0+
To install the chart with the release name my-release
:
helm install my-release ./charts/routehub-client
The following table lists the configurable parameters of the RouteHub Client chart and their default values.
Parameter | Description | Default |
---|---|---|
global.customRegistry |
Custom Docker registry | "" |
global.imagePullSecrets |
Global Docker registry secret names as an array | [] |
global.redis.PORT |
Redis port | "6379" |
global.redis.PASSWORD |
Redis password | "" |
global.redis.DB |
Redis database number | "0" |
routehubClientRest.replicaCount |
Number of REST API replicas | 1 |
routehubClientRest.image.repository |
REST API image repository | "your-repo/client-rest" |
routehubClientRest.image.tag |
REST API image tag | "latest" |
routehubClientRest.service.type |
REST API service type | "ClusterIP" |
routehubClientRest.service.port |
REST API service port | 80 |
routehubClientMqtt.replicaCount |
Number of MQTT server replicas | 1 |
routehubClientMqtt.image.repository |
MQTT server image repository | "your-repo/client-mqtt" |
routehubClientMqtt.image.tag |
MQTT server image tag | "latest" |
routehubClientMqtt.service.type |
MQTT server service type | "ClusterIP" |
routehubClientMqtt.service.port |
MQTT server service port | 1883 |
redis.replicaCount |
Number of Redis replicas | 1 |
redis.image.repository |
Redis image repository | "redis" |
redis.image.tag |
Redis image tag | "6.0.9" |
redis.service.type |
Redis service type | "ClusterIP" |
redis.service.port |
Redis service port | 6379 |
timescale.replicaCount |
Number of TimescaleDB replicas | 1 |
timescale.image.repository |
TimescaleDB image repository | "timescale/timescaledb" |
timescale.image.tag |
TimescaleDB image tag | "latest-pg12" |
timescale.service.type |
TimescaleDB service type | "ClusterIP" |
timescale.service.port |
TimescaleDB service port | 5432 |
Specify each parameter using the --set key=value[,key=value]
argument to helm install
. For example:
helm install my-release ./charts/routehub-client --set routehubClientRest.replicaCount=2
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:
helm install my-release ./charts/routehub-client -f values.yaml
To update the release of the RouteHub Client chart:
helm upgrade my-release ./charts/routehub-client
To uninstall/delete the my-release
deployment:
helm delete my-release
This command removes all the Kubernetes components associated with the chart and deletes the release.
kubectl create namespace routehub-clients
helm repo add routehub-helm https://routehub-link.github.io/RouteHub.HELM/
kubectl create secret docker-registry your-secret-name \
--namespace routehub-clients \
--docker-server=your.registry \
--docker-username=your-username \
--docker-password=your-password
helm install my-hub routehub-helm/routehub-client-hub \
--namespace routehub-clients \
--create-namespace \
--set global.customRegistry=your.registry/ \
--set global.imagePullSecrets[0].name=your-secret-name \
--set routehubClientRest.environment.Name="Test Hub" \
--set routehubClientRest.environment.ORGANIZATION_ID=test-org \
--set routehubClientRest.environment.OWNER_ID=test-owner \
--set routehubClientRest.environment.PLATFORM_ID=12058bdf-8940-43b3-bd90-13487e4c8fc4 \
--set routehubClientRest.environment.SEED=TRUE
--dry-run --debug