Compare commits
13 Commits
postgres-c
...
postgres-c
Author | SHA1 | Date | |
---|---|---|---|
ec6f44c6bc | |||
35f331e29a | |||
3b0481fcb1 | |||
e2dfd70dc4 | |||
ffc253ef7d | |||
77dd85362e | |||
d5bb83bf84 | |||
11d3dd927b | |||
1b67b5cbb6 | |||
56fe199fb9 | |||
8ec7f590b2 | |||
d2444fb544 | |||
202a534e8e |
19
.pre-commit-config.yaml
Normal file
19
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v2.3.0
|
||||||
|
hooks:
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: trailing-whitespace
|
||||||
|
- id: check-added-large-files
|
||||||
|
- id: check-yaml
|
||||||
|
exclude: 'charts/'
|
||||||
|
args:
|
||||||
|
- --multi
|
||||||
|
- repo: https://github.com/norwoodj/helm-docs
|
||||||
|
rev: v1.14.2
|
||||||
|
hooks:
|
||||||
|
- id: helm-docs
|
||||||
|
args:
|
||||||
|
- --chart-search-root=charts
|
||||||
|
- --template-files=./_templates.gotmpl
|
||||||
|
- --template-files=README.md.gotmpl
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: cloudflared
|
name: cloudflared
|
||||||
version: 1.12.0
|
version: 1.12.3
|
||||||
description: Cloudflared Tunnel
|
description: Cloudflared Tunnel
|
||||||
keywords:
|
keywords:
|
||||||
- cloudflare
|
- cloudflare
|
||||||
@@ -13,6 +13,6 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://bjw-s.github.io/helm-charts/
|
repository: https://bjw-s.github.io/helm-charts/
|
||||||
version: 3.5.1
|
version: 3.6.0
|
||||||
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
|
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
|
||||||
appVersion: "2024.12.2"
|
appVersion: "2024.12.2"
|
||||||
|
@@ -1,16 +1,35 @@
|
|||||||
## Introduction
|
# cloudflared
|
||||||
|
|
||||||
[Cloudflared](https://github.com/cloudflare/cloudflared)
|
 
|
||||||
|
|
||||||
Contains the command-line client for Cloudflare Tunnel, a tunneling daemon that proxies traffic from the Cloudflare network to your origins.
|
Cloudflared Tunnel
|
||||||
|
|
||||||
This chart bootstraps a [Cloudflared](https://github.com/cloudflare/cloudflared) tunnel on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
## Maintainers
|
||||||
|
|
||||||
## Prerequisites
|
| Name | Email | Url |
|
||||||
|
| ---- | ------ | --- |
|
||||||
|
| alexlebens | | |
|
||||||
|
|
||||||
- Kubernetes
|
## Source Code
|
||||||
- Helm
|
|
||||||
|
|
||||||
## Parameters
|
* <https://github.com/cloudflare/cloudflared>
|
||||||
|
* <https://github.com/bjw-s/helm-charts/tree/main/charts/library/common>
|
||||||
|
|
||||||
See the [values files](values.yaml).
|
## Requirements
|
||||||
|
|
||||||
|
| Repository | Name | Version |
|
||||||
|
|------------|------|---------|
|
||||||
|
| https://bjw-s.github.io/helm-charts/ | common | 3.6.0 |
|
||||||
|
|
||||||
|
## Values
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| existingSecretKey | string | `"cf-tunnel-token"` | Name of key that contains the token in the existingSecret |
|
||||||
|
| existingSecretName | string | `"cloudflared-secret"` | Name of existing secret that contains Cloudflare token |
|
||||||
|
| image | object | `{"pullPolicy":"IfNotPresent","repository":"cloudflare/cloudflared","tag":"2024.12.2"}` | Default image |
|
||||||
|
| name | string | `"cloudflared"` | Name override of release |
|
||||||
|
| resources | object | `{"requests":{"cpu":"100m","memory":"128Mi"}}` | Default resources |
|
||||||
|
|
||||||
|
----------------------------------------------
|
||||||
|
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
|
||||||
|
@@ -1,10 +1,19 @@
|
|||||||
|
# -- Name override of release
|
||||||
name: cloudflared
|
name: cloudflared
|
||||||
|
|
||||||
|
# -- Name of existing secret that contains Cloudflare token
|
||||||
existingSecretName: cloudflared-secret
|
existingSecretName: cloudflared-secret
|
||||||
|
|
||||||
|
# -- Name of key that contains the token in the existingSecret
|
||||||
existingSecretKey: cf-tunnel-token
|
existingSecretKey: cf-tunnel-token
|
||||||
|
|
||||||
|
# -- Default image
|
||||||
image:
|
image:
|
||||||
repository: cloudflare/cloudflared
|
repository: cloudflare/cloudflared
|
||||||
tag: "2024.12.2"
|
tag: "2024.12.2"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
# -- Default resources
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: generic-device-plugin
|
name: generic-device-plugin
|
||||||
version: 0.1.2
|
version: 0.1.5
|
||||||
description: Generic Device Plugin
|
description: Generic Device Plugin
|
||||||
keywords:
|
keywords:
|
||||||
- generic-device-plugin
|
- generic-device-plugin
|
||||||
@@ -14,5 +14,5 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://bjw-s.github.io/helm-charts/
|
repository: https://bjw-s.github.io/helm-charts/
|
||||||
version: 3.5.1
|
version: 3.6.0
|
||||||
appVersion: 0.1.2
|
appVersion: 0.1.5
|
||||||
|
@@ -1,16 +1,37 @@
|
|||||||
## Introduction
|
# generic-device-plugin
|
||||||
|
|
||||||
[Generic Device Plugin](https://github.com/squat/generic-device-plugin)
|
 
|
||||||
|
|
||||||
The generic-device-plugin enables allocating generic Linux devices, such as serial devices, the FUSE device, or video cameras, to Kubernetes Pods.
|
Generic Device Plugin
|
||||||
|
|
||||||
This chart bootstraps a [Generic Device Plugin](https://github.com/squat/generic-device-plugin) daemonset on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
## Maintainers
|
||||||
|
|
||||||
## Prerequisites
|
| Name | Email | Url |
|
||||||
|
| ---- | ------ | --- |
|
||||||
|
| alexlebens | | |
|
||||||
|
|
||||||
- Kubernetes
|
## Source Code
|
||||||
- Helm
|
|
||||||
|
|
||||||
## Parameters
|
* <https://github.com/squat/generic-device-plugin>
|
||||||
|
* <https://github.com/bjw-s/helm-charts/tree/main/charts/library/common>
|
||||||
|
|
||||||
See the [values files](values.yaml).
|
## Requirements
|
||||||
|
|
||||||
|
| Repository | Name | Version |
|
||||||
|
|------------|------|---------|
|
||||||
|
| https://bjw-s.github.io/helm-charts/ | common | 3.6.0 |
|
||||||
|
|
||||||
|
## Values
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| config | object | `{"data":"devices:\n - name: serial\n groups:\n - paths:\n - path: /dev/ttyUSB*\n - paths:\n - path: /dev/ttyACM*\n - paths:\n - path: /dev/tty.usb*\n - paths:\n - path: /dev/cu.*\n - paths:\n - path: /dev/cuaU*\n - paths:\n - path: /dev/rfcomm*\n - name: video\n groups:\n - paths:\n - path: /dev/video0\n - name: fuse\n groups:\n - count: 10\n paths:\n - path: /dev/fuse\n - name: audio\n groups:\n - count: 10\n paths:\n - path: /dev/snd\n - name: capture\n groups:\n - paths:\n - path: /dev/snd/controlC0\n - path: /dev/snd/pcmC0D0c\n - paths:\n - path: /dev/snd/controlC1\n mountPath: /dev/snd/controlC0\n - path: /dev/snd/pcmC1D0c\n mountPath: /dev/snd/pcmC0D0c\n - paths:\n - path: /dev/snd/controlC2\n mountPath: /dev/snd/controlC0\n - path: /dev/snd/pcmC2D0c\n mountPath: /dev/snd/pcmC0D0c\n - paths:\n - path: /dev/snd/controlC3\n mountPath: /dev/snd/controlC0\n - path: /dev/snd/pcmC3D0c\n mountPath: /dev/snd/pcmC0D0c\n","enabled":true}` | Config map |
|
||||||
|
| config.data | string | See [values.yaml](./values.yaml) | generic-device-plugin config file [[ref]](https://github.com/squat/generic-device-plugin#usage) |
|
||||||
|
| deviceDomain | string | `"squat.ai"` | Domain used by devices for identifcation |
|
||||||
|
| image | object | `{"pullPolicy":"Always","repository":"ghcr.io/squat/generic-device-plugin","tag":"latest"}` | Default image |
|
||||||
|
| name | string | `"generic-device-plugin"` | Name override of release |
|
||||||
|
| resources | object | `{"limit":{"cpu":"100m","memory":"20Mi"},"requests":{"cpu":"50m","memory":"10Mi"}}` | Default resources |
|
||||||
|
| service | object | `{"listenPort":8080}` | Service port |
|
||||||
|
|
||||||
|
----------------------------------------------
|
||||||
|
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{{- include "bjw-s.common.loader.init" . }}
|
{{ include "bjw-s.common.loader.init" . }}
|
||||||
|
|
||||||
{{- define "genericDevicePlugin.hardcodedValues" -}}
|
{{ define "genericDevicePlugin.hardcodedValues" }}
|
||||||
{{ if not .Values.global.nameOverride }}
|
{{ if not .Values.global.nameOverride }}
|
||||||
global:
|
global:
|
||||||
nameOverride: {{ .Values.name }}
|
nameOverride: {{ .Values.name }}
|
||||||
@@ -75,8 +75,8 @@ serviceMonitor:
|
|||||||
path: /metrics
|
path: /metrics
|
||||||
interval: 30s
|
interval: 30s
|
||||||
scrapeTimeout: 10s
|
scrapeTimeout: 10s
|
||||||
{{- end -}}
|
{{ end }}
|
||||||
{{- $_ := mergeOverwrite .Values (include "genericDevicePlugin.hardcodedValues" . | fromYaml) -}}
|
{{ $_ := mergeOverwrite .Values (include "genericDevicePlugin.hardcodedValues" . | fromYaml) }}
|
||||||
|
|
||||||
{{/* Render the templates */}}
|
{{/* Render the templates */}}
|
||||||
{{ include "bjw-s.common.loader.generate" . }}
|
{{ include "bjw-s.common.loader.generate" . }}
|
||||||
|
@@ -1,15 +1,20 @@
|
|||||||
|
# -- Name override of release
|
||||||
name: generic-device-plugin
|
name: generic-device-plugin
|
||||||
|
|
||||||
|
# -- Default image
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/squat/generic-device-plugin
|
repository: ghcr.io/squat/generic-device-plugin
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
tag: latest
|
tag: latest
|
||||||
|
|
||||||
|
# -- Domain used by devices for identifcation
|
||||||
deviceDomain: squat.ai
|
deviceDomain: squat.ai
|
||||||
|
|
||||||
|
# -- Service port
|
||||||
service:
|
service:
|
||||||
listenPort: 8080
|
listenPort: 8080
|
||||||
|
|
||||||
|
# -- Default resources
|
||||||
resources:
|
resources:
|
||||||
limit:
|
limit:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
@@ -18,6 +23,7 @@ resources:
|
|||||||
cpu: 50m
|
cpu: 50m
|
||||||
memory: 10Mi
|
memory: 10Mi
|
||||||
|
|
||||||
|
# -- Config map
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
# -- generic-device-plugin config file [[ref]](https://github.com/squat/generic-device-plugin#usage)
|
# -- generic-device-plugin config file [[ref]](https://github.com/squat/generic-device-plugin#usage)
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: postgres-cluster
|
name: postgres-cluster
|
||||||
version: 3.20.9
|
version: 4.1.2
|
||||||
description: Chart for cloudnative-pg cluster
|
description: Chart for cloudnative-pg cluster
|
||||||
keywords:
|
keywords:
|
||||||
- database
|
- database
|
||||||
@@ -10,4 +10,4 @@ sources:
|
|||||||
maintainers:
|
maintainers:
|
||||||
- name: alexlebens
|
- name: alexlebens
|
||||||
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
|
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
|
||||||
appVersion: v1.24.1
|
appVersion: v1.25.0
|
||||||
|
@@ -1,17 +1,82 @@
|
|||||||
## Introduction
|
# postgres-cluster
|
||||||
|
|
||||||
[CloudNative PG](https://github.com/cloudnative-pg/cloudnative-pg)
|
 
|
||||||
|
|
||||||
CloudNativePG is the Kubernetes operator that covers the full lifecycle of a highly available PostgreSQL database cluster with a primary/standby architecture, using native streaming replication.
|
Chart for cloudnative-pg cluster
|
||||||
|
|
||||||
This chart bootstraps a [CNPG](https://github.com/cloudnative-pg/cloudnative-pg) cluster on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
## Maintainers
|
||||||
|
|
||||||
## Prerequisites
|
| Name | Email | Url |
|
||||||
|
| ---- | ------ | --- |
|
||||||
|
| alexlebens | | |
|
||||||
|
|
||||||
- Kubernetes
|
## Source Code
|
||||||
- Helm
|
|
||||||
- CloudNative PG Operator
|
|
||||||
|
|
||||||
## Parameters
|
* <https://github.com/cloudnative-pg/cloudnative-pg>
|
||||||
|
|
||||||
See the [values files](values.yaml).
|
## Values
|
||||||
|
|
||||||
|
| Key | Type | Default | Description |
|
||||||
|
|-----|------|---------|-------------|
|
||||||
|
| backup.backupIndex | int | `1` | Generate external cluster name, creates: postgresql-{{ .Release.Name }}-cluster-backup-index-{{ .Values.backups.backupIndex }}" |
|
||||||
|
| backup.backupName | string | `""` | Name of the backup cluster in the object store, defaults to "cluster.name" |
|
||||||
|
| backup.data.compression | string | `"snappy"` | Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. |
|
||||||
|
| backup.data.encryption | string | `""` | Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`. |
|
||||||
|
| backup.data.jobs | int | `2` | Number of data files to be archived or restored in parallel. |
|
||||||
|
| backup.destinationPath | string | `""` | S3 path starting with "s3://" |
|
||||||
|
| backup.enabled | bool | `false` | |
|
||||||
|
| backup.endpointCA | string | `""` | Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt |
|
||||||
|
| backup.endpointCredentials | string | `""` | Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY |
|
||||||
|
| backup.endpointURL | string | `""` | S3 endpoint starting with "https://" |
|
||||||
|
| backup.historyTags.backupRetentionPolicy | string | `""` | |
|
||||||
|
| backup.retentionPolicy | string | `"14d"` | Retention policy for backups |
|
||||||
|
| backup.schedule | string | `"0 0 0 * * *"` | Scheduled backup in cron format |
|
||||||
|
| backup.tags | object | `{"backupRetentionPolicy":""}` | Tags to add to backups. Add in key value beneath the type. |
|
||||||
|
| backup.wal.compression | string | `"snappy"` | WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. |
|
||||||
|
| backup.wal.encryption | string | `""` | Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. |
|
||||||
|
| backup.wal.maxParallel | int | `2` | Number of WAL files to be archived or restored in parallel. |
|
||||||
|
| bootstrap | object | `{"initdb":{}}` | Bootstrap is the configuration of the bootstrap process when initdb is used. See: https://cloudnative-pg.io/documentation/current/bootstrap/ See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-bootstrapinitdb |
|
||||||
|
| bootstrap.initdb | object | `{}` | Example values database: app owner: app secret: "" # Name of the secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch postInitApplicationSQL: - CREATE TABLE IF NOT EXISTS example; |
|
||||||
|
| cluster.additionalLabels | object | `{}` | |
|
||||||
|
| cluster.affinity | object | `{"enablePodAntiAffinity":true,"topologyKey":"kubernetes.io/hostname"}` | See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration |
|
||||||
|
| cluster.annotations | object | `{}` | |
|
||||||
|
| cluster.enableSuperuserAccess | bool | `false` | Create secret containing credentials of superuser |
|
||||||
|
| cluster.image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/cloudnative-pg/postgresql","tag":"17.2-22"}` | Default image |
|
||||||
|
| cluster.instances | int | `3` | |
|
||||||
|
| cluster.logLevel | string | `"info"` | |
|
||||||
|
| cluster.monitoring | object | `{"enabled":false,"podMonitor":{"enabled":true},"prometheusRule":{"enableDefaultRules":true,"enabled":false,"excludeRules":[]}}` | Enable default monitoring and alert rules |
|
||||||
|
| cluster.postgresGID | int | `26` | |
|
||||||
|
| cluster.postgresUID | int | `26` | The UID and GID of the postgres user inside the image |
|
||||||
|
| cluster.postgresql | object | `{"parameters":{"hot_standby_feedback":"on","max_slot_wal_keep_size":"2000MB","shared_buffers":"128MB"},"shared_preload_libraries":[]}` | Parameters to be set for the database itself See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-PostgresConfiguration |
|
||||||
|
| cluster.primaryUpdateMethod | string | `"switchover"` | Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated. It can be switchover (default) or in-place (restart). |
|
||||||
|
| cluster.primaryUpdateStrategy | string | `"unsupervised"` | Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been successfully updated: it can be automated (unsupervised - default) or manual (supervised) |
|
||||||
|
| cluster.priorityClassName | string | `""` | |
|
||||||
|
| cluster.resources | object | `{"limits":{"cpu":1,"hugepages-2Mi":"256Mi","memory":"2Gi"},"requests":{"cpu":"100m","memory":"256Mi"}}` | Default resources |
|
||||||
|
| cluster.storage.size | string | `"10Gi"` | |
|
||||||
|
| cluster.storage.storageClass | string | `""` | |
|
||||||
|
| cluster.walStorage | object | `{"size":"2Gi","storageClass":""}` | Default storage size |
|
||||||
|
| mode | string | `"standalone"` | Cluster mode of operation. Available modes: * `standalone` - Default mode. Creates new or updates an existing CNPG cluster. * `recovery` - Same as standalone but creates a cluster from a backup, object store or via pg_basebackup * `replica` - Create database as a replica from another CNPG cluster |
|
||||||
|
| nameOverride | string | `""` | Override the name of the cluster |
|
||||||
|
| recovery | object | `{"data":{"compression":"snappy","encryption":"","jobs":2},"destinationPath":"","endpointCA":"","endpointCredentials":"","endpointURL":"","pitrTarget":{"time":""},"recoveryIndex":1,"recoveryInstanceName":"","recoveryServerName":"","wal":{"compression":"snappy","encryption":"","maxParallel":2}}` | Recovery settings when booting cluster from external cluster |
|
||||||
|
| recovery.data.compression | string | `"snappy"` | Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. |
|
||||||
|
| recovery.data.encryption | string | `""` | Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`. |
|
||||||
|
| recovery.data.jobs | int | `2` | Number of data files to be archived or restored in parallel. |
|
||||||
|
| recovery.endpointCA | string | `""` | Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt |
|
||||||
|
| recovery.endpointCredentials | string | `""` | Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY |
|
||||||
|
| recovery.endpointURL | string | `""` | S3 https endpoint and the s3:// path |
|
||||||
|
| recovery.pitrTarget | object | `{"time":""}` | Point in time recovery target in RFC3339 format |
|
||||||
|
| recovery.recoveryIndex | int | `1` | Generate external cluster name, uses: {{ .Release.Name }}postgresql-<major version>-cluster-backup-index-{{ .Values.recovery.recoveryIndex }} |
|
||||||
|
| recovery.recoveryInstanceName | string | `""` | Name of the recovery cluster in the object store, defaults to ".Release.Name" |
|
||||||
|
| recovery.recoveryServerName | string | `""` | Name of the recovery cluster in the object store, defaults to "cluster.name" |
|
||||||
|
| recovery.wal.compression | string | `"snappy"` | WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. |
|
||||||
|
| recovery.wal.encryption | string | `""` | Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. |
|
||||||
|
| recovery.wal.maxParallel | int | `2` | Number of WAL files to be archived or restored in parallel. |
|
||||||
|
| replica.externalCluster | object | `{"connectionParameters":{"dbname":"app","host":"postgresql","user":"app"},"password":{"key":"password","name":"postgresql"}}` | External cluster connection, password specifies a secret name and the key containing the password value |
|
||||||
|
| replica.importDatabases | list | `["app"]` | If type microservice only one database is allowed, default is app as standard in cnpg clusters |
|
||||||
|
| replica.importRoles | list | `[]` | If type microservice no roles are imported and ignored |
|
||||||
|
| replica.importType | string | `"microservice"` | See [here](https://cloudnative-pg.io/documentation/current/database_import/) for different import types * `microservice` - Single database import as expected from cnpg clusters * `monolith` - Import multiple databases and roles |
|
||||||
|
| replica.postImportApplicationSQL | list | `[]` | If import type is monolith postImportApplicationSQL is not supported and ignored |
|
||||||
|
| type | string | `"postgresql"` | Type of the CNPG database. Available types: * `postgresql` * `postgis` * `timescaledb` * `tensorchord` |
|
||||||
|
|
||||||
|
----------------------------------------------
|
||||||
|
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
|
||||||
|
@@ -10,7 +10,7 @@ bootstrap:
|
|||||||
{{- if eq .Values.type "tensorchord" }}
|
{{- if eq .Values.type "tensorchord" }}
|
||||||
dataChecksums: true
|
dataChecksums: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (eq .Values.type "tensorchord") (.Values.cluster.initdb.postInitApplicationSQL) }}
|
{{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (eq .Values.type "tensorchord") (.Values.bootstrap.initdb.postInitApplicationSQL) }}
|
||||||
postInitApplicationSQL:
|
postInitApplicationSQL:
|
||||||
{{- if eq .Values.type "postgis" }}
|
{{- if eq .Values.type "postgis" }}
|
||||||
- CREATE EXTENSION IF NOT EXISTS postgis;
|
- CREATE EXTENSION IF NOT EXISTS postgis;
|
||||||
|
@@ -18,6 +18,7 @@ spec:
|
|||||||
imagePullPolicy: {{ .Values.cluster.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.cluster.image.pullPolicy }}
|
||||||
postgresUID: {{ .Values.cluster.postgresUID }}
|
postgresUID: {{ .Values.cluster.postgresUID }}
|
||||||
postgresGID: {{ .Values.cluster.postgresGID }}
|
postgresGID: {{ .Values.cluster.postgresGID }}
|
||||||
|
enableSuperuserAccess: {{ .Values.cluster.enableSuperuserAccess }}
|
||||||
walStorage:
|
walStorage:
|
||||||
size: {{ .Values.cluster.walStorage.size }}
|
size: {{ .Values.cluster.walStorage.size }}
|
||||||
storageClass: {{ .Values.cluster.walStorage.storageClass }}
|
storageClass: {{ .Values.cluster.walStorage.storageClass }}
|
||||||
|
@@ -14,10 +14,10 @@ spec:
|
|||||||
- name: cloudnative-pg/{{ include "cluster.name" . }}
|
- name: cloudnative-pg/{{ include "cluster.name" . }}
|
||||||
rules:
|
rules:
|
||||||
{{- $dict := dict "excludeRules" .Values.cluster.monitoring.prometheusRule.excludeRules -}}
|
{{- $dict := dict "excludeRules" .Values.cluster.monitoring.prometheusRule.excludeRules -}}
|
||||||
{{- $_ := set $dict "value" "{{ $value }}" -}}
|
{{- $_ := set $dict "value" "{{`{{`}} $value {{`}}`}}" -}}
|
||||||
{{- $_ := set $dict "namespace" .Release.Namespace -}}
|
{{- $_ := set $dict "namespace" .Release.Namespace -}}
|
||||||
{{- $_ := set $dict "cluster" (printf "%s-cluster" (include "cluster.name" .) ) -}}
|
{{- $_ := set $dict "cluster" (printf "%s-cluster" (include "cluster.name" .) ) -}}
|
||||||
{{- $_ := set $dict "labels" (dict "job" "{{ $labels.job }}" "node" "{{ $labels.node }}" "pod" "{{ $labels.pod }}") -}}
|
{{- $_ := set $dict "labels" (dict "job" "{{`{{`}} $labels.job {{`}}`}}" "node" "{{`{{`}} $labels.node {{`}}`}}" "pod" "{{`{{`}} $labels.pod {{`}}`}}") -}}
|
||||||
{{- $_ := set $dict "podSelector" (printf "%s-cluster-([1-9][0-9]*)$" (include "cluster.name" .) ) -}}
|
{{- $_ := set $dict "podSelector" (printf "%s-cluster-([1-9][0-9]*)$" (include "cluster.name" .) ) -}}
|
||||||
{{- $_ := set $dict "Values" .Values -}}
|
{{- $_ := set $dict "Values" .Values -}}
|
||||||
{{- $_ := set $dict "Template" .Template -}}
|
{{- $_ := set $dict "Template" .Template -}}
|
||||||
@@ -27,4 +27,71 @@ spec:
|
|||||||
- {{ $tpl }}
|
- {{ $tpl }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- if .Values.cluster.monitoring.prometheusRule.enableDefaultRules }}
|
||||||
|
- name: cloudnative-pg/default-rules
|
||||||
|
rules:
|
||||||
|
- alert: LongRunningTransaction
|
||||||
|
annotations:
|
||||||
|
description: Pod {{`{{`}} $labels.pod {{`}}`}} is taking more than 5 minutes (300 seconds) for a query.
|
||||||
|
summary: A query is taking longer than 5 minutes.
|
||||||
|
expr: |-
|
||||||
|
cnpg_backends_max_tx_duration_seconds > 300
|
||||||
|
for: 1m
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
- alert: BackendsWaiting
|
||||||
|
annotations:
|
||||||
|
description: Pod {{`{{`}} $labels.pod {{`}}`}} has been waiting for longer than 5 minutes
|
||||||
|
summary: If a backend is waiting for longer than 5 minutes
|
||||||
|
expr: |-
|
||||||
|
cnpg_backends_waiting_total > 300
|
||||||
|
for: 1m
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
- alert: PGDatabaseXidAge
|
||||||
|
annotations:
|
||||||
|
description: Over 300,000,000 transactions from frozen xid on pod {{`{{`}} $labels.pod {{`}}`}}
|
||||||
|
summary: Number of transactions from the frozen XID to the current one
|
||||||
|
expr: |-
|
||||||
|
cnpg_pg_database_xid_age > 300000000
|
||||||
|
for: 1m
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
- alert: PGReplication
|
||||||
|
annotations:
|
||||||
|
description: Standby is lagging behind by over 300 seconds (5 minutes)
|
||||||
|
summary: The standby is lagging behind the primary
|
||||||
|
expr: |-
|
||||||
|
cnpg_pg_replication_lag > 300
|
||||||
|
for: 1m
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
- alert: LastFailedArchiveTime
|
||||||
|
annotations:
|
||||||
|
description: Archiving failed for {{`{{`}} $labels.pod {{`}}`}}
|
||||||
|
summary: Checks the last time archiving failed. Will be < 0 when it has not failed.
|
||||||
|
expr: |-
|
||||||
|
(cnpg_pg_stat_archiver_last_failed_time - cnpg_pg_stat_archiver_last_archived_time) > 1
|
||||||
|
for: 1m
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
- alert: DatabaseDeadlockConflicts
|
||||||
|
annotations:
|
||||||
|
description: There are over 10 deadlock conflicts in {{`{{`}} $labels.pod {{`}}`}}
|
||||||
|
summary: Checks the number of database conflicts
|
||||||
|
expr: |-
|
||||||
|
cnpg_pg_stat_database_deadlocks > 10
|
||||||
|
for: 1m
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
- alert: ReplicaFailingReplication
|
||||||
|
annotations:
|
||||||
|
description: Replica {{`{{`}} $labels.pod {{`}}`}} is failing to replicate
|
||||||
|
summary: Checks if the replica is failing to replicate
|
||||||
|
expr: |-
|
||||||
|
cnpg_pg_replication_in_recovery > cnpg_pg_replication_is_wal_receiver_up
|
||||||
|
for: 1m
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
{{- end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
# -- Override the name of the cluster
|
# -- Override the name of the cluster
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
|
||||||
###
|
|
||||||
# -- Type of the CNPG database. Available types:
|
# -- Type of the CNPG database. Available types:
|
||||||
# * `postgresql`
|
# * `postgresql`
|
||||||
# * `postgis`
|
# * `postgis`
|
||||||
@@ -9,8 +8,7 @@ nameOverride: ""
|
|||||||
# * `tensorchord`
|
# * `tensorchord`
|
||||||
type: postgresql
|
type: postgresql
|
||||||
|
|
||||||
###
|
# -- Cluster mode of operation. Available modes:
|
||||||
# Cluster mode of operation. Available modes:
|
|
||||||
# * `standalone` - Default mode. Creates new or updates an existing CNPG cluster.
|
# * `standalone` - Default mode. Creates new or updates an existing CNPG cluster.
|
||||||
# * `recovery` - Same as standalone but creates a cluster from a backup, object store or via pg_basebackup
|
# * `recovery` - Same as standalone but creates a cluster from a backup, object store or via pg_basebackup
|
||||||
# * `replica` - Create database as a replica from another CNPG cluster
|
# * `replica` - Create database as a replica from another CNPG cluster
|
||||||
@@ -19,15 +17,20 @@ mode: standalone
|
|||||||
cluster:
|
cluster:
|
||||||
instances: 3
|
instances: 3
|
||||||
|
|
||||||
|
# -- Default image
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/cloudnative-pg/postgresql
|
repository: ghcr.io/cloudnative-pg/postgresql
|
||||||
tag: "16.6-22"
|
tag: "17.2-22"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
# The UID and GID of the postgres user inside the image
|
# -- The UID and GID of the postgres user inside the image
|
||||||
postgresUID: 26
|
postgresUID: 26
|
||||||
postgresGID: 26
|
postgresGID: 26
|
||||||
|
|
||||||
|
# -- Create secret containing credentials of superuser
|
||||||
|
enableSuperuserAccess: false
|
||||||
|
|
||||||
|
# -- Default storage size
|
||||||
walStorage:
|
walStorage:
|
||||||
size: 2Gi
|
size: 2Gi
|
||||||
storageClass: ""
|
storageClass: ""
|
||||||
@@ -35,43 +38,46 @@ cluster:
|
|||||||
size: 10Gi
|
size: 10Gi
|
||||||
storageClass: ""
|
storageClass: ""
|
||||||
|
|
||||||
|
# -- Default resources
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
cpu: 10m
|
cpu: 100m
|
||||||
limits:
|
limits:
|
||||||
memory: 1Gi
|
memory: 2Gi
|
||||||
cpu: 800m
|
cpu: 1
|
||||||
hugepages-2Mi: 256Mi
|
hugepages-2Mi: 256Mi
|
||||||
|
|
||||||
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration
|
# -- See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-AffinityConfiguration
|
||||||
affinity:
|
affinity:
|
||||||
enablePodAntiAffinity: true
|
enablePodAntiAffinity: true
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
|
|
||||||
additionalLabels: {}
|
additionalLabels: {}
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
# Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been
|
# -- Method to follow to upgrade the primary server during a rolling update procedure, after all replicas have been
|
||||||
# successfully updated. It can be switchover (default) or in-place (restart).
|
# successfully updated. It can be switchover (default) or in-place (restart).
|
||||||
primaryUpdateMethod: switchover
|
primaryUpdateMethod: switchover
|
||||||
|
|
||||||
# Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been
|
# -- Strategy to follow to upgrade the primary server during a rolling update procedure, after all replicas have been
|
||||||
# successfully updated: it can be automated (unsupervised - default) or manual (supervised)
|
# successfully updated: it can be automated (unsupervised - default) or manual (supervised)
|
||||||
primaryUpdateStrategy: unsupervised
|
primaryUpdateStrategy: unsupervised
|
||||||
|
|
||||||
logLevel: "info"
|
logLevel: "info"
|
||||||
|
|
||||||
|
# -- Enable default monitoring and alert rules
|
||||||
monitoring:
|
monitoring:
|
||||||
enabled: false
|
enabled: false
|
||||||
podMonitor:
|
podMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
prometheusRule:
|
prometheusRule:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
enableDefaultRules: true
|
||||||
excludeRules: []
|
excludeRules: []
|
||||||
|
|
||||||
|
# -- Parameters to be set for the database itself
|
||||||
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-PostgresConfiguration
|
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-PostgresConfiguration
|
||||||
postgresql:
|
postgresql:
|
||||||
parameters:
|
parameters:
|
||||||
@@ -80,73 +86,76 @@ cluster:
|
|||||||
hot_standby_feedback: "on"
|
hot_standby_feedback: "on"
|
||||||
shared_preload_libraries: []
|
shared_preload_libraries: []
|
||||||
|
|
||||||
bootstrap:
|
# -- Bootstrap is the configuration of the bootstrap process when initdb is used.
|
||||||
# BootstrapInitDB is the configuration of the bootstrap process when initdb is used.
|
|
||||||
# See: https://cloudnative-pg.io/documentation/current/bootstrap/
|
# See: https://cloudnative-pg.io/documentation/current/bootstrap/
|
||||||
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-bootstrapinitdb
|
# See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-bootstrapinitdb
|
||||||
initdb: {}
|
bootstrap:
|
||||||
|
# -- Example values
|
||||||
# database: app
|
# database: app
|
||||||
# owner: app
|
# owner: app
|
||||||
# secret: "" # Name of the secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch
|
# secret: "" # Name of the secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch
|
||||||
# postInitApplicationSQL:
|
# postInitApplicationSQL:
|
||||||
# - CREATE TABLE IF NOT EXISTS example;
|
# - CREATE TABLE IF NOT EXISTS example;
|
||||||
|
initdb: {}
|
||||||
|
|
||||||
|
# -- Recovery settings when booting cluster from external cluster
|
||||||
recovery:
|
recovery:
|
||||||
# Point in time recovery target in RFC3339 format
|
|
||||||
|
# -- Point in time recovery target in RFC3339 format
|
||||||
pitrTarget:
|
pitrTarget:
|
||||||
time: ""
|
time: ""
|
||||||
|
|
||||||
# S3 https endpoint and the s3:// path
|
# -- S3 https endpoint and the s3:// path
|
||||||
endpointURL: ""
|
endpointURL: ""
|
||||||
destinationPath: ""
|
destinationPath: ""
|
||||||
|
|
||||||
# Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt
|
# -- Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt
|
||||||
endpointCA: ""
|
endpointCA: ""
|
||||||
|
|
||||||
# Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY
|
# -- Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY
|
||||||
endpointCredentials: ""
|
endpointCredentials: ""
|
||||||
|
|
||||||
# Generate external cluster name, uses: {{ .Release.Name }}postgresql-<major version>-cluster-backup-index-{{ .Values.recovery.recoveryIndex }}
|
# -- Generate external cluster name, uses: {{ .Release.Name }}postgresql-<major version>-cluster-backup-index-{{ .Values.recovery.recoveryIndex }}
|
||||||
recoveryIndex: 1
|
recoveryIndex: 1
|
||||||
|
|
||||||
# Name of the recovery cluster in the object store, defaults to "cluster.name"
|
# -- Name of the recovery cluster in the object store, defaults to "cluster.name"
|
||||||
recoveryServerName: ""
|
recoveryServerName: ""
|
||||||
|
|
||||||
# Name of the recovery cluster in the object store, defaults to ".Release.Name"
|
# -- Name of the recovery cluster in the object store, defaults to ".Release.Name"
|
||||||
recoveryInstanceName: ""
|
recoveryInstanceName: ""
|
||||||
|
|
||||||
wal:
|
wal:
|
||||||
# WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`.
|
# -- WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`.
|
||||||
compression: snappy
|
compression: snappy
|
||||||
# Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
# -- Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
||||||
encryption: ""
|
encryption: ""
|
||||||
# Number of WAL files to be archived or restored in parallel.
|
# -- Number of WAL files to be archived or restored in parallel.
|
||||||
maxParallel: 2
|
maxParallel: 2
|
||||||
data:
|
data:
|
||||||
# Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`.
|
# -- Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`.
|
||||||
compression: snappy
|
compression: snappy
|
||||||
# Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
# -- Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
||||||
encryption: ""
|
encryption: ""
|
||||||
# Number of data files to be archived or restored in parallel.
|
# -- Number of data files to be archived or restored in parallel.
|
||||||
jobs: 2
|
jobs: 2
|
||||||
|
|
||||||
replica:
|
replica:
|
||||||
# See https://cloudnative-pg.io/documentation/current/database_import/
|
# -- See [here](https://cloudnative-pg.io/documentation/current/database_import/) for different import types
|
||||||
# * `microservice` - Single database import as expected from cnpg clusters
|
# * `microservice` - Single database import as expected from cnpg clusters
|
||||||
# * `monolith` - Import multiple databases and roles
|
# * `monolith` - Import multiple databases and roles
|
||||||
importType: microservice
|
importType: microservice
|
||||||
|
|
||||||
# If type microservice only one database is allowed, default is app as standard in cnpg clusters
|
# -- If type microservice only one database is allowed, default is app as standard in cnpg clusters
|
||||||
importDatabases:
|
importDatabases:
|
||||||
- app
|
- app
|
||||||
|
|
||||||
# If type microservice no roles are imported and ignored
|
# -- If type microservice no roles are imported and ignored
|
||||||
importRoles: []
|
importRoles: []
|
||||||
|
|
||||||
# If import type is monolith postImportApplicationSQL is not supported and ignored
|
# -- If import type is monolith postImportApplicationSQL is not supported and ignored
|
||||||
postImportApplicationSQL: []
|
postImportApplicationSQL: []
|
||||||
|
|
||||||
# External cluster connection, password specifies a secret name and the key containing the password value
|
# -- External cluster connection, password specifies a secret name and the key containing the password value
|
||||||
externalCluster:
|
externalCluster:
|
||||||
connectionParameters:
|
connectionParameters:
|
||||||
host: postgresql
|
host: postgresql
|
||||||
@@ -159,48 +168,47 @@ replica:
|
|||||||
backup:
|
backup:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
# S3 endpoint starting with "https://"
|
# -- S3 endpoint starting with "https://"
|
||||||
endpointURL: ""
|
endpointURL: ""
|
||||||
|
|
||||||
# S3 path starting with "s3://"
|
# -- S3 path starting with "s3://"
|
||||||
destinationPath: ""
|
destinationPath: ""
|
||||||
|
|
||||||
# Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt
|
# -- Specifies secret that contains a CA bundle to validate a privately signed certificate, should contain the key ca-bundle.crt
|
||||||
endpointCA: ""
|
endpointCA: ""
|
||||||
|
|
||||||
# Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY
|
# -- Specifies secret that contains S3 credentials, should contain the keys ACCESS_KEY_ID and ACCESS_SECRET_KEY
|
||||||
endpointCredentials: ""
|
endpointCredentials: ""
|
||||||
|
|
||||||
# Generate external cluster name, creates: postgresql-{{ .Release.Name }}-cluster-backup-index-{{ .Values.backups.backupIndex }}"
|
# -- Generate external cluster name, creates: postgresql-{{ .Release.Name }}-cluster-backup-index-{{ .Values.backups.backupIndex }}"
|
||||||
backupIndex: 1
|
backupIndex: 1
|
||||||
|
|
||||||
# Name of the backup cluster in the object store, defaults to "cluster.name"
|
# -- Name of the backup cluster in the object store, defaults to "cluster.name"
|
||||||
backupName: ""
|
backupName: ""
|
||||||
|
|
||||||
# Tags to add to backups. Add in key value beneath the type.
|
# -- Tags to add to backups. Add in key value beneath the type.
|
||||||
tags:
|
tags:
|
||||||
backupRetentionPolicy: ""
|
backupRetentionPolicy: ""
|
||||||
historyTags:
|
historyTags:
|
||||||
backupRetentionPolicy: ""
|
backupRetentionPolicy: ""
|
||||||
|
|
||||||
# Configuration for the WAL and data files.
|
|
||||||
wal:
|
wal:
|
||||||
# WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`.
|
# -- WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`.
|
||||||
compression: snappy
|
compression: snappy
|
||||||
# Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
# -- Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
||||||
encryption: ""
|
encryption: ""
|
||||||
# Number of WAL files to be archived or restored in parallel.
|
# -- Number of WAL files to be archived or restored in parallel.
|
||||||
maxParallel: 2
|
maxParallel: 2
|
||||||
data:
|
data:
|
||||||
# Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`.
|
# -- Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`.
|
||||||
compression: snappy
|
compression: snappy
|
||||||
# Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
# -- Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
||||||
encryption: ""
|
encryption: ""
|
||||||
# Number of data files to be archived or restored in parallel.
|
# -- Number of data files to be archived or restored in parallel.
|
||||||
jobs: 2
|
jobs: 2
|
||||||
|
|
||||||
# Retention policy for backups
|
# -- Retention policy for backups
|
||||||
retentionPolicy: "14d"
|
retentionPolicy: "14d"
|
||||||
|
|
||||||
# Scheduled backup in cron format
|
# -- Scheduled backup in cron format
|
||||||
schedule: "0 0 0 * * *"
|
schedule: "0 0 0 * * *"
|
||||||
|
Reference in New Issue
Block a user