From 0153e948add7697996e42b8e37edb1e63521b605 Mon Sep 17 00:00:00 2001 From: Adam Hevenor Date: Mon, 16 Oct 2023 09:31:46 -0600 Subject: [PATCH] remove pitr chart --- aerospike-point-in-time-recovery/.helmignore | 41 -- aerospike-point-in-time-recovery/Chart.lock | 6 - aerospike-point-in-time-recovery/Chart.yaml | 25 - aerospike-point-in-time-recovery/README.md | 330 ------------ .../config/aerospike-xdr-proxy.yml | 23 - .../config/compactor-config.yml | 22 - .../config/jmx_prometheus_config.yml | 5 - .../config/prometheus.yml | 71 --- .../config/queue-handler-config.yml | 28 -- .../config/smd-handler-config.yml | 21 - .../config/xdr-scheduler-config.yml | 21 - .../examples/local-deployment-values.yaml | 469 ------------------ .../templates/NOTES.txt | 1 - .../templates/_helpers.tpl | 140 ------ .../templates/authenticator.yaml | 72 --- .../templates/compactor.yaml | 78 --- .../templates/configMaps.yaml | 155 ------ .../templates/cronjob.yaml | 48 -- .../templates/endpoints.yaml | 56 --- .../templates/hpa.yaml | 200 -------- .../templates/ingress.yaml | 28 -- .../templates/job.yaml | 46 -- .../templates/queue-handler.yaml | 78 --- .../templates/rest-backend.yaml | 73 --- .../templates/rolebinding.yaml | 47 -- .../templates/roles.yaml | 42 -- .../templates/secrets.yaml | 80 --- .../templates/service.yaml | 293 ----------- .../templates/serviceaccount.yaml | 28 -- .../templates/servicemonitor.yaml | 163 ------ .../templates/smd-handler.yaml | 79 --- .../templates/storage-provider.yaml | 71 --- .../templates/tests/test-connection.yaml | 15 - .../templates/xdr-scheduler.yaml | 78 --- .../templates/xdr-transformer.yaml | 68 --- aerospike-point-in-time-recovery/values.yaml | 469 ------------------ 36 files changed, 3470 deletions(-) delete mode 100644 aerospike-point-in-time-recovery/.helmignore delete mode 100644 aerospike-point-in-time-recovery/Chart.lock delete mode 100644 aerospike-point-in-time-recovery/Chart.yaml delete mode 100644 aerospike-point-in-time-recovery/README.md delete mode 100644 aerospike-point-in-time-recovery/config/aerospike-xdr-proxy.yml delete mode 100644 aerospike-point-in-time-recovery/config/compactor-config.yml delete mode 100644 aerospike-point-in-time-recovery/config/jmx_prometheus_config.yml delete mode 100644 aerospike-point-in-time-recovery/config/prometheus.yml delete mode 100644 aerospike-point-in-time-recovery/config/queue-handler-config.yml delete mode 100644 aerospike-point-in-time-recovery/config/smd-handler-config.yml delete mode 100644 aerospike-point-in-time-recovery/config/xdr-scheduler-config.yml delete mode 100644 aerospike-point-in-time-recovery/examples/local-deployment-values.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/NOTES.txt delete mode 100644 aerospike-point-in-time-recovery/templates/_helpers.tpl delete mode 100644 aerospike-point-in-time-recovery/templates/authenticator.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/compactor.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/configMaps.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/cronjob.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/endpoints.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/hpa.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/ingress.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/job.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/queue-handler.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/rest-backend.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/rolebinding.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/roles.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/secrets.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/service.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/serviceaccount.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/servicemonitor.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/smd-handler.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/storage-provider.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/tests/test-connection.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/xdr-scheduler.yaml delete mode 100644 aerospike-point-in-time-recovery/templates/xdr-transformer.yaml delete mode 100644 aerospike-point-in-time-recovery/values.yaml diff --git a/aerospike-point-in-time-recovery/.helmignore b/aerospike-point-in-time-recovery/.helmignore deleted file mode 100644 index 2053d7d..0000000 --- a/aerospike-point-in-time-recovery/.helmignore +++ /dev/null @@ -1,41 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ -#templates/configMaps.yaml -#templates/cronjob.yaml -#templates/compactor.yaml -#templates/hpa.yaml -#templates/ingress.yaml -#templates/job.yaml -#templates/queue-handler.yaml -#templates/rest-backend.yaml -#templates/rolebinding.yaml -#templates/roles.yaml -#templates/service.yaml -#templates/serviceaccount.yaml -#templates/servicemonitor.yaml -#templates/smd-handler.yaml -#templates/storage-provider.yaml -#templates/xdr-scheduler.yaml -#templates/xdr-transformer.yaml -templates/tests \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/Chart.lock b/aerospike-point-in-time-recovery/Chart.lock deleted file mode 100644 index 38283a1..0000000 --- a/aerospike-point-in-time-recovery/Chart.lock +++ /dev/null @@ -1,6 +0,0 @@ -dependencies: -- name: kube-prometheus-stack - repository: https://prometheus-community.github.io/helm-charts - version: 43.0.0 -digest: sha256:0b0227a5724a3aefb0c60cbed7845a35d676beebd263903e3fde95824a3e9b39 -generated: "2023-02-05T09:40:52.841845+02:00" diff --git a/aerospike-point-in-time-recovery/Chart.yaml b/aerospike-point-in-time-recovery/Chart.yaml deleted file mode 100644 index 219aeea..0000000 --- a/aerospike-point-in-time-recovery/Chart.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: v2 -name: aerospike-enterprise-backup -description: A Helm chart for Kubernetes - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "1.16.0" - diff --git a/aerospike-point-in-time-recovery/README.md b/aerospike-point-in-time-recovery/README.md deleted file mode 100644 index 4f5c443..0000000 --- a/aerospike-point-in-time-recovery/README.md +++ /dev/null @@ -1,330 +0,0 @@ -# Aerospike Point In Time Recovery (PITR) -## Description -Refer to [Point-in-Time Recovery Documentation](https://aerospike.github.io/point-in-time-recovery) for more information. - -## Prerequisites -* Aerospike backup cluster -* Aerospike source cluster (at least one) -* Storage service (S3/MinIO) -* Kubernetes cluster (EKS/Kind) - -## Examples -See the [examples](./examples) directory for configuration samples. - -## Configuration - -| Key | Type | Default | Description | -|------------------------------------------------------------------------------------------------|----------|----------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| `authenticator.enabled` | `bool` | `true` | -| `authenticator.name` | `string` | `"authenticator"` | -| `authenticator.image.repository` | `string` | `"aerospike/aerospike-pitr-authenticator"` | -| `authenticator.image.tag` | `string` | `""` | -| `authenticator.image.pullPolicy` | `string` | `""` | -| `authenticator.port.name` | `string` | `"web"` | -| `authenticator.port.number` | `int` | `8080` | -| `authenticator.serviceMonitor.enabled` | `bool` | `true` | -| `authenticator.serviceMonitor.port.name` | `string` | `"metrics"` | -| `authenticator.serviceMonitor.port.number` | `int` | `8080` | -| `authenticator.requests.cpu` | `int` | `2` | -| `authenticator.requests.limits` | `int` | `2` | -| `authenticator.replicas` | `int` | `1` | -| `authenticator.autoscaling.enabled` | `bool` | `true` | -| `authenticator.autoscaling.minReplicas` | `int` | `1` | -| `authenticator.autoscaling.maxReplicas` | `int` | `100` | -| `authenticator.autoscaling.targetCPUUtilizationPercentage` | `int` | `80` | -| `authenticator.autoscaling.targetMemoryUtilizationPercentage` | `int` | `80` | -| `authenticator.labels` | `object` | `{}` | -| `authenticator.annotations` | `object` | `{}` | -| `authenticator.nodeSelector` | `object` | `{}` | -| `authenticator.affinity` | `object` | `{}` | -| `authenticator.tolerations` | `list` | `[]` | -| `authenticator.config.auth.enabled` | `bool` | `false` | -| `authenticator.config.auth.username` | `string` | `pitr` | -| `authenticator.config.auth.password` | `string` | `pitrpwd` | -| `compactor.enabled` | `bool` | `true` | | -| `compactor.name` | `string` | `"compactor"` | | -| `compactor.image.repository` | `string` | `"aerospike/aerospike-pitr-compactor"` | | -| `compactor.image.tag` | `string` | `""` | | -| `compactor.image.pullPolicy` | `string` | `""` | | -| `compactor.port.name` | `string` | `web` | | -| `compactor.port.number` | `int` | `8080` | | -| `compactor.serviceMonitor.enabled` | `bool` | `true` | | -| `compactor.serviceMonitor.port.name` | `string` | `"metrics"` | | -| `compactor.serviceMonitor.port.number` | `int` | `8080` | | -| `compactor.resources.requests.cpu` | `int` | `2` | | -| `compactor.resources.requests.limits` | `int` | `2` | | -| `compactor.replicas` | `int` | `1` | | -| `compactor.autoscaling.enabled` | `bool` | `true` | | -| `compactor.autoscaling.minReplicas` | `int` | `1` | | -| `compactor.autoscaling.maxReplicas` | `int` | `100` | | -| `compactor.autoscaling.targetCPUUtilizationPercentage` | `int` | `80` | | -| `compactor.autoscaling.targetMemoryUtilizationPercentage` | `int` | `80` | | -| `compactor.labels` | `object` | `{}` | | -| `compactor.annotations` | `object` | `{}` | | -| `compactor.affinity` | `object` | `{}` | | -| `compactor.nodeSelector` | `object` | `{}` | | -| `compactor.tolerations` | `list` | `[]` | | -| `compactor.config.host` | `string` | `"0.0.0.0"` | Compactor host to bound to | -| `compactor.config.auth.enabled` | `bool` | `false` | Whether to enable REST calls authentication | -| `compactor.config.auth.tokenRefreshSeconds` | `int` | `82800` | The auth token refresh interval in seconds | -| `compactor.config.auth.username` | `string` | `"pitr-compactor"` | Authentication username | -| `compactor.config.auth.password` | `string` | `"pitr-compactor-pwd"` | Authentication password | -| `compactor.config.backendTimeoutMs` | `int` | `1000` | The retry interval for failed operations | -| `compactor.config.retryIntervalMs` | `int` | `1000` | The retry interval for failed operations | -| `compactor.config.compactIntervalSeconds` | `int` | `86400` | Compaction interval in seconds | -| `compactor.config.smdCompactIntervalSeconds` | `int` | `82800` | SMD compaction interval in seconds | -| `compactor.config.deleteOldRecordsIntervalSeconds` | `int` | `90000` | Delete old records interval in seconds | -| `compactor.config.meterRegistryStepSeconds` | `int` | `10` | The Micrometer step size (reporting frequency) | -| `compactor.config.circuitBreakerConfiguration.slidingWindowSize` | `int` | `20` | | -| `compactor.config.circuitBreakerConfiguration.minimumNumberOfCalls` | `int` | `8` | | -| `compactor.config.circuitBreakerConfiguration.slowCallDurationThreshold` | `int` | `10` | | -| `compactor.config.circuitBreakerConfiguration.permittedNumberOfCallsInHalfOpenState` | `int` | `4` | | -| `compactor.config.circuitBreakerConfiguration.automaticTransitionFromOpenToHalfOpenEnabled` | `bool` | `true` | | -| `compactor.config.circuitBreakerConfiguration.waitDurationInOpenState` | `int` | `5` | | -| `queuehandler.enabled` | `bool` | `true` | | -| `queuehandler.name` | `string` | `"queue-handler"` | | -| `queuehandler.image.repository` | `string` | `"aerospike/aerospike-pitr-queue-handler"` | | -| `queuehandler.image.tag` | `string` | `""` | | -| `queuehandler.image.pullPolicy` | `string` | `""` | | -| `queuehandler.port.name` | `string` | `"web"` | | -| `queuehandler.port.number` | `int` | `8080` | | -| `queuehandler.serviceMonitor.enabled` | `bool` | `true` | | -| `queuehandler.port.name` | `string` | `"metrics"` | | -| `queuehandler.port.number` | `int` | `8088` | | -| `queuehandler.resources.requests.cpu` | `int` | `4` | | -| `queuehandler.resources.limits.cpu` | `int` | `4` | | -| `queuehandler.replicas` | `int` | `2` | | -| `queuehandler.autoscaling.enabled` | `bool` | `true` | | -| `queuehandler.autoscaling.minReplicas` | `int` | `2` | | -| `queuehandler.autoscaling.maxReplicas` | `int` | `2` | | -| `queuehandler.autoscaling.targetCPUUtilizationPercentage` | `int` | `80` | | -| `queuehandler.autoscaling.targetMemoryUtilizationPercentage` | `int` | `80` | | -| `queuehandler.labels` | `object` | `{}` | | -| `queuehandler.annotations` | `object` | `{}` | | -| `queuehandler.nodeSelector` | `object` | `{}` | | -| `queuehandler.affinity` | `object` | `{}` | | -| `queuehandler.tolerations` | `list` | `[]` | | -| `queuehandler.config.host` | `string` | `"0.0.0.0"` | | -| `queuehandler.config.auth.enabled` | `bool` | `false` | Whether to enable REST calls authentication | -| `queuehandler.config.auth.tokenRefreshSeconds` | `int` | `82800` | The auth token refresh interval in seconds | -| `queuehandler.config.auth.username` | `string` | `"pitr-queue-handler"` | Authentication username | -| `queuehandler.config.auth.password` | `string` | `"pitr-queue-handler-pwd"` | Authentication password | -| `queuehandler.config.backendTimeoutMs` | `int` | `2000` | HTTP request timeout interval | -| `queuehandler.config.backendQueueProcessingTimeoutMs` | `int` | `5000` | The rest backend service queue processing request timeout | -| `queuehandler.config.queueBatchSize` | `int` | `100` | The amount of records to fetch from the queue in a single batch | -| `queuehandler.config.queueBatchDurationLimitMs` | `int` | `2000` | The queue batch timeout | -| `queuehandler.config.queuePullingIntervalMs` | `int` | `1000` | The queue pulling interval | -| `queuehandler.config.zombieRecoverIntervalMs` | `int` | `60000` | The queue recovery interval | -| `queuehandler.config.recordRecoverThresholdMs` | `int` | `600000` | The record recovery threshold interval | -| `queuehandler.config.retryIntervalMs` | `int` | `1000` | The retry interval for failed operations | -| `queuehandler.config.meterRegistryStepSeconds` | `int` | `10` | The Micrometer step size (reporting frequency) | -| `queuehandler.config.refreshQueueDetailsCacheSeconds` | `int` | `5` | Refresh cache of Queue details interval | -| `queuehandler.config.processingExecutorSize` | `int` | `32` | The size of the processing Executor | -| `queuehandler.config.circuitBreakerConfiguration.slidingWindowSize` | `int` | `20` | The size of the processing Executor | -| `queuehandler.config.circuitBreakerConfiguration.minimumNumberOfCalls` | `int` | `8` | The size of the processing Executor | -| `queuehandler.config.circuitBreakerConfiguration.slowCallDurationThreshold` | `int` | `10` | The size of the processing Executor | -| `queuehandler.config.circuitBreakerConfiguration.permittedNumberOfCallsInHalfOpenState` | `int` | `4` | The size of the processing Executor | -| `queuehandler.config.circuitBreakerConfiguration.automaticTransitionFromOpenToHalfOpenEnabled` | `bool` | `true` | The size of the processing Executor | -| `queuehandler.config.circuitBreakerConfiguration.waitDurationInOpenState` | `int` | `5` | The size of the processing Executor | -| `smdhandler.enabled` | `bool` | `true` | | -| `smdhandler.name` | `string` | `"smd-handler"` | | -| `smdhandler.image.repository` | `string` | `"aerospike/aerospike-pitr-smd-handler"` | | -| `smdhandler.image.tag` | `string` | `""` | | -| `smdhandler.image.pullPolicy` | `string` | `""` | | -| `smdhandler.port.name` | `string` | `"web"` | | -| `smdhandler.port.number` | `int` | `8080` | | -| `smdhandler.serviceMonitor.enabled` | `bool` | `true` | | -| `smdhandler.port.name` | `string` | `"metrics"` | | -| `smdhandler.port.number` | `int` | `8088` | | -| `smdhandler.resources.requests.cpu` | `int` | `2` | | -| `smdhandler.resources.limits.cpu` | `int` | `2` | | -| `smdhandler.replicas` | `int` | `1` | | -| `smdhandler.autoscaling.enabled` | `bool` | `true` | | -| `smdhandler.autoscaling.minReplicas` | `int` | `1` | | -| `smdhandler.autoscaling.maxReplicas` | `int` | `100` | | -| `smdhandler.autoscaling.targetCPUUtilizationPercentage` | `int` | `80` | | -| `smdhandler.autoscaling.targetMemoryUtilizationPercentage` | `int` | `80` | | -| `smdhandler.labels` | `object` | `{}` | | -| `smdhandler.annotations` | `object` | `{}` | | -| `smdhandler.nodeSelector` | `object` | `{}` | | -| `smdhandler.affinity` | `object` | `{}` | | -| `smdhandler.tolerations` | `list` | `[]` | | -| `smdhandler.config.host` | `string` | `"0.0.0.0"` | | -| `smdhandler.config.auth.enabled` | `bool` | `false` | Whether to enable REST calls authentication | -| `smdhandler.config.auth.tokenRefreshSeconds` | `int` | `82800` | The auth token refresh interval in seconds | -| `smdhandler.config.auth.username` | `string` | `"pitr-smd-handler"` | Authentication username | -| `smdhandler.config.auth.password` | `string` | `"pitr-smd-handler-pwd"` | Authentication password | -| `smdhandler.config.backendTimeoutMs` | `int` | `1000` | HTTP request timeout interval | -| `smdhandler.config.backupIntervalSeconds` | `int` | `900` | The SMD backup interval in seconds | -| `smdhandler.config.retryIntervalMs` | `int` | `1000` | The retry interval for failed operations | -| `smdhandler.config.meterRegistryStepSeconds` | `int` | `10` | The Micrometer step size (reporting frequency) | -| `smdhandler.config.circuitBreakerConfiguration.slidingWindowSize` | `int` | `20` | The Micrometer step size (reporting frequency) | -| `smdhandler.config.circuitBreakerConfiguration.minimumNumberOfCalls` | `int` | `8` | The Micrometer step size (reporting frequency) | -| `smdhandler.config.circuitBreakerConfiguration.slowCallDurationThreshold` | `int` | `10` | The Micrometer step size (reporting frequency) | -| `smdhandler.config.circuitBreakerConfiguration.permittedNumberOfCallsInHalfOpenState` | `int` | `4` | The Micrometer step size (reporting frequency) | -| `smdhandler.config.circuitBreakerConfiguration.automaticTransitionFromOpenToHalfOpenEnabled` | `bool` | `true` | The Micrometer step size (reporting frequency) | -| `smdhandler.config.circuitBreakerConfiguration.waitDurationInOpenState` | `int` | `5` | The Micrometer step size (reporting frequency) | -| `xdrscheduler.enabled` | `bool` | `true` | | -| `xdrscheduler.name` | `string` | `"xdr-scheduler"` | | -| `xdrscheduler.image.repository` | `string` | `"aerospike/aerospike-pitr-xdr-scheduler"` | | -| `xdrscheduler.image.tag` | `string` | `""` | | -| `xdrscheduler.image.pullPolicy` | `string` | `""` | | -| `xdrscheduler.port.name` | `string` | `"web"` | | -| `xdrscheduler.port.number` | `int` | `8080` | | -| `xdrscheduler.serviceMonitor.enabled` | `bool` | `true` | | -| `xdrscheduler.port.name` | `string` | `"metrics"` | | -| `xdrscheduler.port.number` | `int` | `8088` | | -| `xdrscheduler.resources.requests.cpu` | `int` | `2` | | -| `xdrscheduler.resources.limits.cpu` | `int` | `2` | | -| `xdrscheduler.replicas` | `int` | `1` | | -| `xdrscheduler.autoscaling.enabled` | `bool` | `true` | | -| `xdrscheduler.autoscaling.minReplicas` | `int` | `1` | | -| `xdrscheduler.autoscaling.maxReplicas` | `int` | `100` | | -| `xdrscheduler.autoscaling.targetCPUUtilizationPercentage` | `int` | `80` | | -| `xdrscheduler.autoscaling.targetMemoryUtilizationPercentage` | `int` | `80` | | -| `xdrscheduler.labels` | `object` | `{}` | | -| `xdrscheduler.annotations` | `object` | `{}` | | -| `xdrscheduler.nodeSelector` | `object` | `{}` | | -| `xdrscheduler.affinity` | `object` | `{}` | | -| `xdrscheduler.tolerations` | `list` | `[]` | | -| `xdrscheduler.config.host` | `string` | `"0.0.0.0"` | | -| `xdrscheduler.config.auth.enabled` | `bool` | `false` | Whether to enable REST calls authentication | -| `xdrscheduler.config.auth.tokenRefreshSeconds` | `int` | `82800` | The auth token refresh interval in seconds | -| `xdrscheduler.config.auth.username` | `string` | `"pitr-xdr-scheduler"` | Authentication username | -| `xdrscheduler.config.auth.password` | `string` | `"pitr-xdr-scheduler-pwd"` | Authentication password | -| `xdrscheduler.config.backendTimeoutMs` | `int` | `2000` | HTTP request timeout interval | -| `xdrscheduler.config.xdrSchedulerIntervalMs` | `int` | `10000` | The interval to check for valid XDR windows to open | -| `xdrscheduler.config.xdrSchedulerCheckLagIntervalMs` | `int` | `5000` | The interval to check for closing XDR windows | -| `xdrscheduler.config.retryIntervalMs` | `int` | `1000` | The retry interval for failed operations | -| `xdrscheduler.config.meterRegistryStepSeconds` | `int` | `10` | The Micrometer step size (reporting frequency) | -| `xdrscheduler.config.circuitBreakerConfiguration.slidingWindowSize` | `int` | `20` | The Micrometer step size (reporting frequency) | -| `xdrscheduler.config.circuitBreakerConfiguration.minimumNumberOfCalls` | `int` | `8` | The Micrometer step size (reporting frequency) | -| `xdrscheduler.config.circuitBreakerConfiguration.slowCallDurationThreshold` | `int` | `10` | The Micrometer step size (reporting frequency) | -| `xdrscheduler.config.circuitBreakerConfiguration.permittedNumberOfCallsInHalfOpenState` | `int` | `4` | The Micrometer step size (reporting frequency) | -| `xdrscheduler.config.circuitBreakerConfiguration.automaticTransitionFromOpenToHalfOpenEnabled` | `bool` | `true` | The Micrometer step size (reporting frequency) | -| `xdrscheduler.config.circuitBreakerConfiguration.waitDurationInOpenState` | `int` | `5` | The Micrometer step size (reporting frequency) | -| `restbackend.enabled` | `bool` | `true` | | -| `restbackend.name` | `string` | `"rest-backend"` | | -| `restbackend.image.repository` | `string` | `"aerospike/aerospike-pitr-rest-backend"` | | -| `restbackend.image.tag` | `string` | `""` | | -| `restbackend.image.pullPolicy` | `string` | `""` | | -| `restbackend.port.name` | `string` | `"web"` | | -| `restbackend.port.number` | `int` | `8080` | | -| `restbackend.serviceMonitor.enabled` | `bool` | `true` | | -| `restbackend.port.name` | `string` | `"metrics"` | | -| `restbackend.port.number` | `int` | `8080` | | -| `restbackend.resources.requests.cpu` | `int` | `4` | | -| `restbackend.resources.limits.cpu` | `int` | `4` | | -| `restbackend.replicas` | `int` | `2` | | -| `restbackend.autoscaling.enabled` | `bool` | `true` | | -| `restbackend.autoscaling.minReplicas` | `int` | `2` | | -| `restbackend.autoscaling.maxReplicas` | `int` | `100` | | -| `restbackend.autoscaling.targetCPUUtilizationPercentage` | `int` | `80` | | -| `restbackend.autoscaling.targetMemoryUtilizationPercentage` | `int` | `80` | | -| `restbackend.labels` | `object` | `{}` | | -| `restbackend.annotations` | `object` | `{}` | | -| `restbackend.nodeSelector` | `object` | `{}` | | -| `restbackend.affinity` | `object` | `{}` | | -| `restbackend.tolerations` | `list` | `[]` | | -| `restbackend.config.auth.enabled` | `bool` | `false` | Whether to enable REST authentication | -| `restbackend.config.auth.username` | `string` | `"pitr"` | Internal authentication username | -| `restbackend.config.auth.password` | `string` | `"pitrpwd"` | Internal authentication password | -| `restbackend.config.backupMaxCommandsInProcess` | `string` | `32` | Java client's EventPolicy maxCommandsInProcess configuration | -| `restbackend.config.backupMaxCommandsInQueue` | `int` | `10000` | Java client's EventPolicy maxCommandsInQueue configuration | -| `restbackend.config.restBackendClientPolicyMaxConnsPerNode` | `int` | `500` | Java client's ClientPolicy maxConnsPerNode configuration | -| `restbackend.config.backupCatalogNamespace` | `string` | `"catalog"` | The name of the system namespace in the backup cluster | -| `restbackend.config.meterRegistryStepSeconds` | `int` | `10` | The Micrometer step size (reporting frequency) | -| `restbackend.config.backgroundJobBatchSize` | `int` | `100` | The size of the batch in background jobs | -| `restbackend.config.backgroundJobParallelism` | `int` | `4` | The parallelism factor in background jobs | -| `xdrtransformer.enabled` | `bool` | `true` | | -| `xdrtransformer.name` | `string` | `"xdr-transformer"` | | -| `xdrtransformer.image.repository` | `string` | `"aerospike/aerospike-pitr-xdr-transformer"` | | -| `xdrtransformer.image.tag` | `string` | `""` | | -| `xdrtransformer.image.pullPolicy` | `string` | `""` | | -| `xdrtransformer.resources.requests.cpu` | `int` | `4` | | -| `xdrtransformer.resources.limits.cpu` | `int` | `4` | | -| `xdrtransformer.replicas` | `int` | `2` | | -| `xdrtransformer.serviceMonitor.enabled` | `bool` | `true` | | -| `xdrtransformer.autoscaling.enabled` | `bool` | `true` | | -| `xdrtransformer.autoscaling.minReplicas` | `int` | `2` | | -| `xdrtransformer.autoscaling.maxReplicas` | `int` | `100` | | -| `xdrtransformer.autoscaling.targetCPUUtilizationPercentage` | `int` | `80` | | -| `xdrtransformer.autoscaling.targetMemoryUtilizationPercentage` | `int` | `80` | | -| `xdrtransformer.labels` | `object` | `{}` | | -| `xdrtransformer.annotations` | `object` | `{}` | | -| `xdrtransformer.nodeSelector` | `object` | `{}` | | -| `xdrtransformer.affinity` | `object` | `{}` | | -| `xdrtransformer.tolerations` | `list` | `[]` | | -| `xdrtransformer.config.service.name` | `string` | `"xdr-service"` | | -| `xdrtransformer.config.service.port` | `int` | `8082` | | -| `xdrtransformer.config.service.address` | `string` | `"0.0.0.0"` | | -| `xdrtransformer.config.service.ioThreads` | `int` | `4` | | -| `xdrtransformer.config.service.workerThreads` | `int` | `4` | | -| `xdrtransformer.config.service.maxConcurrentRecords` | `int` | `32768` | | -| `xdrtransformer.config.service.clusterName` | `string` | `"pitr"` | | -| `xdrtransformer.config.service.manage.name` | `string` | `"xdr-manage"` | | -| `xdrtransformer.config.service.manage.address` | `string` | `"0.0.0.0"` | | -| `xdrtransformer.config.service.manage.port` | `int` | `8902` | | -| `xdrtransformer.config.logging.enableConsoleLogging` | `bool` | `true` | | -| `xdrtransformer.config.logging.file` | `string` | `"/var/log/aerospike-xdr-proxy/aerospike-xdr-proxy.log"` | | -| `xdrtransformer.config.logging.tickerInterval` | `int` | `1` | | -| `storageprovider.enabled` | `bool` | `true` | | -| `storageprovider.name` | `string` | `"storage-provider"` | | -| `storageprovider.image.repository` | `string` | `"aerospike/aerospike-pitr-storage-provider"` | | -| `storageprovider.image.tag` | `string` | `""` | | -| `storageprovider.image.pullPolicy` | `string` | `""` | | -| `storageprovider.port.name` | `string` | `"web"` | | -| `storageprovider.port.number` | `int` | `8081` | | -| `storageprovider.serviceMonitor.enabled` | `bool` | `true` | | -| `storageprovider.port.name` | `string` | `"metrics"` | | -| `storageprovider.port.number` | `int` | `8081` | | -| `storageprovider.resources.requests.cpu` | `int` | `4` | | -| `storageprovider.resources.limits.cpu` | `int` | `4` | | -| `storageprovider.replicas` | `int` | `2` | | -| `storageprovider.autoscaling.enabled` | `bool` | `true` | | -| `storageprovider.autoscaling.minReplicas` | `int` | `2` | | -| `storageprovider.autoscaling.maxReplicas` | `int` | `100` | | -| `storageprovider.autoscaling.targetCPUUtilizationPercentage` | `int` | `80` | | -| `storageprovider.autoscaling.targetMemoryUtilizationPercentage` | `int` | `80` | | -| `storageprovider.labels` | `object` | `{}` | | -| `storageprovider.annotations` | `object` | `{}` | | -| `storageprovider.nodeSelector` | `object` | `{}` | | -| `storageprovider.affinity` | `object` | `{}` | | -| `storageprovider.tolerations` | `list` | `[]` | | -| `storageprovider.config.accessKey` | `string` | `""` | | -| `storageprovider.config.secretKey` | `string` | `""` | | -| `storageprovider.config.bucketname` | `string` | `""` | | -| `storageprovider.config.auth.enabled` | `bool` | `false` | | -| `minio.enabled` | `bool` | `false` | | -| `minio.name` | `string` | `"minio"` | | -| `minio.address.name` | `string` | `"storage-port"` | | -| `minio.address.ip` | `string` | `""` | | -| `minio.address.port` | `int` | `9000` | | -| `backupcluster.name` | `string` | `"backup-cluster"` | | -| `backupcluster.address.ip;` | `string` | `""` | | -| `backupcluster.address.dnsname` | `string` | `""` | | -| `backupcluster.address.port.name` | `string` | `"backup-port"` | | -| `backupcluster.address.port.number` | `int` | `3000` | | -| `backupcluster.auth.username` | `string` | `"tester"` | | -| `backupcluster.auth.password` | `string` | `"psw"` | | -| `sourceclusters.nameprefix` | `string` | `"source-cluster"` | | -| `sourceclusters.addresses.ips` | `list` | `[]` | | -| `sourceclusters.addresses.dnsnames` | `list` | `[]` | | -| `sourceclusters.addresses.port.name` | `string` | `"source-port"` | | -| `sourceclusters.addresses.port.number` | `int` | `3000` | | -| `sourceclusters.auth.username` | `string` | `"tester"` | | -| `sourceclusters.auth.password` | `string` | `"psw"` | | -| `aws.ecrtokenissuer.enabled` | `bool` | `true` | | -| `aws.ecrtokenissuer.credentials.awsAccountId` | `string` | `""` | | -| `aws.ecrtokenissuer.credentials.awsRegion` | `string` | `"eu-central-1"` | | -| `aws.ecrtokenissuer.credentials.awsAccessKeyId` | `string` | `""` | | -| `aws.ecrtokenissuer.credentials.awsSecretAccessKey` | `string` | `""` | | -| `prometheus.enable` | `bool` | `true` | aerospike-enterprise-backup Helm charts uses kube-prometheus-stack as a subchart,
refer to the [kube-prometheus-stack helm chart docs](https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack) for more info | -| `ingress.enabled` | `bool` | `true` | aerospike-enterprise-backup Helm charts uses kube-prometheus-stack as a subchart,
refer to the [ingress-nginx helm chart docs](https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx) for more info | -| `ingress.ingressClassName` | `string` | `"nginx"` | aerospike-enterprise-backup Helm charts uses kube-prometheus-stack as a subchart,
refer to the [ingress-nginx helm chart docs](https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx) for more info | - - - - - - diff --git a/aerospike-point-in-time-recovery/config/aerospike-xdr-proxy.yml b/aerospike-point-in-time-recovery/config/aerospike-xdr-proxy.yml deleted file mode 100644 index 5694f49..0000000 --- a/aerospike-point-in-time-recovery/config/aerospike-xdr-proxy.yml +++ /dev/null @@ -1,23 +0,0 @@ -service: - port: {{ $.Values.xdrtransformer.config.service.port }} - address: {{ $.Values.xdrtransformer.service.address }} - manage: - address: {{ $.Values.xdrtransformer.config.service.manage.address }} - port: {{ $.Values.xdrtransformer.config.service.manage.port }} - io-threads: {{ $.Values.xdrtransformer.config.service.ioThreads }} - worker-threads: {{ $.Values.xdrtransformer.config.service.workerThreads }} - max-concurrent-records: {{ $.Values.xdrtransformer.config.service.maxConcurrentRecords }} - cluster-name: {{ $.Values.xdrtransformer.config.service.clusterName }} -aerospike: - seeds: - - {{ $.Values.backupcluster.address.ip | quote }}: - port: {{ $.Values.backupcluster.address.port }} - credentials: - username: {{ $.Values.backupcluster.auth.username | quote }}: - password-file: "/etc/config/pswd.txt" -logging: - enable-console-logging: {{ $.Values.xdrtransformer.config.enableConsoleLogging | quote }} - file: {{ $.Values.xdrtransformer.config.logging.file | quote }} - ticker-interval: {{ $.Values.xdrtransformer.config.logging.tickerInterval | quote }} -message-transformer: - class: com.aerospike.pitr.transformer.RecordTransformer \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/config/compactor-config.yml b/aerospike-point-in-time-recovery/config/compactor-config.yml deleted file mode 100644 index 58ff29e..0000000 --- a/aerospike-point-in-time-recovery/config/compactor-config.yml +++ /dev/null @@ -1,22 +0,0 @@ -backendUri: http://{{ $.Values.restbackend.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.restbackend.port.number }} -backendTimeoutMs: {{ $.Values.compactor.config.backendTimeoutMs }} -httpHost: {{ $.Values.compactor.config.host }} -httpPort: {{ $.Values.compactor.port.number }} -authenticatorUri: http://{{ $.Values.authenticator.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.authenticator.port.number }} -auth: - enabled: {{ $.Values.compactor.config.auth.enabled }} - tokenRefreshSeconds: {{ $.Values.compactor.config.auth.tokenRefreshSeconds }} - username: {{ $.Values.compactor.config.auth.username }} - password: {{ $.Values.compactor.config.auth.password }} -retryIntervalMs: {{ $.Values.compactor.config.retryIntervalMs }} -compactIntervalSeconds: {{ $.Values.compactor.config.compactIntervalSeconds }} -smdCompactIntervalSeconds: {{ $.Values.compactor.config.smdCompactIntervalSeconds }} -deleteOldRecordsIntervalSeconds: {{ $.Values.compactor.config.deleteOldRecordsIntervalSeconds }} -meterRegistryStepSeconds: {{ $.Values.compactor.config.meterRegistryStepSeconds }} -circuitBreakerConfiguration: - slidingWindowSize: {{ $.Values.compactor.config.circuitBreakerConfiguration.slidingWindowSize }} - minimumNumberOfCalls: {{ $.Values.compactor.config.circuitBreakerConfiguration.minimumNumberOfCalls }} - slowCallDurationThreshold: {{ $.Values.compactor.config.circuitBreakerConfiguration.slowCallDurationThreshold }} - permittedNumberOfCallsInHalfOpenState: {{ $.Values.compactor.config.circuitBreakerConfiguration.permittedNumberOfCallsInHalfOpenState }} - automaticTransitionFromOpenToHalfOpenEnabled: {{ $.Values.compactor.config.circuitBreakerConfiguration.automaticTransitionFromOpenToHalfOpenEnabled | quote }} - waitDurationInOpenState: {{ $.Values.compactor.config.circuitBreakerConfiguration.waitDurationInOpenState }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/config/jmx_prometheus_config.yml b/aerospike-point-in-time-recovery/config/jmx_prometheus_config.yml deleted file mode 100644 index 63751f1..0000000 --- a/aerospike-point-in-time-recovery/config/jmx_prometheus_config.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -startDelaySeconds: 0 -ssl: false -lowercaseOutputName: false -lowercaseOutputLabelNames: false diff --git a/aerospike-point-in-time-recovery/config/prometheus.yml b/aerospike-point-in-time-recovery/config/prometheus.yml deleted file mode 100644 index 9c66000..0000000 --- a/aerospike-point-in-time-recovery/config/prometheus.yml +++ /dev/null @@ -1,71 +0,0 @@ ---- -global: - scrape_interval: 10s - scrape_timeout: 7s - -scrape_configs: - - job_name: rest-backend - metrics_path: /actuator/prometheus - static_configs: - - targets: - - rest-backend:8080 - - - job_name: storage-provider - metrics_path: /actuator/prometheus - static_configs: - - targets: - - storage-provider:8081 - - - job_name: compactor-system - metrics_path: /metrics - static_configs: - - targets: - - compactor:8088 - - - job_name: queue-handler-system - metrics_path: /metrics - static_configs: - - targets: - - queue-handler:8088 - - - job_name: smd-handler-system - metrics_path: /metrics - static_configs: - - targets: - - smd-handler:8088 - - - job_name: xdr-scheduler-system - metrics_path: /metrics - static_configs: - - targets: - - xdr-scheduler:8088 - - - job_name: compactor - metrics_path: /prometheus - static_configs: - - targets: - - compactor:8080 - - - job_name: queue-handler - metrics_path: /prometheus - static_configs: - - targets: - - queue-handler:8080 - - - job_name: smd-handler - metrics_path: /prometheus - static_configs: - - targets: - - smd-handler:8080 - - - job_name: xdr-scheduler - metrics_path: /prometheus - static_configs: - - targets: - - xdr-scheduler:8080 - - - job_name: xdr-transformer - metrics_path: /manage/rest/v1/prometheus - static_configs: - - targets: - - xdr-transformer:8902 \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/config/queue-handler-config.yml b/aerospike-point-in-time-recovery/config/queue-handler-config.yml deleted file mode 100644 index a7088e3..0000000 --- a/aerospike-point-in-time-recovery/config/queue-handler-config.yml +++ /dev/null @@ -1,28 +0,0 @@ -backendUri: http://{{ $.Values.restbackend.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.restbackend.port.number }} -storageProviderUri: http://{{ $.Values.storageprovider.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.storageprovider.port.number }} -httpHost: {{ $.Values.queuehandler.config.host }} -httpPort: {{ $.Values.queuehandler.port.number }} -backendTimeoutMs: {{ $.Values.queuehandler.config.backendTimeoutMs }} -backendQueueProcessingTimeoutMs: {{ $.Values.queuehandler.config.backendQueueProcessingTimeoutMs }} -authenticatorUri: http://{{ $.Values.authenticator.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.authenticator.port.number }} -auth: - enabled: {{ $.Values.queuehandler.config.auth.enabled }} - tokenRefreshSeconds: {{ $.Values.queuehandler.config.auth.tokenRefreshSeconds }} - username: {{ $.Values.queuehandler.config.auth.username }} - password: {{ $.Values.queuehandler.config.auth.password }} -queueBatchSize: {{ $.Values.queuehandler.config.queueBatchSize }} -queueBatchDurationLimitMs: {{ $.Values.queuehandler.config.queueBatchDurationLimitMs }} -queuePullingIntervalMs: {{ $.Values.queuehandler.config.queuePullingIntervalMs }} -zombieRecoverIntervalMs: {{ $.Values.queuehandler.config.zombieRecoverIntervalMs }} -recordRecoverThresholdMs: {{ $.Values.queuehandler.config.recordRecoverThresholdMs }} -retryIntervalMs: {{ $.Values.queuehandler.config.retryIntervalMs }} -meterRegistryStepSeconds: {{ $.Values.queuehandler.config.meterRegistryStepSeconds }} -refreshQueueDetailsCacheSeconds: {{ $.Values.queuehandler.config.refreshQueueDetailsCacheSeconds }} -processingExecutorSize: {{ $.Values.queuehandler.config.processingExecutorSize }} -circuitBreakerConfiguration: - slidingWindowSize: {{ $.Values.queuehandler.config.circuitBreakerConfiguration.slidingWindowSize }} - minimumNumberOfCalls: {{ $.Values.queuehandler.config.circuitBreakerConfiguration.minimumNumberOfCalls }} - slowCallDurationThreshold: {{ $.Values.queuehandler.config.circuitBreakerConfiguration.slowCallDurationThreshold }} - permittedNumberOfCallsInHalfOpenState: {{ $.Values.queuehandler.config.circuitBreakerConfiguration.permittedNumberOfCallsInHalfOpenState }} - automaticTransitionFromOpenToHalfOpenEnabled: {{ $.Values.queuehandler.config.circuitBreakerConfiguration.automaticTransitionFromOpenToHalfOpenEnabled | quote }} - waitDurationInOpenState: {{ $.Values.queuehandler.config.circuitBreakerConfiguration.waitDurationInOpenState }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/config/smd-handler-config.yml b/aerospike-point-in-time-recovery/config/smd-handler-config.yml deleted file mode 100644 index 6e8e105..0000000 --- a/aerospike-point-in-time-recovery/config/smd-handler-config.yml +++ /dev/null @@ -1,21 +0,0 @@ -backendUri: http://{{ $.Values.restbackend.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.restbackend.port.number }} -storageProviderUri: http://{{ $.Values.storageprovider.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.storageprovider.port.number }} -backendTimeoutMs: {{ $.Values.smdhandler.config.backendTimeoutMs }} -authenticatorUri: http://{{ $.Values.authenticator.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.authenticator.port.number }} -auth: - enabled: {{ $.Values.smdhandler.config.auth.enabled }} - tokenRefreshSeconds: {{ $.Values.smdhandler.config.auth.tokenRefreshSeconds }} - username: {{ $.Values.smdhandler.config.auth.username }} - password: {{ $.Values.smdhandler.config.auth.password }} -backupIntervalSeconds: {{ $.Values.smdhandler.config.backupIntervalSeconds }} -httpHost: {{ $.Values.smdhandler.config.host }} -httpPort: {{ $.Values.smdhandler.port.number }} -retryIntervalMs: {{ $.Values.smdhandler.config.retryIntervalMs }} -meterRegistryStepSeconds: {{ $.Values.smdhandler.config.meterRegistryStepSeconds }} -circuitBreakerConfiguration: - slidingWindowSize: {{ $.Values.smdhandler.config.circuitBreakerConfiguration.slidingWindowSize }} - minimumNumberOfCalls: {{ $.Values.smdhandler.config.circuitBreakerConfiguration.minimumNumberOfCalls }} - slowCallDurationThreshold: {{ $.Values.smdhandler.config.circuitBreakerConfiguration.slowCallDurationThreshold }} - permittedNumberOfCallsInHalfOpenState: {{ $.Values.smdhandler.config.circuitBreakerConfiguration.permittedNumberOfCallsInHalfOpenState }} - automaticTransitionFromOpenToHalfOpenEnabled: {{ $.Values.smdhandler.config.circuitBreakerConfiguration.automaticTransitionFromOpenToHalfOpenEnabled | quote }} - waitDurationInOpenState: {{ $.Values.smdhandler.config.circuitBreakerConfiguration.waitDurationInOpenState }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/config/xdr-scheduler-config.yml b/aerospike-point-in-time-recovery/config/xdr-scheduler-config.yml deleted file mode 100644 index 3772804..0000000 --- a/aerospike-point-in-time-recovery/config/xdr-scheduler-config.yml +++ /dev/null @@ -1,21 +0,0 @@ -backendUri: http://{{ $.Values.restbackend.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.restbackend.port.number }} -backendTimeoutMs: {{ $.Values.xdrscheduler.config.backendTimeoutMs }} -authenticatorUri: http://{{ $.Values.authenticator.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.authenticator.port.number }} -auth: - enabled: {{ $.Values.xdrscheduler.config.auth.enabled }} - tokenRefreshSeconds: {{ $.Values.xdrscheduler.config.auth.tokenRefreshSeconds }} - username: {{ $.Values.xdrscheduler.config.auth.username }} - password: {{ $.Values.xdrscheduler.config.auth.password }} -xdrSchedulerIntervalMs: {{ $.Values.xdrscheduler.config.xdrSchedulerIntervalMs }} -xdrSchedulerCheckLagIntervalMs: {{ $.Values.xdrscheduler.config.xdrSchedulerCheckLagIntervalMs }} -httpHost: {{ $.Values.xdrscheduler.config.host }} -httpPort: {{ $.Values.xdrscheduler.port.number }} -retryIntervalMs: {{ $.Values.xdrscheduler.config.retryIntervalMs }} -meterRegistryStepSeconds: {{ $.Values.xdrscheduler.config.meterRegistryStepSeconds }} -circuitBreakerConfiguration: - slidingWindowSize: {{ $.Values.xdrscheduler.config.circuitBreakerConfiguration.slidingWindowSize }} - minimumNumberOfCalls: {{ $.Values.xdrscheduler.config.circuitBreakerConfiguration.minimumNumberOfCalls }} - slowCallDurationThreshold: {{ $.Values.xdrscheduler.config.circuitBreakerConfiguration.slowCallDurationThreshold }} - permittedNumberOfCallsInHalfOpenState: {{ $.Values.xdrscheduler.config.circuitBreakerConfiguration.permittedNumberOfCallsInHalfOpenState }} - automaticTransitionFromOpenToHalfOpenEnabled: {{ $.Values.xdrscheduler.config.circuitBreakerConfiguration.automaticTransitionFromOpenToHalfOpenEnabled | quote }} - waitDurationInOpenState: {{ $.Values.xdrscheduler.config.circuitBreakerConfiguration.waitDurationInOpenState }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/examples/local-deployment-values.yaml b/aerospike-point-in-time-recovery/examples/local-deployment-values.yaml deleted file mode 100644 index 47016db..0000000 --- a/aerospike-point-in-time-recovery/examples/local-deployment-values.yaml +++ /dev/null @@ -1,469 +0,0 @@ -replicas: 1 -image: - repository: "" - pullPolicy: "Always" - tag: "latest" -annotations: - "co.elastic.logs/enabled": "true" -labels: { } -nodeSelector: { } -tolerations: [ ] -affinity: { } -autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 -nameOverride: "" -fullnameOverride: "" -resources: { } - -aws: - ecrtokenissuer: - enabled: false - issuer: - name: "ecr-token-issuer" - secretname: "regcred" - credentials: - awsAccountId: "" - awsRegion: "" - awsAccessKeyId: "" - awsSecretAccessKey: "" - -sourceclusters: - nameprefix: "source-cluster" - addresses: - ips: [ ] - dnsnames: [ ] - port: - name: "source-port" - number: 3000 - auth: - username: "tester" - password: "psw" - -backupcluster: - name: "backup-cluster" - address: - ip: "" - port: - name: "backup-port" - number: 3004 - dnsname: "" - auth: - username: "tester" - password: "psw" - -authenticator: - enabled: true - name: "authenticator" - image: - repository: "aerospike/aerospike-pitr-authenticator" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8080 - serviceMonitor: - enabled: false - port: - name: "metrics" - number: 8080 - resources: - requests: - cpu: 0 - # memory: "" - limits: - cpu: 0 - # memory: "" - replicas: 1 - autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - auth: - enabled: false - username: "pitr" - password: "pitrpwd" - -compactor: - enabled: true - name: "compactor" - image: - repository: "aerospike/aerospike-pitr-compactor" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8080 - serviceMonitor: - enabled: false - port: - name: "metrics" - number: 8088 - resources: - requests: - cpu: 0 - # memory: "" - limits: - cpu: 0 - # memory: "" - replicas: 1 - autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - host: "0.0.0.0" - auth: - enabled: false - tokenRefreshSeconds: 82800 - username: "pitr-compactor" - password: "pitr-compactor-pwd" - backendTimeoutMs: 1000 - retryIntervalMs: 1000 - compactIntervalSeconds: 86400 - smdCompactIntervalSeconds: 82800 - deleteOldRecordsIntervalSeconds: 90000 - meterRegistryStepSeconds: 10 - circuitBreakerConfiguration: - slidingWindowSize: 20 - minimumNumberOfCalls: 8 - slowCallDurationThreshold: 10 - permittedNumberOfCallsInHalfOpenState: 4 - automaticTransitionFromOpenToHalfOpenEnabled: true - waitDurationInOpenState: 5 - -queuehandler: - enabled: true - name: "queue-handler" - image: - repository: "aerospike/aerospike-pitr-queue-handler" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8080 - serviceMonitor: - enabled: false - port: - name: "metrics" - number: 8088 - resources: - requests: - cpu: 0 - # memory: "" - limits: - cpu: 0 - # memory: "" - replicas: 1 - autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - host: "0.0.0.0" - auth: - enabled: false - tokenRefreshSeconds: 82800 - username: "pitr-queue-handler" - password: "pitr-queue-handler-pwd" - backendTimeoutMs: 2000 - backendQueueProcessingTimeoutMs: 5000 - queueBatchSize: 100 - queueBatchDurationLimitMs: 2000 - queuePullingIntervalMs: 1000 - zombieRecoverIntervalMs: 60000 - recordRecoverThresholdMs: 600000 - retryIntervalMs: 1000 - meterRegistryStepSeconds: 10 - refreshQueueDetailsCacheSeconds: 5 - processingExecutorSize: 32 - circuitBreakerConfiguration: - slidingWindowSize: 20 - minimumNumberOfCalls: 8 - slowCallDurationThreshold: 10 - permittedNumberOfCallsInHalfOpenState: 4 - automaticTransitionFromOpenToHalfOpenEnabled: true - waitDurationInOpenState: 5 - -smdhandler: - enabled: true - name: "smd-handler" - image: - repository: "aerospike/aerospike-pitr-smd-handler" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8080 - serviceMonitor: - enabled: false - port: - name: "metrics" - number: 8088 - resources: - requests: - cpu: 0 - # memory: "" - limits: - cpu: 0 - # memory: "" - replicas: 1 - autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - host: "0.0.0.0" - auth: - enabled: false - tokenRefreshSeconds: 82800 - username: "pitr-smd-handler" - password: "pitr-smd-handler-pwd" - backendTimeoutMs: 1000 - backupIntervalSeconds: 900 - retryIntervalMs: 1000 - meterRegistryStepSeconds: 10 - circuitBreakerConfiguration: - slidingWindowSize: 20 - minimumNumberOfCalls: 8 - slowCallDurationThreshold: 10 - permittedNumberOfCallsInHalfOpenState: 4 - automaticTransitionFromOpenToHalfOpenEnabled: true - waitDurationInOpenState: 5 - -xdrscheduler: - enabled: true - name: "xdr-scheduler" - image: - repository: "aerospike/aerospike-pitr-xdr-scheduler" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8080 - serviceMonitor: - enabled: false - port: - name: "metrics" - number: 8088 - resources: - requests: - cpu: 0 - # memory: "" - limits: - cpu: 0 - # memory: "" - replicas: 1 - autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - host: "0.0.0.0" - auth: - enabled: false - tokenRefreshSeconds: 82800 - username: "pitr-xdr-scheduler" - password: "pitr-xdr-scheduler-pwd" - backendTimeoutMs: 2000 - xdrSchedulerIntervalMs: 10000 - xdrSchedulerCheckLagIntervalMs: 5000 - retryIntervalMs: 1000 - meterRegistryStepSeconds: 10 - circuitBreakerConfiguration: - slidingWindowSize: 20 - minimumNumberOfCalls: 8 - slowCallDurationThreshold: 10 - permittedNumberOfCallsInHalfOpenState: 4 - automaticTransitionFromOpenToHalfOpenEnabled: true - waitDurationInOpenState: 5 - -restbackend: - enabled: true - name: "rest-backend" - image: - repository: "aerospike/aerospike-pitr-rest-backend" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8080 - serviceMonitor: - enabled: false - port: - name: "metrics" - number: 8080 - resources: - requests: - cpu: 0 - # memory: "" - limits: - cpu: 0 - # memory: "" - replicas: 1 - autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - auth: - enabled: false - username: "pitr" - password: "pitrpwd" - backupMaxCommandsInProcess: 32 - backupMaxCommandsInQueue: 10000 - restBackendClientPolicyMaxConnsPerNode: 500 - backupCatalogNamespace: "catalog" - meterRegistryStepSeconds: 10 - backgroundJobBatchSize: 100 - backgroundJobParallelism: 4 - -storageprovider: - enabled: true - name: "storage-provider" - image: - repository: "aerospike/aerospike-pitr-storage-provider" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8081 - serviceMonitor: - enabled: false - port: - name: "metrics" - number: 8081 - resources: - requests: - cpu: 0 - # memory: "" - limits: - cpu: 0 - # memory: "" - replicas: 1 - autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - auth: - enabled: false - accessKey: "minioadmin" - secretKey: "minioadmin" - bucketname: "as-backup-bucket" - -xdrtransformer: - enabled: true - name: "xdr-transformer" - image: - repository: "aerospike/aerospike-pitr-xdr-transformer" - tag: "" - pullPolicy: "" - resources: - requests: - cpu: 0 - # memory: "" - limits: - cpu: 0 - # memory: "" - replicas: 1 - serviceMonitor: - enabled: false - autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - service: - name: "xdr-service" - port: 8082 - address: 0.0.0.0 - ioThreads: 4 - workerThreads: 4 - maxConcurrentRecords: 32768 - clusterName: pitr - manage: - name: "xdr-manage" - address: 0.0.0.0 - port: 8902 - logging: - enableConsoleLogging: true - file: /var/log/aerospike-xdr-proxy/aerospike-xdr-proxy.log - tickerInterval: 1 - -minio: - enabled: true - name: "minio" - address: - name: "minio-port" - ip: "" - port: 9000 - -ingress: - enable: true - ingressClassName: "nginx" - -prometheus: - enable: false - interval: 10s - diff --git a/aerospike-point-in-time-recovery/templates/NOTES.txt b/aerospike-point-in-time-recovery/templates/NOTES.txt deleted file mode 100644 index 3affd9e..0000000 --- a/aerospike-point-in-time-recovery/templates/NOTES.txt +++ /dev/null @@ -1 +0,0 @@ -Installation Completed! diff --git a/aerospike-point-in-time-recovery/templates/_helpers.tpl b/aerospike-point-in-time-recovery/templates/_helpers.tpl deleted file mode 100644 index 6793def..0000000 --- a/aerospike-point-in-time-recovery/templates/_helpers.tpl +++ /dev/null @@ -1,140 +0,0 @@ -{{/* -Expand the name of the chart. -*/}} -{{- define "aerospike-enterprise-backup.name" -}} -{{- default $.Chart.Name $.Values.nameOverride | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "aerospike-enterprise-backup.fullname" -}} -{{- if .Values.fullnameOverride }} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- .Chart.Name | trunc 63 | trimSuffix "-" }} -{{- end }} -{{- end }} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "aerospike-enterprise-backup.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Common labels -*/}} -{{- define "aerospike-enterprise-backup.labels" -}} -helm.sh/chart: {{ include "aerospike-enterprise-backup.chart" . }} -{{ include "aerospike-enterprise-backup.selectorLabels" . }} -app.kubernetes.io/version: {{ include "aerospike-enterprise-backup.version" . | quote }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -app.kubernetes.io/part-of: {{ include "aerospike-enterprise-backup.fullname" . | quote }} -{{- end }} - -{{- define "aerospike-enterprise-backup.version" -}} -{{- if and (hasKey .component "image") (.component.image.tag) -}} -{{ .component.image.tag }} -{{- else -}} -{{- default .Chart.AppVersion .Values.image.tag | trunc 63 | trimSuffix "-" -}} -{{- end -}} -{{- end -}} -{{/* -Selector labels -*/}} -{{- define "aerospike-enterprise-backup.selectorLabels" -}} -app.kubernetes.io/name: {{ .component.name | trunc 63 | trimSuffix "-" }} -app.kubernetes.io/instance: {{ $.Release.Name }} -{{- end }} - -{{- define "elk-annotations" -}} -co.elastic.logs/enabled: {{ true | quote }} -{{- end }} -{{/* -Create the name of the service account to use -*/}} -{{- define "aerospike-enterprise-backup.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "aerospike-enterprise-backup.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} - -{{- define "smd-handler.config" -}} -backendUri: {{ .Chart.Name }} -storageProviderUri: {{ .Chart.Name }} -{{- end -}} - -{{- define "aerospike-xdr-proxy.config" -}} -service: - port: {{ $.Values.xdrtransformer.config.service.port | quote }} - address: {{ $.Values.xdrtransformer.config.service.address }} - manage: - address: {{ $.Values.xdrtransformer.config.service.manage.address }} - port: {{ $.Values.xdrtransformer.config.service.manage.port }} -aerospike: - seeds: - - {{ $.Values.backupcluster.name }}.{{ $.Release.Namespace }}.svc.cluster.local: - port: {{ $.Values.backupcluster.address.port.number }} - credentials: - username: {{ $.Values.backupcluster.auth.username }} - password-file: /etc/config/pswd.txt -logging: - enable-console-logging: {{ $.Values.xdrtransformer.config.logging.enableConsoleLogging }} - levels: - root: info - file: {{ $.Values.xdrtransformer.config.logging.file | quote }} - ticker-interval: {{ $.Values.xdrtransformer.config.logging.tickerInterval | quote }} -message-transformer: - class: com.aerospike.pitr.transformer.RecordTransformer - -{{- end -}} - -{{- define "initContainer.wait.rest-backend" -}} -- name: "init-wait-rest-backend" - image: alpine/curl - command: ["/bin/sh", "-c", "while true; do echo 'Reaching rest-backend...'; curl --silent {{ $.Values.restbackend.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.restbackend.port.number }}/health; if [ $? -eq 0 ]; then echo 'Reached rest-backend'; break; else echo 'Retry in 3 seconds...'; sleep 3s; fi done"] -{{- end -}} - -{{- define "initContainer.wait.authenticator" -}} -- name: "init-wait-authenticator" - image: alpine/curl - command: ["/bin/sh", "-c", "while true; do echo 'Reaching authenticator...'; curl --silent {{ $.Values.authenticator.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.authenticator.port.number }}/health; if [ $? -eq 0 ]; then echo 'Reached authenticator'; break; else echo 'Retry in 3 seconds...'; sleep 3s; fi done"] -{{- end -}} - -{{- define "initContainer.wait.storage-provider" -}} -- name: "init-wait-storage-provider" - image: alpine/curl - command: ["/bin/sh", "-c", "while true; do echo 'Reaching storage-provider...'; curl --silent {{ $.Values.storageprovider.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.storageprovider.port.number }}/health; if [ $? -eq 0 ]; then echo 'Reached storage-provider'; break; else echo 'Retry in 3 seconds...'; sleep 3s; fi done"] -{{- end -}} - -{{- define "initContainer.wait.xdr-transformer" }} -- name: "init-wait-xdr-transformer" - image: alpine/curl - command: ["/bin/sh", "-c", "while true; do echo 'Reaching xdr-transformer...'; curl --silent {{ $.Values.xdrtransformer.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ $.Values.xdrtransformer.config.service.manage.port }}/manage/rest/v1/logging; if [ $? -eq 0 ]; then echo 'Reached xdr-transformer'; break; else echo 'Retry in 3 seconds...'; sleep 3s; fi done"] -{{- end }} - -{{- define "get-image" -}} -{{ $version := include "aerospike-enterprise-backup.version" . }} -{{- if .component.image.repository -}} -{{ printf "%s:%s" .component.image.repository $version }} -{{- else -}} -{{ printf "%s/%s:%s" .Values.image.repository .component.name $version }} -{{- end -}} -{{- end -}} - -{{- define "get-k8s-cli-image" -}} -{{ printf "alpine/k8s:%v" (trimPrefix "v" (split "-" $.Capabilities.KubeVersion.Version)._0) }} -{{- end -}} - -{{- define "imagePullSecrets" }} -{{- if .Values.aws.ecrtokenissuer.enabled }} -imagePullSecrets: - - name: {{ .Values.aws.ecrtokenissuer.secretname }} -{{- end }} -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/authenticator.yaml b/aerospike-point-in-time-recovery/templates/authenticator.yaml deleted file mode 100644 index 5baa7a6..0000000 --- a/aerospike-point-in-time-recovery/templates/authenticator.yaml +++ /dev/null @@ -1,72 +0,0 @@ -{{- if .Values.authenticator.enabled }} ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Values.authenticator.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.authenticator) .) | nindent 4 }} -spec: - replicas: {{ default .Values.replicas .Values.authenticator.replicas }} - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.authenticator) .) | nindent 6 }} - template: - metadata: - {{- with .Values.annotations }} - annotations: - {{- toYaml (merge $.Values.authenticator.annotations .) | nindent 8 }} - {{- end }} - labels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.authenticator) .) | nindent 8 }} - {{- with .Values.authenticator.labels }} - {{- . | toYaml | nindent 8}} - {{- end }} - spec: - {{- include "imagePullSecrets" . | nindent 6 }} - initContainers: - {{- include "initContainer.wait.rest-backend" . | nindent 10 }} - containers: - - name: {{ .Values.authenticator.name }} - image: {{ include "get-image" (merge (dict "component" .Values.authenticator) .) }} - imagePullPolicy: {{ default .Values.image.pullPolicy .Values.authenticator.image.pullPolicy }} - resources: - requests: - {{- default .Values.resources .Values.authenticator.resources | toYaml | nindent 12 }} - ports: - - name: {{ .Values.authenticator.port.name }} - containerPort: {{ .Values.authenticator.port.number }} - protocol: TCP - envFrom: - - configMapRef: - name: {{ .Values.authenticator.name }}-configmap - {{- if .Values.authenticator.config.auth.enabled }} - - secretRef: - name: {{ .Values.authenticator.name }}-secret - {{- end }} - livenessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /health - port: {{ .Values.authenticator.port.number }} - readinessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /health - port: {{ .Values.authenticator.port.number }} - {{ with .Values.authenticator.affinity }} - affinity: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{ with .Values.authenticator.nodeSelector }} - nodeSelector: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{- with .Values.authenticator.tolerations }} - tolerations: - {{- . | nindent 8 }} - {{- end }} -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/compactor.yaml b/aerospike-point-in-time-recovery/templates/compactor.yaml deleted file mode 100644 index b2b09bd..0000000 --- a/aerospike-point-in-time-recovery/templates/compactor.yaml +++ /dev/null @@ -1,78 +0,0 @@ -{{- if .Values.compactor.enabled }} ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Values.compactor.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.compactor) .) | nindent 4 }} -spec: - replicas: {{ default .Values.replicas .Values.compactor.replicas }} - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.compactor) .) | nindent 6 }} - template: - metadata: - {{- with .Values.annotations }} - annotations: - {{- toYaml (merge $.Values.compactor.annotations .) | nindent 8 }} - {{- end }} - labels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.compactor) .) | nindent 8 }} - {{- with .Values.compactor.labels }} - {{- . | toYaml | nindent 8}} - {{- end }} - spec: - {{- include "imagePullSecrets" . | nindent 6 }} - volumes: - - name: "configmap-volume" - configMap: - name: {{ .Values.compactor.name }}-configmap - initContainers: - {{- include "initContainer.wait.rest-backend" . | nindent 10 }} - {{- include "initContainer.wait.authenticator" . | nindent 10 }} - {{- include "initContainer.wait.storage-provider" . | nindent 10 }} - containers: - - name: {{ .Values.compactor.name }} - image: {{ include "get-image" (merge (dict "component" .Values.compactor) .) }} - imagePullPolicy: {{ default .Values.image.pullPolicy .Values.compactor.image.pullPolicy }} - resources: - {{- default .Values.resources .Values.compactor.resources | toYaml | nindent 12 }} - volumeMounts: - - mountPath: /etc/config - name: "configmap-volume" - ports: - - name: {{ .Values.compactor.port.name }} - containerPort: {{ .Values.compactor.port.number }} - protocol: TCP - {{- if .Values.compactor.serviceMonitor.enabled }} - - name: {{ .Values.compactor.serviceMonitor.port.name }} - containerPort: {{ .Values.compactor.serviceMonitor.port.number }} - protocol: TCP - {{- end }} - livenessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /health - port: {{ .Values.compactor.port.number }} - readinessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /health - port: {{ .Values.compactor.port.number }} - {{- with .Values.compactor.affinity }} - affinity: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{- with .Values.compactor.nodeSelector }} - nodeSelector: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{- with .Values.compactor.tolerations }} - tolerations: - {{- . | nindent 8 }} - {{- end }} -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/configMaps.yaml b/aerospike-point-in-time-recovery/templates/configMaps.yaml deleted file mode 100644 index 702567b..0000000 --- a/aerospike-point-in-time-recovery/templates/configMaps.yaml +++ /dev/null @@ -1,155 +0,0 @@ -{{- if .Values.authenticator.enabled }} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.authenticator.name }}-configmap - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.authenticator) .) | nindent 4 }} -data: - AEROSPIKE_AUTH_ENABLEAUTH: {{ .Values.authenticator.config.auth.enabled | quote }} - AEROSPIKE_AUTH_RESTBACKENDURI: http://{{ .Values.restbackend.name }}.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.restbackend.port.number }} -{{- end }} - -{{- if .Values.compactor.enabled }} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.compactor.name }}-configmap - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.compactor) .) | nindent 4 }} -data: - config.yml: {{ tpl (.Files.Get "config/compactor-config.yml") . | toYaml | indent 2 }} -{{- end }} - -{{- if .Values.queuehandler.enabled }} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.queuehandler.name }}-configmap - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.queuehandler) .) | nindent 4 }} -data: - config.yml: {{ tpl (.Files.Get "config/queue-handler-config.yml") . | toYaml | indent 2 }} -{{- end }} - -{{- if .Values.smdhandler.enabled }} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.smdhandler.name }}-configmap - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.smdhandler) .) | nindent 4 }} -data: - config.yml: {{ tpl (.Files.Get "config/smd-handler-config.yml") . | toYaml | indent 2 }} -{{- end }} - -{{- if .Values.xdrscheduler.enabled }} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.xdrscheduler.name }}-configmap - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.xdrscheduler) .) | nindent 4 }} -data: - config.yml: {{ tpl (.Files.Get "config/xdr-scheduler-config.yml") . | toYaml | indent 2 }} -{{- end }} - -{{- if .Values.restbackend.enabled }} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.restbackend.name }}-configmap - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.restbackend) .) | nindent 4 }} -data: - AEROSPIKE_REST_BACKEND_ENABLEAUTH: {{ .Values.restbackend.config.auth.enabled | quote }} - MANAGEMENT_ENDPOINT_PROMETHEUS_ENABLED: {{ .Values.prometheus.enable | quote }} - MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED: {{ .Values.prometheus.enable | quote }} - MANAGEMENT_METRICS_EXPORT_PROMETHEUS_STEP: {{ .Values.prometheus.interval | quote }} - MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE: "health,info,prometheus,env" - PITR_SERVICE_NAME: {{ .Values.restbackend.name }} - AEROSPIKE_BACKUP_HOST: {{ .Values.backupcluster.name }}.{{ $.Release.Namespace }}.svc.cluster.local - AEROSPIKE_BACKUP_PORT: {{ .Values.backupcluster.address.port.number | quote }} - AEROSPIKE_BACKUP_CATALOGNAMESPACE: {{ .Values.restbackend.config.backupCatalogNamespace }} - AEROSPIKE_XDR_PROXY_PORT: {{ .Values.xdrtransformer.config.service.port | quote }} - AEROSPIKE_REST_BACKEND_STORAGEPROVIDERURI: http://{{.Values.storageprovider.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ .Values.storageprovider.port.number }} - AEROSPIKE_BACKUP_MAXCOMMANDSINPROCESS: {{ .Values.restbackend.config.backupMaxCommandsInProcess | quote }} - AEROSPIKE_BACKUP_MAXCOMMANDSINQUEUE: {{ .Values.restbackend.config.backupMaxCommandsInQueue | quote }} - AEROSPIKE_REST_BACKEND_CLIENTPOLICY_MAXCONNSPERNODE: {{ .Values.restbackend.config.restBackendClientPolicyMaxConnsPerNode | quote }} - AEROSPIKE_REST_BACKEND_BACKGROUNDJOBPOLICY_RECORDSBATCHSIZE: {{ .Values.restbackend.config.backgroundJobBatchSize | quote }} - AEROSPIKE_REST_BACKEND_BACKGROUNDJOBPOLICY_PARALLELISM: {{ .Values.restbackend.config.backgroundJobParallelism | quote }} -{{- end }} - -{{- if and .Values.storageprovider.enabled }} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.storageprovider.name }}-configmap - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.storageprovider) .) | nindent 4 }} -data: - AEROSPIKE_STORAGE_PROVIDER_ENABLEAUTH: {{ .Values.storageprovider.config.auth.enabled | quote }} - MANAGEMENT_ENDPOINT_PROMETHEUS_ENABLED: {{ .Values.prometheus.enable | quote }} - MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED: {{ .Values.prometheus.enable | quote }} - MANAGEMENT_METRICS_EXPORT_PROMETHEUS_STEP: {{ .Values.prometheus.interval | quote }} - MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE: "health,info,prometheus,env" - SERVER_PORT: {{ .Values.storageprovider.port.number | quote }} - AEROSPIKE_STORAGE_PROVIDER_CONTAINERNAME: {{ .Values.storageprovider.config.bucketname | quote }} - PITR_SERVICE_NAME: {{ .Values.storageprovider.name }} - AEROSPIKE_STORAGE_PROVIDER_PROVIDERNAME: "AWS_S3" - {{- if .Values.minio.enabled }} - AMAZON_S3_SERVICEENDPOINT: http://{{ .Values.minio.name }}.{{ $.Release.Namespace }}.svc.cluster.local:{{ .Values.minio.address.port }} - {{- else }} - AMAZON_S3_SERVICEENDPOINT: "" - {{- end }} -{{- end }} - -{{- if .Values.xdrtransformer.enabled }} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.xdrtransformer.name }}-configmap - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.xdrtransformer) .) | nindent 4 }} -data: - aerospike-xdr-proxy.yml: -{{ include "aerospike-xdr-proxy.config" . | toYaml | nindent 4 }} -{{- end }} - -{{- if .Values.aws.ecrtokenissuer.enabled }} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-configmap - namespace: {{ $.Release.Namespace }} - labels: - helm.sh/chart: {{ printf "%s-%s" $.Chart.Name $.Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/instance: {{ $.Release.Name | quote }} - app.kubernetes.io/version: {{ $.Chart.AppVersion | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/managed-by: {{ $.Release.Service | quote }} - app.kubernetes.io/part-of: {{ $.Chart.Name | trunc 63 | trimSuffix "-" | quote }} - annotations: - "helm.sh/hook": pre-install, post-delete - "helm.sh/hook-weight": "1" - "helm.sh/hook-delete-policy": hook-succeeded -data: - AWS_REGION: {{ .Values.aws.ecrtokenissuer.credentials.awsRegion | quote }} - DOCKER_SECRET_NAME: {{ .Values.aws.ecrtokenissuer.secretname | quote }} -{{- end }} diff --git a/aerospike-point-in-time-recovery/templates/cronjob.yaml b/aerospike-point-in-time-recovery/templates/cronjob.yaml deleted file mode 100644 index ed8132f..0000000 --- a/aerospike-point-in-time-recovery/templates/cronjob.yaml +++ /dev/null @@ -1,48 +0,0 @@ -{{- if .Values.aws.ecrtokenissuer.enabled }} ---- -apiVersion: batch/v1 -kind: CronJob -metadata: - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-cronjob - namespace: {{ $.Release.Namespace }} - labels: - helm.sh/chart: {{ printf "%s-%s" $.Chart.Name $.Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/name: "ecr-token-issuer-cronjob" - app.kubernetes.io/instance: {{ $.Release.Name | quote }} - app.kubernetes.io/version: {{ $.Chart.AppVersion | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/managed-by: {{ $.Release.Service | quote }} - app.kubernetes.io/part-of: {{ $.Chart.Name | trunc 63 | trimSuffix "-" | quote }} - -spec: - schedule: "0 */10 * * *" - successfulJobsHistoryLimit: 3 - startingDeadlineSeconds: 200 - suspend: false - jobTemplate: - spec: - template: - spec: - serviceAccountName: {{ .Values.aws.ecrtokenissuer.issuer.name }}-serviceaccount - containers: - - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-cronjob - image: {{ include "get-k8s-cli-image" . }} - imagePullPolicy: "Always" - envFrom: - - secretRef: - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-secret - - configMapRef: - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-configmap - command: - - /bin/sh - - -c - - |- - ECR_TOKEN=`aws ecr get-login-password --region ${AWS_REGION}` - kubectl delete secret --ignore-not-found $DOCKER_SECRET_NAME -n {{ $.Release.Namespace }} - kubectl create secret docker-registry $DOCKER_SECRET_NAME \ - --docker-server=https://${AWS_ACCOUNT}.dkr.ecr.${AWS_REGION}.amazonaws.com \ - --docker-username=AWS \ - --docker-password="${ECR_TOKEN}" \ - --namespace={{ $.Release.Namespace }} - echo "Secret was successfully updated at $(date)" - restartPolicy: Never -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/endpoints.yaml b/aerospike-point-in-time-recovery/templates/endpoints.yaml deleted file mode 100644 index b42fe5b..0000000 --- a/aerospike-point-in-time-recovery/templates/endpoints.yaml +++ /dev/null @@ -1,56 +0,0 @@ -{{- if .Values.minio.enabled }} ---- -kind: Endpoints -apiVersion: "v1" -metadata: - name: {{ .Values.minio.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.minio) .) | nindent 6 }} -subsets: - - addresses: - - ip: {{ .Values.minio.address.ip }} - ports: - - name: {{ .Values.minio.address.name | quote }} - port: {{ .Values.minio.address.port }} -{{- end }} - -{{- if .Values.backupcluster.address.ip }} ---- -kind: Endpoints -apiVersion: "v1" -metadata: - name: {{ .Values.backupcluster.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.backupcluster) .) | nindent 4 }} -subsets: - - addresses: - - ip: {{ .Values.backupcluster.address.ip | quote }} - ports: - - name: {{ .Values.backupcluster.address.port.name | quote }} - port: {{ .Values.backupcluster.address.port.number }} -{{- end }} - -{{- range $index, $ip := .Values.sourceclusters.addresses.ips -}} -{{ $name :=(printf "%s-%d" $.Values.sourceclusters.nameprefix $index) }} ---- -kind: Endpoints -apiVersion: "v1" -metadata: - name: {{ $name | quote }} - namespace: {{ $.Release.Namespace }} - labels: - helm.sh/chart: {{ printf "%s-%s" $.Chart.Name $.Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/name: {{ $name | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/instance: {{ $.Release.Name | quote }} - app.kubernetes.io/version: {{ default $.Chart.AppVersion $.Values.image.tag | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/managed-by: {{ $.Release.Service | quote }} - app.kubernetes.io/part-of: {{ $.Chart.Name | trunc 63 | trimSuffix "-" | quote }} -subsets: - - addresses: - - ip: {{ $ip | quote }} - ports: - - name: {{ $.Values.sourceclusters.port.name | quote }} - port: {{ $.Values.sourceclusters.port.number }} -{{- end }} diff --git a/aerospike-point-in-time-recovery/templates/hpa.yaml b/aerospike-point-in-time-recovery/templates/hpa.yaml deleted file mode 100644 index 3d6151f..0000000 --- a/aerospike-point-in-time-recovery/templates/hpa.yaml +++ /dev/null @@ -1,200 +0,0 @@ -{{- if and (default .Values.autoscaling.enabled .Values.authenticator.autoscaling.enabled) .Values.authenticator.enabled}} ---- -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: {{ .Values.authenticator.name }}-hpa - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.authenticator) .) | nindent 4 }} -spec: - metrics: - - resource: - name: cpu - target: - averageUtilization: {{ default .Values.autoscaling.targetCPUUtilizationPercentage .Values.authenticator.autoscaling.targetCPUUtilizationPercentage }} - type: Utilization - type: Resource - minReplicas: {{ default .Values.autoscaling.minReplicas .Values.authenticator.autoscaling.minReplicas }} - maxReplicas: {{ default .Values.autoscaling.maxReplicas .Values.authenticator.autoscaling.maxReplicas }} - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: {{ .Values.authenticator.name }} -{{- end }} - - -{{- if and (default .Values.autoscaling.enabled .Values.compactor.autoscaling.enabled) .Values.compactor.enabled}} ---- -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: {{ .Values.compactor.name }}-hpa - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.compactor) .) | nindent 4 }} -spec: - metrics: - - resource: - name: cpu - target: - averageUtilization: {{ default .Values.autoscaling.targetCPUUtilizationPercentage .Values.compactor.autoscaling.targetCPUUtilizationPercentage }} - type: Utilization - type: Resource - minReplicas: {{ default .Values.autoscaling.minReplicas .Values.compactor.autoscaling.minReplicas }} - maxReplicas: {{ default .Values.autoscaling.maxReplicas .Values.compactor.autoscaling.maxReplicas }} - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: {{ .Values.compactor.name }} -{{- end }} - -{{- if and (default .Values.autoscaling.enabled .Values.queuehandler.autoscaling.enabled) .Values.queuehandler.enabled}} ---- -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: {{ .Values.queuehandler.name }}-hpa - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.queuehandler) .) | nindent 4 }} -spec: - metrics: - - resource: - name: cpu - target: - averageUtilization: {{ default .Values.autoscaling.targetCPUUtilizationPercentage .Values.queuehandler.autoscaling.targetCPUUtilizationPercentage }} - type: Utilization - type: Resource - minReplicas: {{ default .Values.autoscaling.minReplicas .Values.queuehandler.autoscaling.minReplicas }} - maxReplicas: {{ default .Values.autoscaling.maxReplicas .Values.queuehandler.autoscaling.maxReplicas }} - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: {{ .Values.queuehandler.name }} -{{- end }} - -{{- if and (default .Values.autoscaling.enabled .Values.smdhandler.autoscaling.enabled) .Values.smdhandler.enabled}} ---- -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: {{ .Values.smdhandler.name }}-hpa - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.smdhandler) .) | nindent 4 }} -spec: - metrics: - - resource: - name: cpu - target: - averageUtilization: {{ default .Values.autoscaling.targetCPUUtilizationPercentage .Values.smdhandler.autoscaling.targetCPUUtilizationPercentage }} - type: Utilization - type: Resource - minReplicas: {{ default .Values.autoscaling.minReplicas .Values.smdhandler.autoscaling.minReplicas }} - maxReplicas: {{ default .Values.autoscaling.maxReplicas .Values.smdhandler.autoscaling.maxReplicas }} - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: {{ .Values.smdhandler.name }} -{{- end }} - -{{- if and (default .Values.autoscaling.enabled .Values.xdrscheduler.autoscaling.enabled) .Values.xdrscheduler.enabled}} ---- -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: {{ .Values.xdrscheduler.name }}-hpa - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.xdrscheduler) .) | nindent 4 }} -spec: - metrics: - - resource: - name: cpu - target: - averageUtilization: {{ default .Values.autoscaling.targetCPUUtilizationPercentage .Values.xdrscheduler.autoscaling.targetCPUUtilizationPercentage }} - type: Utilization - type: Resource - minReplicas: {{ default .Values.autoscaling.minReplicas .Values.xdrscheduler.autoscaling.minReplicas }} - maxReplicas: {{ default .Values.autoscaling.maxReplicas .Values.xdrscheduler.autoscaling.maxReplicas }} - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: {{ .Values.xdrscheduler.name }} -{{- end }} - -{{- if and (default .Values.autoscaling.enabled .Values.restbackend.autoscaling.enabled) .Values.restbackend.enabled}} ---- -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: {{ .Values.restbackend.name }}-hpa - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.restbackend) .) | nindent 4 }} -spec: - metrics: - - resource: - name: cpu - target: - averageUtilization: {{ default .Values.autoscaling.targetCPUUtilizationPercentage .Values.restbackend.autoscaling.targetCPUUtilizationPercentage }} - type: Utilization - type: Resource - minReplicas: {{ default .Values.autoscaling.minReplicas .Values.restbackend.autoscaling.minReplicas }} - maxReplicas: {{ default .Values.autoscaling.maxReplicas .Values.restbackend.autoscaling.maxReplicas }} - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: {{ .Values.restbackend.name }} -{{- end }} - -{{- if and (default .Values.autoscaling.enabled .Values.storageprovider.autoscaling.enabled) .Values.storageprovider.enabled }} ---- -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: {{ .Values.storageprovider.name }}-hpa - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.storageprovider) .) | nindent 4 }} -spec: - metrics: - - resource: - name: cpu - target: - averageUtilization: {{ default .Values.autoscaling.targetCPUUtilizationPercentage .Values.storageprovider.autoscaling.targetCPUUtilizationPercentage }} - type: Utilization - type: Resource - minReplicas: {{ default .Values.autoscaling.minReplicas .Values.storageprovider.autoscaling.minReplicas }} - maxReplicas: {{ default .Values.autoscaling.maxReplicas .Values.storageprovider.autoscaling.maxReplicas }} - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: {{ .Values.storageprovider.name }} -{{- end }} - -{{- if and (default .Values.autoscaling.enabled .Values.xdrtransformer.autoscaling.enabled) .Values.xdrtransformer.enabled }} ---- -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: {{ .Values.xdrtransformer.name }}-hpa - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.xdrtransformer) .) | nindent 4 }} -spec: - metrics: - - resource: - name: cpu - target: - averageUtilization: {{ default .Values.autoscaling.targetCPUUtilizationPercentage .Values.xdrtransformer.autoscaling.targetCPUUtilizationPercentage }} - type: Utilization - type: Resource - minReplicas: {{ default .Values.autoscaling.minReplicas .Values.xdrtransformer.autoscaling.minReplicas }} - maxReplicas: 10 - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: {{ .Values.xdrtransformer.name }} -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/ingress.yaml b/aerospike-point-in-time-recovery/templates/ingress.yaml deleted file mode 100644 index d2fcc2d..0000000 --- a/aerospike-point-in-time-recovery/templates/ingress.yaml +++ /dev/null @@ -1,28 +0,0 @@ -{{- if .Values.ingress.enable }} -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: {{ .Values.restbackend.name }}-ingress - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.restbackend) .) | nindent 4 }} -spec: - ingressClassName: {{ .Values.ingress.ingressClassName }} - rules: - - http: - paths: - - pathType: Prefix - path: "/v1/auth" - backend: - service: - name: {{ .Values.authenticator.name }} - port: - number: {{ $.Values.authenticator.port.number }} - - pathType: Prefix - path: "/v1" - backend: - service: - name: {{ .Values.restbackend.name }} - port: - number: {{ $.Values.restbackend.port.number }} -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/job.yaml b/aerospike-point-in-time-recovery/templates/job.yaml deleted file mode 100644 index 4784da9..0000000 --- a/aerospike-point-in-time-recovery/templates/job.yaml +++ /dev/null @@ -1,46 +0,0 @@ -{{- if .Values.aws.ecrtokenissuer.enabled }} ---- -apiVersion: batch/v1 -kind: Job -metadata: - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-job - namespace: {{ $.Release.Namespace }} - labels: - helm.sh/chart: {{ printf "%s-%s" $.Chart.Name $.Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/name: "ecr-token-issuer-job" - app.kubernetes.io/instance: {{ $.Release.Name | quote }} - app.kubernetes.io/version: {{ $.Chart.AppVersion | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/managed-by: {{ $.Release.Service | quote }} - app.kubernetes.io/part-of: {{ $.Chart.Name | trunc 63 | trimSuffix "-" | quote }} - annotations: - "helm.sh/hook": pre-install, post-delete - "helm.sh/hook-weight": "3" - "helm.sh/hook-delete-policy": hook-succeeded -spec: - template: - spec: - serviceAccountName: {{ .Values.aws.ecrtokenissuer.issuer.name }}-serviceaccount - containers: - - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-job - image: {{ include "get-k8s-cli-image" . }} - imagePullPolicy: "Always" - envFrom: - - secretRef: - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-secret - - configMapRef: - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-configmap - command: - - /bin/sh - - -c - - |- - ECR_TOKEN=`aws ecr get-login-password --region ${AWS_REGION}` - kubectl delete secret --ignore-not-found $DOCKER_SECRET_NAME -n {{ $.Release.Namespace }} - kubectl create secret docker-registry $DOCKER_SECRET_NAME \ - --docker-server=https://${AWS_ACCOUNT}.dkr.ecr.${AWS_REGION}.amazonaws.com \ - --docker-username=AWS \ - --docker-password="${ECR_TOKEN}" \ - --namespace={{ $.Release.Namespace }} - echo "Secret was successfully updated at $(date)" - restartPolicy: Never - backoffLimit: 4 -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/queue-handler.yaml b/aerospike-point-in-time-recovery/templates/queue-handler.yaml deleted file mode 100644 index eeca957..0000000 --- a/aerospike-point-in-time-recovery/templates/queue-handler.yaml +++ /dev/null @@ -1,78 +0,0 @@ -{{- if .Values.queuehandler.enabled }} ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Values.queuehandler.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.queuehandler) .) | nindent 4 }} -spec: - replicas: {{ default .Values.replicas .Values.queuehandler.replicas }} - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.queuehandler) .) | nindent 6 }} - template: - metadata: - {{- with .Values.annotations }} - annotations: - {{- toYaml (merge $.Values.queuehandler.annotations .) | nindent 8 }} - {{- end }} - labels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.queuehandler) .) | nindent 8 }} - {{- with .Values.queuehandler.labels }} - {{- . | toYaml | nindent 8}} - {{- end }} - spec: - {{ include "imagePullSecrets" . | indent 6 }} - volumes: - - name: "configmap-volume" - configMap: - name: {{ .Values.queuehandler.name }}-configmap - initContainers: - {{- include "initContainer.wait.rest-backend" . | nindent 10 }} - {{- include "initContainer.wait.authenticator" . | nindent 10 }} - {{- include "initContainer.wait.storage-provider" . | nindent 10 }} - containers: - - name: {{ .Values.queuehandler.name }} - image: {{ include "get-image" (merge (dict "component" .Values.queuehandler) .) }} - imagePullPolicy: {{ default .Values.image.pullPolicy .Values.queuehandler.image.pullPolicy }} - resources: - {{- default .Values.resources .Values.queuehandler.resources | toYaml | nindent 12 }} - volumeMounts: - - mountPath: /etc/config - name: "configmap-volume" - ports: - - name: {{ .Values.queuehandler.port.name }} - containerPort: {{ .Values.queuehandler.port.number }} - protocol: TCP - {{- if .Values.queuehandler.serviceMonitor.enabled}} - - name: {{ .Values.queuehandler.serviceMonitor.port.name }} - protocol: TCP - containerPort: {{ .Values.queuehandler.serviceMonitor.port.number }} - {{- end }} - livenessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /health - port: {{ .Values.queuehandler.port.number }} - readinessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /health - port: {{ .Values.queuehandler.port.number }} - {{- with .Values.queuehandler.affinity }} - affinity: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{- with .Values.queuehandler.nodeSelector }} - nodeSelector: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{- with .Values.queuehandler.tolerations }} - tolerations: - {{- . | nindent 8 }} - {{- end }} -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/rest-backend.yaml b/aerospike-point-in-time-recovery/templates/rest-backend.yaml deleted file mode 100644 index 617975c..0000000 --- a/aerospike-point-in-time-recovery/templates/rest-backend.yaml +++ /dev/null @@ -1,73 +0,0 @@ -{{- if .Values.restbackend.enabled }} ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Values.restbackend.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.restbackend) .) | nindent 4 }} -spec: - replicas: {{ default .Values.replicas .Values.restbackend.replicas }} - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.restbackend) .) | nindent 6 }} - template: - metadata: - {{- with .Values.annotations }} - annotations: - {{- toYaml (merge $.Values.restbackend.annotations .) | nindent 8 }} - {{- end }} - labels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.restbackend) .) | nindent 8 }} - {{- with .Values.restbackend.labels }} - {{- . | toYaml | nindent 8}} - {{- end }} - spec: - {{- include "imagePullSecrets" . | nindent 6 }} - serviceAccountName: {{ .Values.restbackend.name }}-serviceaccount - initContainers: - {{- include "initContainer.wait.xdr-transformer" . | nindent 10 }} - containers: - - name: {{ .Values.restbackend.name }} - image: {{ include "get-image" (merge (dict "component" .Values.restbackend) .) }} - imagePullPolicy: {{ default .Values.image.pullPolicy .Values.restbackend.image.pullPolicy }} - resources: - requests: - {{- default .Values.resources .Values.restbackend.resources | toYaml | nindent 12 }} - ports: - - name: {{ .Values.restbackend.port.name }} - containerPort: {{ .Values.restbackend.port.number }} - protocol: TCP - envFrom: - - configMapRef: - name: {{ .Values.restbackend.name }}-configmap - {{- if .Values.restbackend.config.auth.enabled }} - - secretRef: - name: {{ .Values.restbackend.name }}-secret - {{- end }} - livenessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /health - port: {{ .Values.restbackend.port.number }} - readinessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /health - port: {{ .Values.restbackend.port.number }} - {{ with .Values.restbackend.affinity }} - affinity: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{ with .Values.restbackend.nodeSelector }} - nodeSelector: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{- with .Values.restbackend.tolerations }} - tolerations: - {{- . | nindent 8 }} - {{- end }} -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/rolebinding.yaml b/aerospike-point-in-time-recovery/templates/rolebinding.yaml deleted file mode 100644 index 97a862a..0000000 --- a/aerospike-point-in-time-recovery/templates/rolebinding.yaml +++ /dev/null @@ -1,47 +0,0 @@ -{{- if .Values.restbackend.enabled }} ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: {{ .Values.restbackend.name }}-rolebinding - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.restbackend) .) | nindent 4 }} -subjects: - - kind: ServiceAccount - namespace: {{ $.Release.Namespace }} - name: {{ .Values.restbackend.name }}-serviceaccount -roleRef: - kind: Role - name: {{ .Values.restbackend.name }}-role - apiGroup: rbac.authorization.k8s.io -{{- end }} - -{{- if .Values.aws.ecrtokenissuer.enabled }} ---- -kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-rolebinding - namespace: {{ $.Release.Namespace }} - labels: - helm.sh/chart: {{ printf "%s-%s" $.Chart.Name $.Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/instance: {{ $.Release.Name | quote }} - app.kubernetes.io/version: {{ $.Chart.AppVersion | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/managed-by: {{ $.Release.Service | quote }} - app.kubernetes.io/part-of: {{ $.Chart.Name | trunc 63 | trimSuffix "-" | quote }} - annotations: - "helm.sh/hook": pre-install, post-delete - "helm.sh/hook-weight": "2" - "helm.sh/hook-delete-policy": hook-succeeded -subjects: - - kind: ServiceAccount - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-serviceaccount - namespace: {{ $.Release.Namespace }} - apiGroup: "" -roleRef: - kind: Role - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-role - apiGroup: "" -{{- end}} - diff --git a/aerospike-point-in-time-recovery/templates/roles.yaml b/aerospike-point-in-time-recovery/templates/roles.yaml deleted file mode 100644 index 798aec7..0000000 --- a/aerospike-point-in-time-recovery/templates/roles.yaml +++ /dev/null @@ -1,42 +0,0 @@ -{{- if .Values.restbackend.enabled }} ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - namespace: {{ $.Release.Namespace }} - name: {{ .Values.restbackend.name }}-role - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.restbackend) .) | nindent 4 }} -rules: - - apiGroups: [ "" ] - resources: [ "services" ] - resourceNames: [{{ .Values.xdrtransformer.name }}] - verbs: [ "get", "watch", "list" ] -{{- end }} - -{{- if .Values.aws.ecrtokenissuer.enabled }} ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - namespace: {{ $.Release.Namespace }} - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-role - labels: - helm.sh/chart: {{ printf "%s-%s" $.Chart.Name $.Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/instance: {{ $.Release.Name | quote }} - app.kubernetes.io/version: {{ $.Chart.AppVersion | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/managed-by: {{ $.Release.Service | quote }} - app.kubernetes.io/part-of: {{ $.Chart.Name | trunc 63 | trimSuffix "-" | quote }} - annotations: - "helm.sh/hook": pre-install, post-delete - "helm.sh/hook-weight": "1" - "helm.sh/hook-delete-policy": hook-succeeded -rules: - - apiGroups: [ "" ] - resources: [ "secrets" ] - resourceNames: [{{ .Values.aws.ecrtokenissuer.secretname }}] - verbs: [ "delete" ] - - apiGroups: [ "" ] - resources: [ "secrets" ] - verbs: [ "create" ] -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/secrets.yaml b/aerospike-point-in-time-recovery/templates/secrets.yaml deleted file mode 100644 index 0a5c220..0000000 --- a/aerospike-point-in-time-recovery/templates/secrets.yaml +++ /dev/null @@ -1,80 +0,0 @@ -{{- if and .Values.authenticator.enabled .Values.authenticator.config.auth.enabled }} ---- -apiVersion: v1 -kind: Secret -metadata: - name: {{ .Values.authenticator.name }}-secret - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.authenticator) .) | nindent 4 }} -type: Opaque -data: - SECURITY_JWT_SERVICE_USER: {{ .Values.authenticator.config.auth.username | b64enc }} - SECURITY_JWT_SERVICE_PASSWORD: {{ .Values.authenticator.config.auth.password | b64enc }} -{{- end }} - - -{{- if and .Values.restbackend.enabled .Values.restbackend.config.auth.enabled }} ---- -apiVersion: v1 -kind: Secret -metadata: - name: {{ .Values.restbackend.name }}-secret - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.restbackend) .) | nindent 4 }} -type: Opaque -data: - SECURITY_JWT_SERVICE_USER: {{ .Values.restbackend.config.auth.username | b64enc }} - SECURITY_JWT_SERVICE_PASSWORD: {{ .Values.restbackend.config.auth.password | b64enc }} -{{- end }} - -{{- if and (.Values.storageprovider.enabled) ( and .Values.storageprovider.config.accessKey .Values.storageprovider.config.secretKey) }} ---- -apiVersion: v1 -kind: Secret -metadata: - name: {{ .Values.storageprovider.name }}-secret - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.storageprovider) .) | nindent 4 }} -type: Opaque -data: - AMAZON_S3_ACCESSKEY: {{ .Values.storageprovider.config.accessKey | b64enc }} - AMAZON_S3_SECRETKEY: {{ .Values.storageprovider.config.secretKey | b64enc }} -{{- end }} - ---- -apiVersion: v1 -kind: Secret -metadata: - name: {{ .Values.backupcluster.name }}-secret - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.backupcluster) .) | nindent 4 }} -type: Opaque -data: - pswd.txt: {{ .Values.backupcluster.auth.password | b64enc }} - -{{- if .Values.aws.ecrtokenissuer.enabled }} ---- -apiVersion: v1 -kind: Secret -metadata: - name: "ecr-token-issuer-secret" - namespace: {{ $.Release.Namespace }} - labels: - helm.sh/chart: {{ printf "%s-%s" $.Chart.Name $.Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/instance: {{ $.Release.Name | quote }} - app.kubernetes.io/version: {{ $.Chart.AppVersion | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/managed-by: {{ $.Release.Service | quote }} - app.kubernetes.io/part-of: {{ $.Chart.Name | trunc 63 | trimSuffix "-" | quote }} - annotations: - "helm.sh/hook": pre-install, post-delete - "helm.sh/hook-weight": "1" - "helm.sh/hook-delete-policy": hook-succeeded -stringData: - AWS_SECRET_ACCESS_KEY: {{ .Values.aws.ecrtokenissuer.credentials.awsSecretAccessKey | quote }} - AWS_ACCESS_KEY_ID: {{ .Values.aws.ecrtokenissuer.credentials.awsAccessKeyId | quote }} - AWS_ACCOUNT: {{ .Values.aws.ecrtokenissuer.credentials.awsAccountId | quote }} -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/service.yaml b/aerospike-point-in-time-recovery/templates/service.yaml deleted file mode 100644 index 1fc80f9..0000000 --- a/aerospike-point-in-time-recovery/templates/service.yaml +++ /dev/null @@ -1,293 +0,0 @@ -{{- if .Values.authenticator.enabled }} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ .Values.authenticator.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.authenticator) .) | nindent 4 }} -spec: - selector: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.authenticator) .) | nindent 6 }} - ports: - - name: {{ .Values.authenticator.port.name }} - protocol: TCP - port: {{ .Values.authenticator.port.number }} - targetPort: {{ .Values.authenticator.port.number }} -{{- end }} - -{{- if .Values.compactor.enabled }} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ .Values.compactor.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.compactor) .) | nindent 4 }} -spec: - selector: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.compactor) .) | nindent 4 }} - ports: - - name: {{ .Values.compactor.port.name }} - protocol: TCP - port: {{ .Values.compactor.port.number }} - targetPort: {{ .Values.compactor.port.name | quote }} - {{- if .Values.compactor.serviceMonitor.enabled }} - - name: {{ .Values.compactor.serviceMonitor.port.name | quote }} - protocol: TCP - port: {{ .Values.compactor.serviceMonitor.port.number }} - targetPort: {{ .Values.compactor.serviceMonitor.port.number }} - {{- end }} -{{- end }} - -{{- if .Values.queuehandler.enabled }} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ .Values.queuehandler.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.queuehandler) .) | nindent 4 }} -spec: - selector: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.queuehandler) .) | nindent 4 }} - ports: - - name: {{ .Values.queuehandler.port.name }} - protocol: TCP - port: {{ .Values.queuehandler.port.number }} - targetPort: {{ .Values.queuehandler.port.number }} - {{- if .Values.queuehandler.serviceMonitor.enabled}} - - name: {{ .Values.queuehandler.serviceMonitor.port.name | quote }} - protocol: TCP - port: {{ .Values.queuehandler.serviceMonitor.port.number }} - targetPort: {{ .Values.queuehandler.serviceMonitor.port.number }} - {{- end }} -{{- end }} - -{{- if .Values.smdhandler.enabled }} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ .Values.smdhandler.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.smdhandler) .) | nindent 4 }} -spec: - selector: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.smdhandler) .) | nindent 4 }} - ports: - - name: {{ .Values.smdhandler.port.name }} - protocol: TCP - port: {{ .Values.smdhandler.port.number }} - targetPort: {{ .Values.smdhandler.port.number }} - {{- if .Values.smdhandler.serviceMonitor.enabled}} - - name: {{ .Values.smdhandler.serviceMonitor.port.name }} - protocol: "TCP" - port: {{.Values.smdhandler.serviceMonitor.port.number }} - targetPort: {{ .Values.smdhandler.serviceMonitor.port.number }} - {{- end }} -{{- end }} - -{{- if .Values.xdrscheduler.enabled }} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ .Values.xdrscheduler.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.xdrscheduler) .) | nindent 4 }} -spec: - selector: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.xdrscheduler) .) | nindent 4 }} - ports: - - name: {{ .Values.xdrscheduler.port.name }} - protocol: TCP - port: {{ .Values.xdrscheduler.port.number }} - targetPort: {{ .Values.xdrscheduler.port.number }} - {{- if .Values.xdrscheduler.serviceMonitor.enabled}} - - name: {{ .Values.xdrscheduler.serviceMonitor.port.name | quote }} - protocol: TCP - port: {{ .Values.xdrscheduler.serviceMonitor.port.number }} - targetPort: {{ .Values.xdrscheduler.serviceMonitor.port.number }} - {{- end }} -{{- end }} - -{{- if .Values.restbackend.enabled }} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ .Values.restbackend.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.restbackend) .) | nindent 4 }} -spec: - selector: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.restbackend) .) | nindent 6 }} - ports: - - name: {{ .Values.restbackend.port.name }} - protocol: TCP - port: {{ .Values.restbackend.port.number }} - targetPort: {{ .Values.restbackend.port.number }} -{{- end }} - -{{- if .Values.storageprovider.enabled }} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ .Values.storageprovider.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.storageprovider) .) | nindent 4 }} -spec: - selector: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.storageprovider) .) | nindent 6 }} - ports: - - name: {{ .Values.storageprovider.port.name }} - protocol: TCP - port: {{ .Values.storageprovider.port.number }} - targetPort: {{ .Values.storageprovider.port.number }} -{{- end }} - -{{- if .Values.xdrtransformer.enabled }} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ .Values.xdrtransformer.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.xdrtransformer) .) | nindent 4 }} - annotations: - service.beta.kubernetes.io/aws-load-balancer-type: nlb - service.beta.kubernetes.io/aws-load-balancer-ip-address-type: ipv4 -spec: - type: LoadBalancer - selector: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.xdrtransformer) .) | nindent 6 }} - ports: - - protocol: TCP - port: {{ .Values.xdrtransformer.config.service.port }} - targetPort: {{ .Values.xdrtransformer.config.service.port }} - name: {{.Values.xdrtransformer.config.service.name }} - - protocol: TCP - port: {{ .Values.xdrtransformer.config.service.manage.port }} - targetPort: {{ .Values.xdrtransformer.config.service.manage.port }} - name: {{.Values.xdrtransformer.config.service.manage.name }} -{{- end }} - -{{- if .Values.minio.enabled }} ---- -kind: Service -apiVersion: "v1" -metadata: - name: {{ .Values.minio.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.minio) .) | nindent 6 }} -spec: - clusterIP: "None" - ports: - - name: {{.Values.minio.address.name }} - protocol: "TCP" - port: {{ .Values.minio.address.port }} - targetPort: {{ .Values.minio.address.port }} - nodePort: 0 - selector: { } -{{- end }} - -{{- if .Values.backupcluster.address.ip }} ---- -kind: Service -apiVersion: "v1" -metadata: - name: {{ .Values.backupcluster.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.backupcluster) .) | nindent 4 }} -spec: - clusterIP: "None" - ports: - - name: {{ .Values.backupcluster.address.port.name }} - protocol: "TCP" - port: {{ .Values.backupcluster.address.port.number }} - targetPort: {{ .Values.backupcluster.address.port.number }} - nodePort: 0 - selector: { } -{{- end}} - -{{- if .Values.backupcluster.address.dnsname }} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ .Values.backupcluster.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.backupcluster) .) | nindent 4 }} -spec: - type: ExternalName - externalName: {{ .Values.backupcluster.address.dnsname | quote }} - ports: - - name: {{ .Values.backupcluster.address.port.name }} - port: {{ .Values.backupcluster.address.port.number }} -{{- end }} - - -{{- range $index, $ip := .Values.sourceclusters.addresses.ips -}} -{{ $name :=(printf "%s-%d" $.Values.sourceclusters.nameprefix $index) }} ---- -kind: Service -apiVersion: "v1" -metadata: - name: {{ $name | quote }} - namespace: {{ $.Release.Namespace }} - labels: - helm.sh/chart: {{ printf "%s-%s" $.Chart.Name $.Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/name: {{ $name | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/instance: {{ $.Release.Name | quote }} - app.kubernetes.io/version: {{ default $.Chart.AppVersion $.Values.image.tag | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/managed-by: {{ $.Release.Service | quote }} - app.kubernetes.io/part-of: {{ $.Chart.Name | trunc 63 | trimSuffix "-" | quote }} -spec: - clusterIP: "None" - ports: - - name: {{ $.Values.sourceclusters.port.name | quote }} - protocol: "TCP" - port: {{ $.Values.sourceclusters.port.number }} - targetPort: {{ $.Values.sourceclusters.port.number }} - nodePort: 0 - selector: { } -{{- end }} - - -{{- range $index, $dnsname := .Values.sourceclusters.addresses.dnsnames }} -{{ $name :=(printf "%s-%d" $.Values.sourceclusters.nameprefix $index) }} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ $name | quote }} - namespace: {{ $.Release.Namespace }} - labels: - helm.sh/chart: {{ printf "%s-%s" $.Chart.Name $.Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/name: {{ $name | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/instance: {{ $.Release.Name | quote }} - app.kubernetes.io/version: {{ default $.Chart.AppVersion $.Values.image.tag | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/managed-by: {{ $.Release.Service | quote }} - app.kubernetes.io/part-of: {{ $.Chart.Name | trunc 63 | trimSuffix "-" | quote }} -spec: - type: ExternalName - externalName: {{ $dnsname | quote }} - ports: - - name: {{ $.Values.sourceclusters.port.name }} - port: {{ $.Values.sourceclusters.port.number }} -{{- end }} - - diff --git a/aerospike-point-in-time-recovery/templates/serviceaccount.yaml b/aerospike-point-in-time-recovery/templates/serviceaccount.yaml deleted file mode 100644 index 4dda903..0000000 --- a/aerospike-point-in-time-recovery/templates/serviceaccount.yaml +++ /dev/null @@ -1,28 +0,0 @@ -{{- if .Values.restbackend.enabled }} -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ .Values.restbackend.name }}-serviceaccount - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.restbackend) .) | nindent 4 }} -{{- end }} - -{{- if .Values.aws.ecrtokenissuer.enabled }} ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ .Values.aws.ecrtokenissuer.issuer.name }}-serviceaccount - namespace: {{ $.Release.Namespace }} - annotations: - "helm.sh/hook": pre-install, post-delete - "helm.sh/hook-weight": "1" - "helm.sh/hook-delete-policy": hook-succeeded - labels: - helm.sh/chart: {{ printf "%s-%s" $.Chart.Name $.Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/instance: {{ $.Release.Name | quote }} - app.kubernetes.io/version: {{ default $.Chart.AppVersion | trunc 63 | trimSuffix "-" | quote }} - app.kubernetes.io/managed-by: {{ $.Release.Service | quote }} - app.kubernetes.io/part-of: {{ $.Chart.Name | trunc 63 | trimSuffix "-" | quote }} -{{- end }} diff --git a/aerospike-point-in-time-recovery/templates/servicemonitor.yaml b/aerospike-point-in-time-recovery/templates/servicemonitor.yaml deleted file mode 100644 index c283659..0000000 --- a/aerospike-point-in-time-recovery/templates/servicemonitor.yaml +++ /dev/null @@ -1,163 +0,0 @@ -{{- if and .Values.prometheus.enable .Values.authenticator.serviceMonitor.enabled }} ---- -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: {{ .Values.authenticator.name }}-service-monitor - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.authenticator) .) | nindent 4 }} -spec: - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.authenticator) .) | nindent 6 }} - endpoints: - - port: {{ .Values.authenticator.port.name | quote }} - interval: {{ .Values.prometheus.interval }} - path: "/actuator/prometheus" -{{- end }} - -{{- if and .Values.prometheus.enable .Values.compactor.serviceMonitor.enabled }} ---- -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: {{ .Values.compactor.name }}-service-monitor - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.compactor) .) | nindent 4 }} -spec: - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.compactor) .) | nindent 6 }} - endpoints: - - port: {{ .Values.compactor.port.name | quote }} - interval: {{ .Values.prometheus.interval }} - path: "/prometheus" - - port: {{ .Values.compactor.serviceMonitor.port.name | quote }} - interval: {{ .Values.prometheus.interval }} - path: "/metrics" -{{- end }} - -{{- if and .Values.prometheus.enable .Values.queuehandler.serviceMonitor.enabled }} ---- -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: {{ .Values.queuehandler.name }}-service-monitor - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.queuehandler) .) | nindent 4 }} -spec: - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.queuehandler) .) | nindent 6 }} - endpoints: - - port: {{ .Values.queuehandler.port.name | quote }} - interval: {{ .Values.prometheus.interval }} - path: "/prometheus" - - port: {{ .Values.queuehandler.serviceMonitor.port.name | quote }} - interval: {{ .Values.prometheus.interval }} - path: "/metrics" -{{- end }} - -{{- if and .Values.prometheus.enable .Values.smdhandler.serviceMonitor.enabled }} ---- -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: {{ .Values.smdhandler.name }}-service-monitor - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.smdhandler) .) | nindent 4 }} -spec: - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.smdhandler) .) | nindent 6 }} - endpoints: - - port: {{ .Values.smdhandler.port.name | quote }} - interval: {{ .Values.prometheus.interval }} - path: "/prometheus" - - port: {{ .Values.smdhandler.serviceMonitor.port.name | quote }} - interval: {{ .Values.prometheus.interval }} - path: "/metrics" -{{- end }} - -{{- if and .Values.prometheus.enable .Values.xdrscheduler.serviceMonitor.enabled }} ---- -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: {{ .Values.xdrscheduler.name }}-service-monitor - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.xdrscheduler) .) | nindent 4 }} -spec: - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.xdrscheduler) .) | nindent 6 }} - endpoints: - - port: {{ .Values.xdrscheduler.port.name | quote }} - interval: {{ .Values.prometheus.interval }} - path: "/prometheus" - - port: {{ .Values.xdrscheduler.serviceMonitor.port.name | quote }} - interval: {{ .Values.prometheus.interval }} - path: "/metrics" -{{- end }} - -{{- if and .Values.prometheus.enable .Values.restbackend.serviceMonitor.enabled }} ---- -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: {{ .Values.restbackend.name }}-service-monitor - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.restbackend) .) | nindent 4 }} -spec: - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.restbackend) .) | nindent 6 }} - endpoints: - - port: {{ .Values.restbackend.port.name | quote }} - interval: {{ .Values.prometheus.interval }} - path: "/actuator/prometheus" -{{- end }} - -{{- if and .Values.prometheus.enable .Values.storageprovider.serviceMonitor.enabled }} ---- -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: {{ .Values.storageprovider.name }}-service-monitor - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.storageprovider) .) | nindent 4 }} -spec: - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.storageprovider) .) | nindent 6 }} - endpoints: - - port: {{ .Values.storageprovider.port.name | quote }} - interval: {{ .Values.prometheus.interval }} - path: "/actuator/prometheus" -{{- end }} - -{{- if and .Values.prometheus.enable .Values.xdrtransformer.serviceMonitor.enabled }} ---- -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: {{ .Values.xdrtransformer.name }}-service-monitor - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.xdrtransformer) .) | nindent 4 }} -spec: - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.xdrtransformer) .) | nindent 6 }} - endpoints: - - port: {{ .Values.xdrtransformer.config.service.manage.name | quote }} - interval: {{ .Values.prometheus.interval }} - path: "/manage/rest/v1/prometheus" -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/smd-handler.yaml b/aerospike-point-in-time-recovery/templates/smd-handler.yaml deleted file mode 100644 index 2c35411..0000000 --- a/aerospike-point-in-time-recovery/templates/smd-handler.yaml +++ /dev/null @@ -1,79 +0,0 @@ -{{- if .Values.smdhandler.enabled }} ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Values.smdhandler.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.smdhandler) .) | nindent 4 }} -spec: - replicas: {{ default .Values.replicas .Values.smdhandler.replicas }} - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.smdhandler) .) | nindent 6 }} - template: - metadata: - {{- with .Values.annotations }} - annotations: - {{- toYaml (merge $.Values.smdhandler.annotations .) | nindent 8 }} - {{- end }} - labels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.smdhandler) .) | nindent 8 }} - {{- with .Values.smdhandler.labels }} - {{- . | toYaml | nindent 8}} - {{- end }} - spec: - {{- include "imagePullSecrets" . | nindent 6}} - volumes: - - name: "configmap-volume" - configMap: - name: {{ .Values.smdhandler.name }}-configmap - initContainers: - {{- include "initContainer.wait.rest-backend" . | nindent 10 }} - {{- include "initContainer.wait.authenticator" . | nindent 10 }} - {{- include "initContainer.wait.storage-provider" . | nindent 10 }} - containers: - - name: {{ .Values.smdhandler.name}} - image: {{ include "get-image" (merge (dict "component" .Values.smdhandler) .) }} - imagePullPolicy: {{ default .Values.image.pullPolicy .Values.smdhandler.image.pullPolicy }} - resources: - requests: - {{- default .Values.resources .Values.smdhandler.resources | toYaml | nindent 12 }} - volumeMounts: - - mountPath: /etc/config - name: "configmap-volume" - ports: - - name: {{ .Values.smdhandler.port.name }} - containerPort: {{ .Values.smdhandler.port.number }} - protocol: TCP - {{- if .Values.smdhandler.serviceMonitor.enabled}} - - name: {{ .Values.smdhandler.serviceMonitor.port.name }} - protocol: TCP - containerPort: {{ .Values.smdhandler.serviceMonitor.port.number }} - {{- end }} - livenessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /health - port: {{ .Values.smdhandler.port.number }} - readinessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /health - port: {{ .Values.smdhandler.port.number }} - {{- with .Values.smdhandler.affinity }} - affinity: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{- with .Values.smdhandler.nodeSelector }} - nodeSelector: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{- with .Values.smdhandler.tolerations }} - tolerations: - {{- . | nindent 8 }} - {{- end }} -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/storage-provider.yaml b/aerospike-point-in-time-recovery/templates/storage-provider.yaml deleted file mode 100644 index cd4853b..0000000 --- a/aerospike-point-in-time-recovery/templates/storage-provider.yaml +++ /dev/null @@ -1,71 +0,0 @@ -{{- if .Values.storageprovider.enabled }} -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Values.storageprovider.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.storageprovider) .) | nindent 4 }} -spec: - replicas: {{ default .Values.replicas .Values.storageprovider.replicas }} - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.storageprovider) .) | nindent 6 }} - template: - metadata: - {{- with .Values.annotations }} - annotations: - {{- toYaml (merge $.Values.storageprovider.annotations .) | nindent 8 }} - {{- end }} - labels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.storageprovider) .) | nindent 8 }} - {{- with .Values.storageprovider.labels }} - {{- . | toYaml | nindent 8}} - {{- end }} - spec: - {{- include "imagePullSecrets" . | nindent 6 }} - {{- if (lookup "v1" "ServiceAccount" $.Release.Namespace .Values.storageprovider.name) }} - serviceAccountName: {{ .Values.storageprovider.name }} - {{- end }} - initContainers: - {{- include "initContainer.wait.authenticator" . | nindent 10 }} - containers: - - name: {{ .Values.storageprovider.name }} - image: {{ include "get-image" (merge (dict "component" .Values.storageprovider) .) }} - imagePullPolicy: {{ default .Values.image.pullPolicy .Values.storageprovider.image.pullPolicy }} - resources: - requests: - {{- default .Values.resources .Values.storageprovider.resources | toYaml | nindent 12 }} - ports: - - name: {{ .Values.storageprovider.port.name }} - containerPort: {{ .Values.storageprovider.port.number }} - protocol: TCP - envFrom: - - configMapRef: - name: {{ .Values.storageprovider.name }}-configmap - - secretRef: - optional: true - name: {{ .Values.storageprovider.name }}-secret - livenessProbe: - initialDelaySeconds: 15 - httpGet: - path: /health - port: {{ .Values.storageprovider.port.number }} - readinessProbe: - initialDelaySeconds: 15 - httpGet: - path: /health - port: {{ .Values.storageprovider.port.number }} - {{- with .Values.storageprovider.affinity }} - affinity: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{- with .Values.storageprovider.nodeSelector }} - nodeSelector: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{- with .Values.storageprovider.tolerations }} - tolerations: - {{- . | nindent 8 }} - {{- end }} -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/tests/test-connection.yaml b/aerospike-point-in-time-recovery/templates/tests/test-connection.yaml deleted file mode 100644 index f86ec4e..0000000 --- a/aerospike-point-in-time-recovery/templates/tests/test-connection.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: "{{ include "aerospike-enterprise-backup.fullname" . }}-test-connection" - labels: - {{- include "aerospike-enterprise-backup.labels" . | nindent 4 }} - annotations: - "helm.sh/hook": test -spec: - containers: - - name: wget - image: busybox - command: ['wget'] - args: ['{{ include "aerospike-enterprise-backup.fullname" . }}:{{ .Values.service.port }}'] - restartPolicy: Never diff --git a/aerospike-point-in-time-recovery/templates/xdr-scheduler.yaml b/aerospike-point-in-time-recovery/templates/xdr-scheduler.yaml deleted file mode 100644 index 1873ae8..0000000 --- a/aerospike-point-in-time-recovery/templates/xdr-scheduler.yaml +++ /dev/null @@ -1,78 +0,0 @@ -{{- if .Values.xdrscheduler.enabled }} ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Values.xdrscheduler.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.xdrscheduler) .) | nindent 4 }} -spec: - replicas: {{ default .Values.replicas .Values.xdrscheduler.replicas }} - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.xdrscheduler) .) | nindent 6 }} - template: - metadata: - {{- with .Values.annotations }} - annotations: - {{- toYaml (merge $.Values.xdrscheduler.annotations .) | nindent 8 }} - {{- end }} - labels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.xdrscheduler) .) | nindent 8 }} - {{- with .Values.xdrscheduler.labels }} - {{- . | toYaml | nindent 8}} - {{- end }} - spec: - {{- include "imagePullSecrets" . | nindent 6}} - volumes: - - name: "configmap-volume" - configMap: - name: {{ .Values.xdrscheduler.name }}-configmap - initContainers: - {{- include "initContainer.wait.rest-backend" . | nindent 10 }} - {{- include "initContainer.wait.authenticator" . | nindent 10 }} - {{- include "initContainer.wait.storage-provider" . | nindent 10 }} - containers: - - name: {{ .Values.xdrscheduler.name}} - image: {{ include "get-image" (merge (dict "component" .Values.xdrscheduler) .) }} - imagePullPolicy: {{ default .Values.image.pullPolicy .Values.xdrscheduler.image.pullPolicy }} - resources: - {{- default .Values.resources .Values.xdrscheduler.resources | toYaml | nindent 12 }} - volumeMounts: - - mountPath: /etc/config - name: "configmap-volume" - ports: - - name: {{ .Values.xdrscheduler.port.name }} - containerPort: {{ .Values.xdrscheduler.port.number }} - protocol: TCP - {{- if .Values.xdrscheduler.serviceMonitor.enabled }} - - name: {{ .Values.xdrscheduler.serviceMonitor.port.name }} - containerPort: {{ .Values.xdrscheduler.serviceMonitor.port.number }} - protocol: TCP - {{- end }} - livenessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /health - port: {{ .Values.xdrscheduler.port.number }} - readinessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /health - port: {{ .Values.xdrscheduler.port.number }} - {{- with .Values.xdrscheduler.affinity }} - affinity: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{- with .Values.xdrscheduler.nodeSelector }} - nodeSelector: - {{- . | toYaml | nindent 8 }} - {{- end }} - {{- with .Values.xdrscheduler.tolerations }} - tolerations: - {{- . | nindent 8 }} - {{- end }} -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/templates/xdr-transformer.yaml b/aerospike-point-in-time-recovery/templates/xdr-transformer.yaml deleted file mode 100644 index 31f26c3..0000000 --- a/aerospike-point-in-time-recovery/templates/xdr-transformer.yaml +++ /dev/null @@ -1,68 +0,0 @@ -{{- if .Values.xdrtransformer.enabled }} ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ .Values.xdrtransformer.name }} - namespace: {{ $.Release.Namespace }} - labels: - {{- include "aerospike-enterprise-backup.labels" (merge (dict "component" .Values.xdrtransformer) .) | nindent 4 }} -spec: - replicas: {{ default .Values.replicas .Values.xdrtransformer.replicas }} - selector: - matchLabels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.xdrtransformer) .) | nindent 6 }} - template: - metadata: - {{- with .Values.annotations }} - annotations: - {{- toYaml (merge $.Values.xdrtransformer.annotations .) | nindent 8 }} - {{- end }} - labels: - {{- include "aerospike-enterprise-backup.selectorLabels" (merge (dict "component" .Values.xdrtransformer) .) | nindent 8 }} - {{- with .Values.xdrtransformer.labels }} - {{- . | toYaml | nindent 8}} - {{- end }} - spec: - {{- include "imagePullSecrets" . | nindent 6}} - volumes: - - name: "configmap-volume" - configMap: - name: {{ .Values.xdrtransformer.name }}-configmap - - name: "mysecret" - secret: - secretName: {{ .Values.backupcluster.name }}-secret - containers: - - name: {{ .Values.xdrtransformer.name }} - image: {{ include "get-image" (merge (dict "component" .Values.xdrtransformer) .) }} - imagePullPolicy: {{ default .Values.image.pullPolicy .Values.xdrtransformer.image.pullPolicy }} - resources: - requests: - {{- default .Values.resources .Values.xdrtransformer.resources | toYaml | nindent 12 }} - securityContext: - runAsUser: 0 - volumeMounts: - - mountPath: "/etc/aerospike-xdr-proxy" - name: "configmap-volume" - - mountPath: "/etc/config" - name: "mysecret" - ports: - - name: {{ .Values.xdrtransformer.config.service.name | quote }} - containerPort: {{ .Values.xdrtransformer.config.service.port }} - protocol: TCP - - name: {{ .Values.xdrtransformer.config.service.manage.name | quote }} - protocol: TCP - containerPort: {{ .Values.xdrtransformer.config.service.manage.port }} - livenessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /manage/rest/v1/logging - port: {{ .Values.xdrtransformer.config.service.manage.port }} - readinessProbe: - initialDelaySeconds: 15 - periodSeconds: 10 - httpGet: - path: /manage/rest/v1/logging - port: {{ .Values.xdrtransformer.config.service.manage.port }} -{{- end }} \ No newline at end of file diff --git a/aerospike-point-in-time-recovery/values.yaml b/aerospike-point-in-time-recovery/values.yaml deleted file mode 100644 index 445e774..0000000 --- a/aerospike-point-in-time-recovery/values.yaml +++ /dev/null @@ -1,469 +0,0 @@ -replicas: 1 -image: - repository: "" - pullPolicy: "Always" - tag: "latest" -annotations: - "co.elastic.logs/enabled": "true" -labels: { } -nodeSelector: { } -tolerations: [ ] -affinity: { } -autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 -nameOverride: "" -fullnameOverride: "" -resources: { } - -aws: - ecrtokenissuer: - enabled: false - issuer: - name: "ecr-token-issuer" - secretname: "regcred" - credentials: - awsAccountId: "271036156099" - awsRegion: "eu-central-1" - awsAccessKeyId: "" - awsSecretAccessKey: "" - -sourceclusters: - nameprefix: "source-cluster" - addresses: - ips: [ ] - dnsnames: [ ] - port: - name: "source-port" - number: 3000 - auth: - username: "" - password: "" - -backupcluster: - name: "backup-cluster" - address: - ip: "" - port: - name: "backup-port" - number: 3000 - dnsname: "" - auth: - username: "" - password: "" - -authenticator: - enabled: true - name: "authenticator" - image: - repository: "aerospike/aerospike-pitr-authenticator" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8080 - serviceMonitor: - enabled: true - port: - name: "metrics" - number: 8080 - resources: - requests: - cpu: 2 - # memory: "" - limits: - cpu: 2 - # memory: "" - replicas: 1 - autoscaling: - enabled: true - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - auth: - enabled: false - username: "pitr" - password: "pitrpwd" - -compactor: - enabled: true - name: "compactor" - image: - repository: "aerospike/aerospike-pitr-compactor" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8080 - serviceMonitor: - enabled: true - port: - name: "metrics" - number: 8088 - resources: - requests: - cpu: 2 - # memory: "" - limits: - cpu: 2 - # memory: "" - replicas: 1 - autoscaling: - enabled: true - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - host: "0.0.0.0" - auth: - enabled: false - tokenRefreshSeconds: 82800 - username: "pitr-compactor" - password: "pitr-compactor-pwd" - backendTimeoutMs: 1000 - retryIntervalMs: 1000 - compactIntervalSeconds: 86400 - smdCompactIntervalSeconds: 82800 - deleteOldRecordsIntervalSeconds: 90000 - meterRegistryStepSeconds: 10 - circuitBreakerConfiguration: - slidingWindowSize: 20 - minimumNumberOfCalls: 8 - slowCallDurationThreshold: 10 - permittedNumberOfCallsInHalfOpenState: 4 - automaticTransitionFromOpenToHalfOpenEnabled: true - waitDurationInOpenState: 5 - -queuehandler: - enabled: true - name: "queue-handler" - image: - repository: "aerospike/aerospike-pitr-queue-handler" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8080 - serviceMonitor: - enabled: true - port: - name: "metrics" - number: 8088 - resources: - requests: - cpu: 4 - # memory: "" - limits: - cpu: 4 - # memory: "" - replicas: 2 - autoscaling: - enabled: true - minReplicas: 2 - maxReplicas: 2 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - host: "0.0.0.0" - auth: - enabled: false - tokenRefreshSeconds: 82800 - username: "pitr-queue-handler" - password: "pitr-queue-handler-pwd" - backendTimeoutMs: 2000 - backendQueueProcessingTimeoutMs: 5000 - queueBatchSize: 100 - queueBatchDurationLimitMs: 2000 - queuePullingIntervalMs: 1000 - zombieRecoverIntervalMs: 60000 - recordRecoverThresholdMs: 600000 - retryIntervalMs: 1000 - meterRegistryStepSeconds: 10 - refreshQueueDetailsCacheSeconds: 5 - processingExecutorSize: 32 - circuitBreakerConfiguration: - slidingWindowSize: 20 - minimumNumberOfCalls: 8 - slowCallDurationThreshold: 10 - permittedNumberOfCallsInHalfOpenState: 4 - automaticTransitionFromOpenToHalfOpenEnabled: true - waitDurationInOpenState: 5 - -smdhandler: - enabled: true - name: "smd-handler" - image: - repository: "aerospike/aerospike-pitr-smd-handler" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8080 - serviceMonitor: - enabled: true - port: - name: "metrics" - number: 8088 - resources: - requests: - cpu: 2 - # memory: "" - limits: - cpu: 2 - # memory: "" - replicas: 1 - autoscaling: - enabled: true - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - host: "0.0.0.0" - auth: - enabled: false - tokenRefreshSeconds: 82800 - username: "pitr-smd-handler" - password: "pitr-smd-handler-pwd" - backendTimeoutMs: 1000 - backupIntervalSeconds: 900 - retryIntervalMs: 1000 - meterRegistryStepSeconds: 10 - circuitBreakerConfiguration: - slidingWindowSize: 20 - minimumNumberOfCalls: 8 - slowCallDurationThreshold: 10 - permittedNumberOfCallsInHalfOpenState: 4 - automaticTransitionFromOpenToHalfOpenEnabled: true - waitDurationInOpenState: 5 - -xdrscheduler: - enabled: true - name: "xdr-scheduler" - image: - repository: "aerospike/aerospike-pitr-xdr-scheduler" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8080 - serviceMonitor: - enabled: true - port: - name: "metrics" - number: 8088 - resources: - requests: - cpu: 2 - # memory: "" - limits: - cpu: 2 - # memory: "" - replicas: 1 - autoscaling: - enabled: true - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - host: "0.0.0.0" - auth: - enabled: false - tokenRefreshSeconds: 82800 - username: "pitr-xdr-scheduler" - password: "pitr-xdr-scheduler-pwd" - backendTimeoutMs: 2000 - xdrSchedulerIntervalMs: 10000 - xdrSchedulerCheckLagIntervalMs: 5000 - retryIntervalMs: 1000 - meterRegistryStepSeconds: 10 - circuitBreakerConfiguration: - slidingWindowSize: 20 - minimumNumberOfCalls: 8 - slowCallDurationThreshold: 10 - permittedNumberOfCallsInHalfOpenState: 4 - automaticTransitionFromOpenToHalfOpenEnabled: true - waitDurationInOpenState: 5 - -restbackend: - enabled: true - name: "rest-backend" - image: - repository: "aerospike/aerospike-pitr-rest-backend" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8080 - serviceMonitor: - enabled: true - port: - name: "metrics" - number: 8080 - resources: - requests: - cpu: 4 - # memory: "" - limits: - cpu: 4 - # memory: "" - replicas: 2 - autoscaling: - enabled: true - minReplicas: 2 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - auth: - enabled: false - username: "pitr" - password: "pitrpwd" - backupMaxCommandsInProcess: 32 - backupMaxCommandsInQueue: 10000 - restBackendClientPolicyMaxConnsPerNode: 500 - backupCatalogNamespace: "catalog" - meterRegistryStepSeconds: 10 - backgroundJobBatchSize: 100 - backgroundJobParallelism: 4 - -storageprovider: - enabled: true - name: "storage-provider" - image: - repository: "aerospike/aerospike-pitr-storage-provider" - tag: "" - pullPolicy: "" - port: - name: "web" - number: 8081 - serviceMonitor: - enabled: true - port: - name: "metrics" - number: 8081 - resources: - requests: - cpu: 4 - # memory: "" - limits: - cpu: 4 - # memory: "" - replicas: 2 - autoscaling: - enabled: true - minReplicas: 2 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - auth: - enabled: false - accessKey: "" - secretKey: "" - bucketname: "" - -xdrtransformer: - enabled: true - name: "xdr-transformer" - image: - repository: "aerospike/aerospike-pitr-xdr-transformer" - tag: "" - pullPolicy: "" - resources: - requests: - cpu: 4 - # memory: "" - limits: - cpu: 4 - # memory: "" - replicas: 2 - serviceMonitor: - enabled: true - autoscaling: - enabled: true - minReplicas: 2 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - labels: { } - annotations: { } - nodeSelector: { } - affinity: { } - tolerations: [ ] - config: - service: - name: "xdr-service" - port: 8082 - address: 0.0.0.0 - ioThreads: 4 - workerThreads: 4 - maxConcurrentRecords: 32768 - clusterName: pitr - manage: - name: "xdr-manage" - address: 0.0.0.0 - port: 8902 - logging: - enableConsoleLogging: true - file: /var/log/aerospike-xdr-proxy/aerospike-xdr-proxy.log - tickerInterval: 1 - -minio: - enabled: false - name: "minio" - address: - name: "minio-port" - ip: "" - port: 9000 - -ingress: - enable: true - ingressClassName: "nginx" - -prometheus: - enable: true - interval: 10s -