You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apigateway/helm/README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -180,6 +180,7 @@ Sub-folder `examples` contains some *values* examples for more use-cases. To use
180
180
|`3.2.0`| Added minor changes and example values for API Gateway 11.1 |
181
181
|`3.3.0`| Install Elasticsearch Plugins behind a Proxy. See `extraCmdPluginInstaller`|
182
182
|`3.3.1`| Setting of environment variable in Job template fixed. |
183
+
|`3.4.0`| The Service Monitor supports the setting of `fallbackScrapeProtocol`. This allows newer Prometheus server versions 3.x to scrape metrics from API Gateway. See [Prometheus configuration](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config) for more information. Set the port `apigw.adminPort` to empty value if you don't want to expose the administration port as a service.|
| affinity | object |`{}`| Set Pod (anti-) affinity for APIGW. You can use templates inside because `tpl` function is called for rendering. |
218
-
| apigw.adminPort | int |`5555`| The default administration port. Note in a default installation this port will also be used for runtime traffic. |
219
+
| apigw.adminPort | int |`5555`| The default administration port. Note in a default installation this port will also be used for runtime traffic. Set the port to empty value if you don't want to expose the administration port as a service. |
219
220
| apigw.adminSecretKey | string |`""`| The key that holds the admin secret key; defauls to "password" |
220
221
| apigw.adminSecretName | string |`""`| The secret that holds the admin password Depends on secrets.genereateAdminSecret; if true the setting will be ignored. |
| podDisruptionBudget | object |`{"enabled":false}`| Create a PodDisruptionBudget for API Gateway |
431
432
| podSecurityContext | object |`{}`||
432
433
| priorityClassName | string |`""`| Set APIGW and Nginx Pods' Priority Class Name ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/|
433
-
| prometheus | object |`{"interval":"10s","path":"/metrics","port":"5555","scheme":"http","scrape":"true","scrapeTimeout":"10s"}`| Define values for Prometheus Operator to scrap metrics via annotation or ServiceMonitor. |
434
+
| prometheus | object |`{"fallbackScrapeProtocol":null,"interval":"10s","path":"/metrics","port":"5555","scheme":"http","scrape":"true","scrapeTimeout":"10s"}`| Define values for Prometheus Operator to scrap metrics via annotation or ServiceMonitor. |
| prometheus-elasticsearch-exporter.enabled | bool |`true`| Deploy the prometheus exporter for elasticsearch |
436
437
| prometheus-elasticsearch-exporter.es.uri | string |`"http://$(ES_USER):$(ES_PASSWORD)@{{ printf \"%s\" .Release.Name }}-apigateway-es-http:9200"`| The uri of the elasticsearch service. By default this is null and the environment variable ES_URI is used instead. Overwrite this if you are using an external Elasticsearch instance |
437
438
| prometheus-elasticsearch-exporter.extraEnvSecrets | object |`{"ES_PASSWORD":{"key":"password","secret":"{{ printf \"%s-apigateway-sag-user-es\" .Release.Name }}"},"ES_USER":{"key":"username","secret":"{{ printf \"%s-apigateway-sag-user-es\" .Release.Name }}"}}`| secret for elasticsearch user. Will need to adjust the secret's name. By default the secret name is <releasename>-apigateway-sag-user-es. Adjust accordingly if your release name is different. |
438
439
| prometheus-elasticsearch-exporter.podSecurityContext.runAsUser | int |`1000730001`| Enter value {1000770001} from UID range of an OpenShift Project. |
439
440
| prometheus-elasticsearch-exporter.revisionHistoryLimit | int |`10`| The number of old ReplicaSets to retain to allow rollback. |
441
+
| prometheus.fallbackScrapeProtocol | string |`nil`| Setup Prometheus scrape protocol. Set value `PrometheusText0.0.4` here if you are using Prometheus server version 3.x. See [Prometheus configuration](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config). |
440
442
| replicaCount | int |`1`||
441
443
| resources.apigwContainer.limits.cpu | int |`8`||
Copy file name to clipboardExpand all lines: apigateway/helm/README.md.gotmpl
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -180,6 +180,7 @@ Sub-folder `examples` contains some *values* examples for more use-cases. To use
180
180
| `3.2.0` | Added minor changes and example values for API Gateway 11.1 |
181
181
| `3.3.0` | Install Elasticsearch Plugins behind a Proxy. See `extraCmdPluginInstaller` |
182
182
| `3.3.1` | Setting of environment variable in Job template fixed. |
183
+
| `3.4.0` | The Service Monitor supports the setting of `fallbackScrapeProtocol`. This allows newer Prometheus server versions 3.x to scrape metrics from API Gateway. See [Prometheus configuration](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config) for more information. Set the port `apigw.adminPort` to empty value if you don't want to expose the administration port as a service.|
Copy file name to clipboardExpand all lines: apigateway/helm/values.yaml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -343,7 +343,7 @@ apigw:
343
343
diagPort: 9999
344
344
# -- The default API Administration UI port
345
345
uiPort: 9072
346
-
# -- The default administration port. Note in a default installation this port will also be used for runtime traffic.
346
+
# -- The default administration port. Note in a default installation this port will also be used for runtime traffic. Set the port to empty value if you don't want to expose the administration port as a service.
347
347
adminPort: 5555
348
348
# -- External Runtime Port for Reverse Invoke Setups. This port must be manually setup after API Gateway was initizalized.
349
349
runtimeExternalPort: 6555
@@ -503,6 +503,8 @@ prometheus:
503
503
interval: 10s
504
504
## -- Only used on ServiceMonitor
505
505
scrapeTimeout: 10s
506
+
# -- Setup Prometheus scrape protocol. Set value `PrometheusText0.0.4` here if you are using Prometheus server version 3.x. See [Prometheus configuration](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config).
507
+
fallbackScrapeProtocol:
506
508
507
509
serviceMonitor:
508
510
# -- Create and enable CRD ServiceMonitor. The default is `false`.
0 commit comments