From 5651ce49efe937d7194eb69e58f5ba2d70931f70 Mon Sep 17 00:00:00 2001 From: Alex Chapellon Date: Fri, 12 Apr 2024 17:29:55 +0200 Subject: [PATCH] OPSEXP-2529: add resources default for activiti charts (#271) --- charts/alfresco-activiti-admin/Chart.yaml | 2 +- charts/alfresco-activiti-admin/README.md | 6 +++++- charts/alfresco-activiti-admin/values.yaml | 7 +++++++ charts/alfresco-activiti/Chart.yaml | 2 +- charts/alfresco-activiti/README.md | 6 +++++- charts/alfresco-activiti/values.yaml | 8 +++++++- 6 files changed, 26 insertions(+), 5 deletions(-) diff --git a/charts/alfresco-activiti-admin/Chart.yaml b/charts/alfresco-activiti-admin/Chart.yaml index 0db67670..a54e7d48 100644 --- a/charts/alfresco-activiti-admin/Chart.yaml +++ b/charts/alfresco-activiti-admin/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A Helm chart for Alfresco Activiti name: alfresco-activiti-admin -version: 0.1.0-alpha.3 +version: 0.1.0-alpha.4 appVersion: 24.1.0 dependencies: - name: alfresco-common diff --git a/charts/alfresco-activiti-admin/README.md b/charts/alfresco-activiti-admin/README.md index ad7664a7..7335a96f 100644 --- a/charts/alfresco-activiti-admin/README.md +++ b/charts/alfresco-activiti-admin/README.md @@ -1,6 +1,6 @@ # alfresco-activiti-admin -![Version: 0.1.0-alpha.3](https://img.shields.io/badge/Version-0.1.0--alpha.3-informational?style=flat-square) ![AppVersion: 24.1.0](https://img.shields.io/badge/AppVersion-24.1.0-informational?style=flat-square) +![Version: 0.1.0-alpha.4](https://img.shields.io/badge/Version-0.1.0--alpha.4-informational?style=flat-square) ![AppVersion: 24.1.0](https://img.shields.io/badge/AppVersion-24.1.0-informational?style=flat-square) A Helm chart for Alfresco Activiti @@ -57,6 +57,10 @@ A Helm chart for Alfresco Activiti | readinessProbe.path | string | `"/activiti-admin/"` | | | readinessProbe.periodSeconds | int | `10` | | | readinessProbe.timeoutSeconds | int | `5` | | +| resources.limits.cpu | string | `"1000m"` | | +| resources.limits.memory | string | `"2Gi"` | | +| resources.requests.cpu | string | `"250m"` | | +| resources.requests.memory | string | `"512Mi"` | | | service.externalPort | int | `80` | | | service.name | string | `"activiti-admin"` | | | service.type | string | `"ClusterIP"` | | diff --git a/charts/alfresco-activiti-admin/values.yaml b/charts/alfresco-activiti-admin/values.yaml index 2c145799..7ca69c11 100644 --- a/charts/alfresco-activiti-admin/values.yaml +++ b/charts/alfresco-activiti-admin/values.yaml @@ -41,6 +41,13 @@ ingress: # - secretName: chart-example-tls # hosts: # - chart-example.local +resources: + limits: + cpu: 1000m + memory: 2Gi + requests: + cpu: 250m + memory: 512Mi # -- Name of a pre-existing configmap to load env vars from (overrides .environment values) envFromExistingConfigMap: null environment: diff --git a/charts/alfresco-activiti/Chart.yaml b/charts/alfresco-activiti/Chart.yaml index 7b871f8d..31d3708d 100644 --- a/charts/alfresco-activiti/Chart.yaml +++ b/charts/alfresco-activiti/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: A Helm chart for Alfresco Activiti name: alfresco-activiti -version: 0.1.0-alpha.2 +version: 0.1.0-alpha.3 appVersion: 24.1.0 dependencies: - name: alfresco-common diff --git a/charts/alfresco-activiti/README.md b/charts/alfresco-activiti/README.md index 61baf0ab..c50bba6c 100644 --- a/charts/alfresco-activiti/README.md +++ b/charts/alfresco-activiti/README.md @@ -1,6 +1,6 @@ # alfresco-activiti -![Version: 0.1.0-alpha.2](https://img.shields.io/badge/Version-0.1.0--alpha.2-informational?style=flat-square) ![AppVersion: 24.1.0](https://img.shields.io/badge/AppVersion-24.1.0-informational?style=flat-square) +![Version: 0.1.0-alpha.3](https://img.shields.io/badge/Version-0.1.0--alpha.3-informational?style=flat-square) ![AppVersion: 24.1.0](https://img.shields.io/badge/AppVersion-24.1.0-informational?style=flat-square) A Helm chart for Alfresco Activiti @@ -81,6 +81,10 @@ A Helm chart for Alfresco Activiti | readinessProbe.periodSeconds | int | `10` | | | readinessProbe.timeoutSeconds | int | `5` | | | replicaCount | int | `1` | | +| resources.limits.cpu | string | `"4000m"` | | +| resources.limits.memory | string | `"8Gi"` | | +| resources.requests.cpu | string | `"500m"` | | +| resources.requests.memory | string | `"1Gi"` | | | service.externalPort | int | `80` | | | service.name | string | `"aps"` | | | service.type | string | `"ClusterIP"` | | diff --git a/charts/alfresco-activiti/values.yaml b/charts/alfresco-activiti/values.yaml index 1a158cb7..0411630b 100644 --- a/charts/alfresco-activiti/values.yaml +++ b/charts/alfresco-activiti/values.yaml @@ -37,7 +37,13 @@ ingress: # - secretName: chart-example-tls # hosts: # - chart-example.local - +resources: + limits: + cpu: 4000m + memory: 8Gi + requests: + cpu: 500m + memory: 1Gi persistence: # -- Persist Alfresco Process data enabled: false