Skip to content

Commit b399494

Browse files
Merge pull request #152 from superstreamlabs/staging
Staging
2 parents 34ccbdf + b0924fd commit b399494

File tree

11 files changed

+267
-166
lines changed

11 files changed

+267
-166
lines changed

README.md

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ nats:
3737
# Kafka Autoscaler config
3838
############################################################
3939
# Optional service to automatically scale the Kafka cluster up/down based on CPU and memory metrics
40-
superstreamEngine:
41-
kafkaAutoScaler:
42-
enabled: false
40+
autoScaler:
41+
enabled: true
4342
```
4443
4544
To deploy it, run the following:
@@ -62,7 +61,11 @@ The following table lists the configurable parameters of the SuperStream chart a
6261
| `global.labels` | Global labels to use for all container images in the chart. | `""` |
6362
| `nats.config.cluster.enabled` | Indicates whether the NATS cluster is enabled. | `true` |
6463
| `nats.config.jetstream.fileStore.pvc.storageClassName` | Specifies the storage class name for the Jetstream file store PVC. | `""` |
65-
| `superstreamEngine.releaseDate` | Release date for the backend component. | `"2024-02-22-13-03"` |
64+
| `nats.config.nats.tls.enabled` | Enables or disables TLS (Transport Layer Security) for the NATS server. Set to `true` to enable TLS. | `false` |
65+
| `nats.config.nats.tls.secretName` | If provided, mounts an existing secret to the directory for TLS credentials. Useful for referencing pre-existing certificates and keys. | `""` |
66+
| `nats.config.nats.tls.localCa.enabled` | Enables or disables the use of a local Certificate Authority (CA) for generating TLS certificates. | `false` |
67+
| `nats.config.nats.tls.localCa.secretName` | The name of the secret containing the local CA’s certificates. Required if `nats.config.nats.tls.localCa.enabled` is set to `true`. | `false` |
68+
| `superstreamEngine.releaseDate` | Release date for the backend component. | `""` |
6669
| `superstreamEngine.replicaCount` | Number of replicas for the backend deployment. | `2` |
6770
| `superstreamEngine.image.repository` | Docker image repository for the backend service. | `superstreamlabs/superstream-data-plane-be` |
6871
| `superstreamEngine.image.pullPolicy` | Policy for pulling the image. | `Always` |
@@ -93,11 +96,6 @@ The following table lists the configurable parameters of the SuperStream chart a
9396
| `superstreamEngine.service.enabled` | Enable service for the backend. | `true` |
9497
| `superstreamEngine.service.type` | Type of service for the backend. | `ClusterIP` |
9598
| `superstreamEngine.service.port` | Port for the backend service. | `7777` |
96-
| `superstreamEngine.ingress.enabled` | Enable ingress for the backend. | `false` |
97-
| `superstreamEngine.ingress.className` | Class name for the ingress resource. | `""` |
98-
| `superstreamEngine.ingress.annotations` | Annotations to add to the ingress resource. | `{}` |
99-
| `superstreamEngine.ingress.hosts` | Hosts for the ingress resource, including paths and path types. | `[{ host: "chart-example.local", paths: [{ path: "/", pathType: "ImplementationSpecific" }] }]` |
100-
| `superstreamEngine.ingress.tls` | TLS settings for the ingress resource, including secret names and hosts. | `[]` |
10199
| `superstreamEngine.resources.limits.cpu` | CPU limit for the backend pod. | `8` |
102100
| `superstreamEngine.resources.limits.memory` | Memory limit for the backend pod. | `8Gi` |
103101
| `superstreamEngine.resources.requests.cpu` | CPU request for the backend pod. | `500m` |
@@ -117,14 +115,24 @@ The following table lists the configurable parameters of the SuperStream chart a
117115
| `superstreamEngine.syslog.enabled` | Determines whether the syslog is enabled for the superstream engine. | `true` |
118116
| `superstreamEngine.syslog.remoteSyslog` | Remote syslog server to send logs to. | `"superstream-syslog"` |
119117
| `superstreamEngine.releaseDate` | Release date for the backend component. | `"2024-03-20-11-12"`
120-
| `superstreamEngine.kafkaAutoScaler.enabled` | Enables the Kafka auto-scaler. | `"false"` |
121-
| `superstreamEngine.kafkaAutoScaler.image.repository` | Docker image repository for the Kafka auto-scaler. | `"superstreamlabs/superstream-kafka-auto-scaler"` |
122-
| `superstreamEngine.kafkaAutoScaler.image.pullPolicy` | Policy for pulling the Docker image. | `Always` |
123-
| `superstreamEngine.kafkaAutoScaler.image.tag` | Docker image tag (Overrides the image). | `"latest"` |
124-
| `superstreamEngine.kafkaAutoScaler.resources.limits.cpu` | CPU limit for the auto-scaler. | `"2"` |
125-
| `superstreamEngine.kafkaAutoScaler.resources.limits.memory` | Memory limit for the auto-scaler. | `"2Gi"` |
126-
| `superstreamEngine.kafkaAutoScaler.resources.requests.cpu` | CPU request for the auto-scaler. | `"500m"` |
127-
| `superstreamEngine.kafkaAutoScaler.resources.requests.memory` | Memory request for the auto-scaler. | `"500Mi"` |
118+
| `autoScaler.enabled` | Enables the Kafka auto-scaler. | `"true"` |
119+
| `autoScaler.releaseDate` | Release date for the autoscaler. | `""` |
120+
| `autoScaler.replicaCount` | Enables the Kafka auto-scaler. | `"false"` |
121+
| `autoScaler.image.repository` | Docker image repository for the Kafka auto-scaler. | `"superstreamlabs/superstream-kafka-auto-scaler"` |
122+
| `autoScaler.image.pullPolicy` | Policy for pulling the Docker image. | `Always` |
123+
| `autoScaler.image.tag` | Docker image tag (Overrides the image). | `"latest"` |
124+
| `autoScaler.resources.limits.cpu` | CPU limit for the auto-scaler. | `"2"` |
125+
| `autoScaler.resources.limits.memory` | Memory limit for the auto-scaler. | `"2Gi"` |
126+
| `autoScaler.resources.requests.cpu` | CPU request for the auto-scaler. | `"500m"` |
127+
| `autoScaler.resources.requests.memory` | Memory request for the auto-scaler. | `"500Mi"` |
128+
| `autoScaler.autoscaling.enabled` | Enable autoscaling for the backend. | `true` |
129+
| `autoScaler.autoscaling.minReplicas` | Minimum number of replicas for autoscaling. | `2` |
130+
| `autoScaler.autoscaling.maxReplicas` | Maximum number of replicas for autoscaling. | `5` |
131+
| `autoScaler.autoscaling.targetCPUUtilizationPercentage` | CPU utilization percentage for autoscaling. | `75` |
132+
| `autoScaler.autoscaling.targetMemoryUtilizationPercentage` | Memory utilization percentage for autoscaling. | `75` |
133+
| `autoScaler.nodeSelector` | Node selectors to control the placement of pods. | `{}` |
134+
| `autoScaler.tolerations` | Tolerations for pods to tolerate certain node conditions or taints. | `[]` |
135+
| `autoScaler.affinity` | Affinity rules for pod scheduling. | `{}` |
128136
| `syslog.replicaCount` | Number of replicas for the syslog deployment. | `1` |
129137
| `syslog.image.repository` | Docker image repository for syslog. | `linuxserver/syslog-ng` |
130138
| `syslog.image.pullPolicy` | Pull policy for the syslog image. | `IfNotPresent` |

charts/superstream/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ type: application
2525
# This is the chart version. This version number should be incremented each time you make changes
2626
# to the chart and its templates, including the app version.
2727
# Versions are expected to follow Semantic Versioning (https://semver.org/)
28-
version: 0.4.18
28+
version: 0.4.19
2929
# This is the version number of the application being deployed. This version number should be
3030
# incremented each time you make changes to the application. Versions are not expected to
3131
# follow Semantic Versioning. They should reflect the version the application is using.
3232
# It is recommended to use it with quotes.
33-
appVersion: "1.0.601"
33+
appVersion: "1.0.700"
3434
icon: https://memphis-public-files.s3.eu-central-1.amazonaws.com/superstream_logo.png
3535
dependencies:
3636
- name: nats

0 commit comments

Comments
 (0)