Skip to content

Commit 23d7185

Browse files
authored
Release 4.0.2 of the Helm Charts (#11)
Dacha2 should have a timeout associated with how fast/slow the database is for new requests. Supporting 1.6.1.
1 parent 51f0c99 commit 23d7185

File tree

5 files changed

+22
-18
lines changed

5 files changed

+22
-18
lines changed

helm/featurehub/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ apiVersion: v2
22
name: featurehub
33
description: FeatureHub Release
44
type: application
5-
version: 4.0.0
5+
version: 4.0.2
66
icon: https://raw.githubusercontent.com/featurehub-io/featurehub/main/docs/modules/ROOT/images/fh_icon.png
7-
appVersion: "1.6.0"
7+
appVersion: "1.6.1"
88
dependencies:
99
- name: postgresql
1010
version: 12.1.13

helm/featurehub/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# featurehub
22

3-
![Version: 4.0.0](https://img.shields.io/badge/Version-4.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.6.0](https://img.shields.io/badge/AppVersion-1.6.0-informational?style=flat-square)
3+
![Version: 4.0.2](https://img.shields.io/badge/Version-4.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.6.1](https://img.shields.io/badge/AppVersion-1.6.1-informational?style=flat-square)
44

55
FeatureHub Release
66

@@ -25,7 +25,7 @@ FeatureHub Release
2525
| dacha.extraVolumeMounts | list | `[]` | List of extra mounts to add to Dacha Deployment |
2626
| dacha.extraVolumes | list | `[]` | List of extra volumes to add to Dacha Deployment |
2727
| dacha.image.repository | string | `"featurehub/dacha2"` | |
28-
| dacha.image.tag | string | `"1.6.0"` | |
28+
| dacha.image.tag | string | `"1.6.1-RC"` | |
2929
| dacha.imagePullSecrets | list | `[]` | |
3030
| dacha.ingress.annotations | object | `{}` | |
3131
| dacha.ingress.className | string | `""` | |
@@ -54,13 +54,13 @@ FeatureHub Release
5454
| edge.enabled | bool | `true` | |
5555
| edge.envAsAppConfigFile | bool | `true` | If `true`, entries from `environmentVars` and `envFromSecret` fields will be mapped to configuration files. `environmentVars` to /etc/app-config/application.properties `envFromSecret` to /etc/app-config/secrets.properties Used for retrocompatiblity with FeatureHub controller versions lower than 1.5.0 https://docs.featurehub.io/featurehub/latest/installation.html#_run_configuration |
5656
| edge.envFromSecret | string | `""` | Name of the secret containing secret properties, to be exposed as environment variables to edge deployment. Create the secret in advance, then reference it here. As of 1.5.0 all FeatureHub controller properties are available as environment variables using the same case Entries of the secret specified here are the same as would be specified in /etc/app-config/secrets.properties |
57-
| edge.environmentVars | object | `{"dacha.url.default":"http://featurehub-dacha:8600","dacha1.enabled":"false","dacha2.enabled":"true","listen.pool-size":"30","maxSlots":"30","server.gracePeriodInSeconds":"10","update.pool-size":"30"}` | Environment variables to be exposed to edge deployment. As of 1.5.0 all FeatureHub controller properties are available as environment variables using the same case. Entries accepted here are the same as would be specified in /etc/app-config/applications.properties. Note that `server.port` and `monitor.port` use their default values of `8085` and `8701` respectively, to make it easier to implement the deployment, service and the prometheus serviceMonitor manifests. |
57+
| edge.environmentVars | object | `{"dacha.timeout.read":"12000","dacha.url.default":"http://featurehub-dacha:8600","dacha1.enabled":"false","dacha2.enabled":"true","listen.pool-size":"30","maxSlots":"30","server.gracePeriodInSeconds":"10","update.pool-size":"30"}` | Environment variables to be exposed to edge deployment. As of 1.5.0 all FeatureHub controller properties are available as environment variables using the same case. Entries accepted here are the same as would be specified in /etc/app-config/applications.properties. Note that `server.port` and `monitor.port` use their default values of `8085` and `8701` respectively, to make it easier to implement the deployment, service and the prometheus serviceMonitor manifests. |
5858
| edge.extraContainers | list | `[]` | List of extra containers to add to Edge Pod |
5959
| edge.extraEnvironmentVars | object | `{}` | Extra environment variables to be exposed to edge deployment. In terms of environment variable setting, this is the same as `environmentVars` field. The only difference is that if `envAsAppConfigFile: true`, only entries from `environmentVars` will be mapped to the application.properties configuration file, and not the ones from `extraEnvironmentVars`. |
6060
| edge.extraVolumeMounts | list | `[]` | List of extra mounts to add to Edge Deployment |
6161
| edge.extraVolumes | list | `[]` | List of extra volumes to add to Edge Deployment |
6262
| edge.image.repository | string | `"featurehub/edge"` | |
63-
| edge.image.tag | string | `"1.6.0"` | |
63+
| edge.image.tag | string | `"1.6.1-RC"` | |
6464
| edge.imagePullSecrets | list | `[]` | |
6565
| edge.ingress.annotations | object | `{}` | |
6666
| edge.ingress.className | string | `""` | |
@@ -108,7 +108,7 @@ FeatureHub Release
108108
| managementRepository.extraVolumeMounts | list | `[]` | List of extra mounts to add to Management Repository Deployment |
109109
| managementRepository.extraVolumes | list | `[]` | List of extra volumes to add to Management Repository Deployment |
110110
| managementRepository.image.repository | string | `"featurehub/mr"` | |
111-
| managementRepository.image.tag | string | `"1.6.0"` | |
111+
| managementRepository.image.tag | string | `"1.6.1-RC"` | |
112112
| managementRepository.imagePullSecrets | list | `[]` | |
113113
| managementRepository.ingress.annotations | object | `{}` | |
114114
| managementRepository.ingress.className | string | `""` | |

helm/featurehub/templates/dacha/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ spec:
7979
livenessProbe:
8080
initialDelaySeconds: 20
8181
periodSeconds: 20
82-
failureThreshold: 2
82+
failureThreshold: 1 # we set this to 1 because if the health check fails, it means the cache is compromised
8383
timeoutSeconds: 3
8484
httpGet:
8585
path: /health/liveness
@@ -88,15 +88,15 @@ spec:
8888
initialDelaySeconds: 20
8989
periodSeconds: 20
9090
successThreshold: 2
91-
failureThreshold: 2
91+
failureThreshold: 1
9292
timeoutSeconds: 3
9393
httpGet:
9494
path: /health/readiness
9595
port: metrics
9696
volumeMounts:
9797
{{- if gt ( len .Values.global.extraCommonConfigFiles ) 0 -}}
9898
{{- range $cm := .Values.global.extraCommonConfigFiles }}
99-
- name: {{ $cm.configMapSuffix }}
99+
- name: {{ $cm.configMapSuffix }}
100100
mountPath: "/etc/common-config/{{ $cm.fileName }}"
101101
subPath: {{ $cm.fileName | quote }}
102102
{{- end }}

helm/featurehub/templates/global-ingress.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,13 @@ apiVersion: networking.k8s.io/v1
33
kind: Ingress
44
metadata:
55
name: featurehub
6+
namespace: {{ .Release.Namespace }}
67
labels:
78
{{- with .Values.global.ingress.annotations }}
89
annotations:
910
{{- toYaml . | nindent 4 }}
1011
{{- end }}
1112
spec:
12-
defaultBackend:
13-
service:
14-
name: "featurehub-management-repository"
15-
port:
16-
name: http
1713
rules:
1814
- http:
1915
paths:
@@ -24,4 +20,11 @@ spec:
2420
name: "featurehub-edge"
2521
port:
2622
name: http
23+
- path: /
24+
pathType: Prefix
25+
backend:
26+
service:
27+
name: "featurehub-management-repository"
28+
port:
29+
name: http
2730
{{- end }}

helm/featurehub/values.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ managementRepository:
102102

103103
image:
104104
repository: featurehub/mr
105-
tag: 1.6.0
105+
tag: 1.6.1-RC
106106

107107
pullPolicy: IfNotPresent
108108

@@ -267,7 +267,7 @@ edge:
267267

268268
image:
269269
repository: featurehub/edge
270-
tag: 1.6.0
270+
tag: 1.6.1-RC
271271

272272
pullPolicy: IfNotPresent
273273

@@ -311,6 +311,7 @@ edge:
311311
dacha.url.default: http://featurehub-dacha:8600
312312
dacha1.enabled: "false"
313313
dacha2.enabled: "true"
314+
dacha.timeout.read: "12000" # this should reflect the sizing/capability of your database to respond to the 1st time a key is requested
314315

315316

316317
# -- If `true`, entries from `environmentVars` and `envFromSecret` fields will be mapped to configuration files.
@@ -405,7 +406,7 @@ dacha:
405406

406407
image:
407408
repository: featurehub/dacha2
408-
tag: 1.6.0
409+
tag: 1.6.1-RC
409410

410411
pullPolicy: IfNotPresent
411412

0 commit comments

Comments
 (0)