Skip to content

Commit

Permalink
Proxy: consumptions events for to s3 config (#74)
Browse files Browse the repository at this point in the history
* Proxy: consumptions events for to s3 config

* Readme
  • Loading branch information
khanova authored Apr 4, 2024
1 parent 23b4962 commit 64cdcdd
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/neon-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: neon-proxy
description: Neon Proxy
type: application
version: 1.7.19
version: 1.7.20
appVersion: "0.1.0"
kubeVersion: "^1.18.x-x"
home: https://neon.tech
Expand Down
5 changes: 4 additions & 1 deletion charts/neon-proxy/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# neon-proxy

![Version: 1.7.19](https://img.shields.io/badge/Version-1.7.19-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)
![Version: 1.7.20](https://img.shields.io/badge/Version-1.7.20-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) [![Lint and Test Charts](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml/badge.svg)](https://github.com/neondatabase/helm-charts/actions/workflows/lint-test.yaml)

Neon Proxy

Expand Down Expand Up @@ -74,6 +74,9 @@ Kubernetes: `^1.18.x-x`
| settings.endpointRpsLimits[1] | string | `"250@10m"` | |
| settings.extraDomains | list | `[]` | domains used in extra TLS certs for client postgres connections |
| settings.httpPoolOptIn | bool | `true` | (bool) Sets the SQL over HTTP Pool to opt-in-only mode if true. Set false to enable it always |
| settings.metricBackupCollectionChunkSize | string | `"4194304"` | (string) How large each chunk of the metric backup files should be in bytes |
| settings.metricBackupCollectionInterval | string | `"10m"` | |
| settings.metricBackupCollectionRemoteStorage | string | `""` | (string) Storage location to upload the metric backup files to |
| settings.metricCollectionEndpoint | string | `""` | (url) endpoint used to send metrics to. If null, metrics will not be sent. |
| settings.metricCollectionInterval | string | `""` | (string) how often metrics should be sent. |
| settings.otelExporterDisabled | bool | `false` | Disables OpenTelemetry (will be converted into `OTEL_SDK_DISABLED` environment variable) |
Expand Down
9 changes: 9 additions & 0 deletions charts/neon-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,15 @@ spec:
- --redis-notifications
- {{ . }}
{{- end }}
{{- with .Values.settings.metricBackupCollectionInterval }}
- --metric-backup-collection-interval={{ . }}
{{ end }}
{{- with .Values.settings.metricBackupCollectionRemoteStorage }}
- --metric-backup-collection-remote-storage={{ . }}
{{ end }}
{{- with .Values.settings.metricBackupCollectionChunkSize }}
- --metric-backup-collection-chunk-size={{ . }}
{{ end }}

{{- if .Values.settings }}
env:
Expand Down
6 changes: 6 additions & 0 deletions charts/neon-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ settings:
awsAccessKeyId: ""
# settings.awsSecretAccessKey -- (string) AWS Secret Access Key
awsSecretAccessKey: ""
# settings.metricBackupCollectionRemoteStorage -- (string) Storage location to upload the metric backup files to
metricBackupCollectionRemoteStorage: ""
# settings.metrickBackupCollectionInterval -- (string) How often to upload the metric backup files
metricBackupCollectionInterval: "10m"
# settings.metricBackupCollectionChunkSize -- (string) How large each chunk of the metric backup files should be in bytes
metricBackupCollectionChunkSize: "4194304"

serviceAccount:
# serviceAccount.create - Specifies whether a service account should be created
Expand Down

0 comments on commit 64cdcdd

Please sign in to comment.