diff --git a/charts/ojp-server/Chart.yaml b/charts/ojp-server/Chart.yaml index 1521bf0..e747bed 100644 --- a/charts/ojp-server/Chart.yaml +++ b/charts/ojp-server/Chart.yaml @@ -10,5 +10,5 @@ maintainers: url: https://github.com/petruki type: application -version: 0.1.2 +version: 0.1.4 appVersion: "0.1.0-beta" diff --git a/charts/ojp-server/README.md b/charts/ojp-server/README.md index 93135cc..c2071e1 100644 --- a/charts/ojp-server/README.md +++ b/charts/ojp-server/README.md @@ -25,7 +25,7 @@ helm uninstall ojp-server --namespace ojp | Name | Description | Value | | -------------------------- | ---------------------------------------------- | ---------------------- | | `server.port` | OJP Server Port | `1059` | -| `server.prometheusPort` | OJP Server Prometheus Port | `9090` | +| `server.prometheusPort` | OJP Server Prometheus Port | `9159` | | `server.threadPoolSize` | OJP Server Thread Pool Size | `200` | | `server.maxRequestSize` | OJP Server Max Request Size | `4194304` | | `server.connectionIdleTimeout` | OJP Server Connection Idle Timeout | `30000` | @@ -40,7 +40,9 @@ helm uninstall ojp-server --namespace ojp | `server.slowQuerySegregation.idleTimeout` | OJP Server Slow Query Segregation Idle Timeout | `10000` | | `server.slowQuerySegregation.slowSlotTimeout` | OJP Server Slow Query Segregation Slow Slot Timeout | `120000` | | `server.slowQuerySegregation.fastSlotTimeout` | OJP Server Slow Query Segregation Fast Slot Timeout | `60000` | +| `server.slowQuerySegregation.updateGlobalAvgInterval` | OJP Server Slow Query Segregation Update Global Average Interval | `300` | | `server.logLevel` | OJP Server Log Level | `INFO` | +| `server.driversPath` | OJP Server External Libraries Directory Path | `./ojp-libs` | ## Local diff --git a/charts/ojp-server/templates/configmap.yaml b/charts/ojp-server/templates/configmap.yaml index f9dfb90..df1738c 100644 --- a/charts/ojp-server/templates/configmap.yaml +++ b/charts/ojp-server/templates/configmap.yaml @@ -22,4 +22,6 @@ data: OJP_SERVER_SLOWQUERYSEGREGATION_IDLETIMEOUT: {{ .Values.server.slowQuerySegregation.idleTimeout | quote }} OJP_SERVER_SLOWQUERYSEGREGATION_SLOWSLOTTIMEOUT: {{ .Values.server.slowQuerySegregation.slowSlotTimeout | quote }} OJP_SERVER_SLOWQUERYSEGREGATION_FASTSLOTTIMEOUT: {{ .Values.server.slowQuerySegregation.fastSlotTimeout | quote }} - OJP_SERVER_LOGLEVEL: {{ .Values.server.logLevel | quote }} \ No newline at end of file + OJP_SERVER_SLOWQUERYSEGREGATION_UPDATEGLOBALAVGINTERVAL: {{ .Values.server.slowQuerySegregation.updateGlobalAvgInterval | quote }} + OJP_SERVER_LOGLEVEL: {{ .Values.server.logLevel | quote }} + OJP_LIBS_PATH: {{ .Values.server.driversPath | quote }} \ No newline at end of file diff --git a/charts/ojp-server/values.yaml b/charts/ojp-server/values.yaml index 53bc3ba..b4d274b 100644 --- a/charts/ojp-server/values.yaml +++ b/charts/ojp-server/values.yaml @@ -2,7 +2,7 @@ replicaCount: 1 server: port: 1059 - prometheusPort: 9090 + prometheusPort: 9159 threadPoolSize: 200 maxRequestSize: 4194304 connectionIdleTimeout: "30000" @@ -19,7 +19,9 @@ server: idleTimeout: 10000 slowSlotTimeout: 120000 fastSlotTimeout: 60000 + updateGlobalAvgInterval: 300 logLevel: INFO + driversPath: "./ojp-libs" image: repository: rrobetti/ojp