From c24973a031b62bb3b134da24748bd7c15d1f87b2 Mon Sep 17 00:00:00 2001 From: thr Date: Thu, 5 Sep 2024 17:06:26 +0200 Subject: [PATCH] topologySpreadConstraints support added and updating helm/README.me from values.yaml --- apigateway/helm/README.md | 5 ++++- developerportal/helm/README.md | 5 +++-- microservicesruntime/helm/README.md | 3 ++- mywebmethodsserver/helm/README.md | 3 ++- universalmessaging/helm/README.md | 3 ++- 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/apigateway/helm/README.md b/apigateway/helm/README.md index bc8db5b..2d175f8 100644 --- a/apigateway/helm/README.md +++ b/apigateway/helm/README.md @@ -168,7 +168,7 @@ Sub-folder `examples` contains some *values* examples for more use-cases. To use | `1.2.5` | Added possibility to read metering truststore password by secretKeyRef.
Added custom logging configuration for Kibana. | | `1.2.6` | Fixed commons dependency to enable metering change from 1.2.5. | | `1.2.7` | Added possibility to rename roleBinding for API Gateway, Kibana and Elasticsearch. This allows for multiple deployments into the same namespace. Also, CRD ServiceMonitor selector corrected. Support of ES storage PVC annotations. | -| `1.2.8` | `tpl` function support in `affinity` value added. `affinity` support added for Kibana and Elasticsearch. | +| `1.2.8` | `tpl` function support in `affinity` value added. `affinity` support added for Kibana and Elasticsearch. `topologySpreadConstraints` support added for APIGW, Elasticsearch and Kibana. | ## Values @@ -238,6 +238,7 @@ Sub-folder `examples` contains some *values* examples for more use-cases. To use | elasticsearch.storageClassName | string | `""` | Use the storage class. | | elasticsearch.tlsEnabled | bool | `false` | Whether the communication from APIGW and Kibana should be HTTPS Note: you will need to create certificate and a separate truststore for the communication. | | elasticsearch.tlsSecretName | string | `""` | The name of the elasticsearch secret. By default it will created by the fullname + "-es-tls-secret" if tlsEnabled is set to true. | +| elasticsearch.topologySpreadConstraints | object | `{}` | Set Pod topology spread constraints for ElasticSearch. You can use templates inside because `tpl` function is called for rendering. | | elasticsearch.version | string | `"8.2.3"` | The ECK version to be used | | extraConfigMaps | list | `[]` | Extra config maps for additional configurations such as extra ports, etc. | | extraContainers | list | `[]` | Extra containers which should run in addition to the main container as a sidecar - name: do-something image: busybox command: ['do', 'something'] | @@ -352,6 +353,7 @@ Sub-folder `examples` contains some *values* examples for more use-cases. To use | kibana.tls.trustStoreName | string | `""` | File name of the p12 truststore for Kibana | | kibana.tls.truststorePasswordSecret | string | `""` | Name of the k8s secret containing the password for above p12 truststore in key 'password' | | kibana.tls.verificationMode | string | `"certificate"` | TLS verification mode. Either 'none', 'certificate' or 'full'. Full includes hostname verification (service name must be in alt dns for it to work). | +| kibana.topologySpreadConstraints | object | `{}` | Set Pod topology spread constraints for Kibana. You can use templates inside because `tpl` function is called for rendering. | | kibana.version | string | `"8.2.3"` | The ECK version to be used | | license | string | `""` | Import the content as license key and create a ConfigMap named by `licenseConfigMap` value. You can copy/past the content of your provided license key file here. | | licenseConfigKey | string | `""` | | @@ -404,3 +406,4 @@ Sub-folder `examples` contains some *values* examples for more use-cases. To use | serviceMonitor.enabled | bool | `false` | Create and enable CRD ServiceMonitor. The default is `false`. | | serviceMonitor.serviceName | string | `""` | Set the monitored service which is connected by ServiceMonitor. Default (if not set) is the `rt` runtime service. | | tolerations | list | `[]` | | +| topologySpreadConstraints | object | `{}` | Set Pod topology spread constraints for APIGW. You can use templates inside because `tpl` function is called for rendering. | diff --git a/developerportal/helm/README.md b/developerportal/helm/README.md index 8627bb6..99be637 100644 --- a/developerportal/helm/README.md +++ b/developerportal/helm/README.md @@ -47,13 +47,13 @@ helm install webmethods/developerportal devportal |-----|------| | `1.0.0` | Initial release | | `1.0.1` | Supports wM version 11.0. Validate `devportal.port` value in `values.yaml` if you want to use wM image version 11.0. | -| `1.0.2` | `tpl` function support in `affinity` value added. | +| `1.0.2` | `tpl` function support in `affinity` value added. `topologySpreadConstraints` support added. | ## Values | Key | Type | Default | Description | |-----|------|---------|-------------| -| affinity | object | `{"podAntiAffinity":{"preferredDuringSchedulingIgnoredDuringExecution":[{"podAffinityTerm":{"labelSelector":{"matchExpressions":[{"key":"app.kubernetes.io/instance","operator":"In","values":["{{ include \"common.names.fullname\" . }}"]}]},"topologyKey":"kubernetes.io/hostname"},"weight":100}]}}` | Set Pod (anti-) affinity. You can use templates inside because `tpl` function is called for rendering. | +| affinity | object | `{}` | Set Pod (anti-) affinity. You can use templates inside because `tpl` function is called for rendering. | | autoscaling.enabled | bool | `false` | | | autoscaling.maxReplicas | int | `100` | | | autoscaling.minReplicas | int | `1` | | @@ -132,3 +132,4 @@ helm install webmethods/developerportal devportal | serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | | serviceAccount.roleName | string | `""` | | | tolerations | list | `[]` | | +| topologySpreadConstraints | object | `{}` | Set Pod topology spread constraints. You can use templates inside because `tpl` function is called for rendering. | diff --git a/microservicesruntime/helm/README.md b/microservicesruntime/helm/README.md index b4f432e..933e04e 100644 --- a/microservicesruntime/helm/README.md +++ b/microservicesruntime/helm/README.md @@ -110,7 +110,7 @@ helm install wm-msr webmethods/microservicesruntime \ | `1.0.3` | Make Liveness and Readiness Probes as per current default. Both can now also be overwritten in a custom values file `values.yaml`. | | `1.0.4` | Option in `values.yaml` to create a ServiceMonitor added. Some errors in Nginx external LB corrected | | `1.0.5` | Value `trustStorePasswordFromSecret` added in `values.yaml` to support common `1.0.2` | -| `1.0.6` | `tpl` function support in `affinity` value added. | +| `1.0.6` | `tpl` function support in `affinity` value added. `topologySpreadConstraints` support added. | ## Values @@ -210,4 +210,5 @@ helm install wm-msr webmethods/microservicesruntime \ | startupProbe | object | `{"failureThreshold":60,"periodSeconds":30,"tcpSocket":{"port":"http"}}` | startup probe for container | | statefulSet | bool | `false` | StatefulSet or Deployment. You should only change this if you require Client Side queuing (CSQ) or functionality in IS which requires stable hostnames and filesystems. Default is false => Deployment. Keep in mind, you must disable CSQ on each webMethods messaging and JMS connection if you don't use stateful-sets. See examples in Process Engine deployment for disableing CSQ. | | tolerations | list | `[]` | | +| topologySpreadConstraints | object | `{}` | Set Pod topology spread constraints. You can use templates inside because `tpl` function is called for rendering. | | volumeClaimTemplates | list | `[]` | Volume Claim Templates, only to be used when running as a Statefulset (e.g. using client-side queuing) | diff --git a/mywebmethodsserver/helm/README.md b/mywebmethodsserver/helm/README.md index 016e43f..f8af7f5 100644 --- a/mywebmethodsserver/helm/README.md +++ b/mywebmethodsserver/helm/README.md @@ -48,7 +48,7 @@ helm install wm-mws mywebmethodsserver | `1.0.1` | CRD `ServiceMonitor` added | | `1.0.2` | `storage.enabled` added in `values.yaml`. For backward reason is this value set to `true` as default. `false` doesn't create and mount any PV. (You can test this feature if you don't want to deploy any own MWS application. MWS is more stateless and has only the database as stateful dependency.) | | `1.0.2` | `containerName` added in `values.yaml`. Default is the Chart name. (Use `helm repo update` to get latest Helm Chart version.) | -| `1.0.3` | `tpl` function support in `affinity` value added. | +| `1.0.3` | `tpl` function support in `affinity` value added. `topologySpreadConstraints` support added. | ## Values @@ -114,3 +114,4 @@ helm install wm-mws mywebmethodsserver | storage.dirs.logsdir.volume | string | `nil` | when set to true, a separate volume will be created for this directory. Otherwise, the directory will be created on the defaultVolume. | | storage.enabled | bool | `true` | Enable or disable persistent storage handling. `true`creates (PVCs) and mounts all volumes. `false` doesn't create any PVC. | | tolerations | list | `[]` | | +| topologySpreadConstraints | object | `{}` | Set Pod topology spread constraints. You can use templates inside because `tpl` function is called for rendering. | diff --git a/universalmessaging/helm/README.md b/universalmessaging/helm/README.md index ccd5f8b..f335a29 100644 --- a/universalmessaging/helm/README.md +++ b/universalmessaging/helm/README.md @@ -63,7 +63,7 @@ helm install um webmethods/universalmessaging | `1.0.4` | CRD `ServiceMonitor` added | | `1.0.4` | `containerName` added in `values.yaml`. Default is the Chart name. (Use `helm repo update` to get latest Helm Chart version.) | | `1.0.5` | support of PV storage annotation and class name | -| `1.0.6` | `tpl` function support in `affinity` value added. | +| `1.0.6` | `tpl` function support in `affinity` value added. `topologySpreadConstraints` support added. | ## Values @@ -128,6 +128,7 @@ helm install um webmethods/universalmessaging | storage.logs.storageClassName | string | `""` | Storage class name for logs | | storage.logsSize | string | `"2Gi"` | Storage size of logs | | tolerations | list | `[]` | | +| topologySpreadConstraints | object | `{}` | Set Pod topology spread constraints. You can use templates inside because `tpl` function is called for rendering. | | um.basicAuthEnable | string | `"No"` | Enable basic authentication on the server | | um.basicAuthMandatory | string | `"No"` | Enable and mandate basic authentication on the server | | um.initJavaMemSize | string | `"1024"` | Initial Java Heap Size (in MB) |