Skip to content

Commit

Permalink
topologySpreadConstraints support added and updating helm/README.me f…
Browse files Browse the repository at this point in the history
…rom values.yaml
  • Loading branch information
thr authored and thr committed Sep 5, 2024
1 parent 58bf5ed commit c24973a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
5 changes: 4 additions & 1 deletion apigateway/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. <br> 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

Expand Down Expand Up @@ -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'] |
Expand Down Expand Up @@ -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 | `""` | |
Expand Down Expand Up @@ -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. |
5 changes: 3 additions & 2 deletions developerportal/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` | |
Expand Down Expand Up @@ -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. |
3 changes: 2 additions & 1 deletion microservicesruntime/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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) |
3 changes: 2 additions & 1 deletion mywebmethodsserver/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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. |
3 changes: 2 additions & 1 deletion universalmessaging/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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) |
Expand Down

0 comments on commit c24973a

Please sign in to comment.