kinesis
by Said Sef
Helm chartv0.23.0App 2.1.0Apache-2.0
A Kinesis Local Helm chart for Kubernetes
About this chart
kinesis
A Kinesis Local Helm chart for Kubernetes
Homepage: https://github.com/saidsef/aws-kinesis-local
Maintainers
| Name | Url | |
|---|---|---|
| Said Sef | [email protected] | https://saidsef.co.uk/ |
Source Code
Requirements
Kubernetes: >= 1.32.0
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Pod affinity rules. |
| env.CREATESTREAMMS | string | "50" | --createStreamMs, how long in milliseconds a new stream, consumer or channel stays in CREATING. |
| env.DELETESTREAMMS | string | "50" | --deleteStreamMs, how long in milliseconds a deleted stream, consumer or channel stays in DELETING. |
| env.DELIVERYINTERVALMS | string | "" | --deliveryIntervalMs, how long in milliseconds a channel buffers records before it writes an object. Empty uses the data freshness interval of each channel. |
| env.KPATH | string | "/data" | --path, the directory that holds the SQLite database. The chart mounts the data volume here. |
| env.LOGLEVEL | string | "warn" | --logLevel, the least severe level that aws-kinesis-local logs: error, warn, info, debug or trace. |
| env.PORT | string | "4567" | --port, the port that aws-kinesis-local listens on for HTTP/1.1 and HTTP/2. Also sets the container port. |
| env.S3ENDPOINT | string | "" | --s3Endpoint, the S3 endpoint that channels deliver records to. Empty turns delivery off. Delivery also needs s3.existingSecret. |
| env.S3REGION | string | "" | --s3Region, the region in the signature of each S3 request. Empty uses the region in ARNs. |
| env.SHARDLIMIT | string | "50" | --shardLimit, the maximum number of open shards across all provisioned streams. |
| env.UPDATESTREAMMS | string | "50" | --updateStreamMs, how long in milliseconds a stream or channel stays in UPDATING. |
| fullnameOverride | string | "" | Override the fully qualified app name. |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy. |
| image.repository | string | "docker.io/saidsef/aws-kinesis-local" | Image repository. |
| image.tag | string | "" | Image tag. Empty uses the chart appVersion, which matches the npm package version. |
| imagePullSecrets | list | [] | Pull secrets for private registries. |
| livenessProbe | object | httpGet path=/healthz port=tcp, periodSeconds=10 | Liveness probe spec. |
| nameOverride | string | "" | Override the chart name. |
| nodeSelector | object | {} | Node selector. |
| persistence.accessModes | list | ["ReadWriteOnce"] | PVC access modes when persistence is enabled. |
| persistence.enabled | bool | false | Back /data with a volumeClaimTemplate instead of emptyDir. |
| persistence.size | string | "1Gi" | PVC size. |
| persistence.storageClass | string | "" | StorageClass name. Empty uses the cluster default. |
| podAnnotations | object | {} | Pod annotations. |
| podDisruptionBudget.enabled | bool | false | Render a policy/v1 PodDisruptionBudget. |
| podDisruptionBudget.maxUnavailable | int | 1 | PDB maxUnavailable. The default lets a node drain evict the pod when the chart runs one replica. The chart ignores this value when minAvailable is set. |
| podDisruptionBudget.minAvailable | int | unset | PDB minAvailable. When this value is set, it wins over maxUnavailable, and the PDB carries only minAvailable. |
| podSecurityContext | object | {"fsGroup":65534,"fsGroupChangePolicy":"OnRootMismatch"} | Pod-level securityContext. fsGroup makes Kubernetes set the group of the data volume to 65534, the group that the container runs as, and make it writable by that group. aws-kinesis-local can then open its database on a volume that root owns. With OnRootMismatch, Kubernetes changes ownership and permissions only when those of the volume root do not already match. |
| readinessProbe | object | httpGet path=/readyz port=tcp, periodSeconds=5 | Readiness probe spec. |
| replicaCount | int | 1 | StatefulSet replica count. Replicas do not share streams. Each replica keeps its own database, and the Service spreads connections across all replicas, so a request can reach a replica that does not hold the stream. |
| resources.limits.cpu | string | "200m" | CPU limit. |
| resources.limits.memory | string | "1Gi" | Memory limit. |
| resources.requests.cpu | string | "100m" | CPU request. |
| resources.requests.memory | string | "512Mi" | Memory request. |
| revisionHistoryLimit | int | 5 | StatefulSet revisionHistoryLimit. |
| s3.accessKeyIdKey | string | "S3_ACCESS_KEY_ID" | Key in s3.existingSecret that holds the access key ID. |
| s3.existingSecret | string | "" | Existing Secret that holds the S3 credentials for channel delivery. The chart sets S3_ACCESS_KEY_ID and S3_SECRET_ACCESS_KEY from it. Empty sets neither. |
| s3.secretAccessKeyKey | string | "S3_SECRET_ACCESS_KEY" | Key in s3.existingSecret that holds the secret access key. |
| securityContext | object | hardened defaults | Container securityContext: non-root, read-only rootfs, all caps dropped, seccomp RuntimeDefault. |
| service.headless | bool | false | Set clusterIP: None for headless DNS. Clients then reach the pods on the container port, env.PORT, and not on service.port. |
| service.port | int | 80 | Service port. |
| service.testRegion | string | "eu-west-1" | Region passed to the helm test aws-cli call. |
| service.type | string | "ClusterIP" | Service type. |
| serviceAccount.annotations | object | {} | ServiceAccount annotations. |
| serviceAccount.create | bool | true | Whether to create a ServiceAccount. |
| serviceAccount.name | string | "" | If empty, defaults to the fullname. |
| startupProbe | object | httpGet path=/healthz port=tcp, failureThreshold=30 | Startup probe spec. |
| terminationGracePeriodSeconds | int | 60 | Pod terminationGracePeriodSeconds. |
| testImage.pullPolicy | string | "IfNotPresent" | Pull policy for the helm-test image. |
| testImage.repository | string | "amazon/aws-cli" | helm-test image repo. |
| testImage.tag | string | "2.17.0" | helm-test image tag (pinned). |
| tolerations | list | [] | Pod tolerations. |
| topologySpreadConstraints | list | [] | Pod topology spread constraints. |
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy kinesis with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kinesis on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkinesis is pinned at v0.23.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply