Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add support for priority class in local-kafka chart #336

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/local-kafka/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: local-kafka
description: Local Development spinup of Strimzi-managed Kafka
type: application
version: 0.42.0
version: 0.42.1
appVersion: latest
maintainers:
- name: diranged
Expand Down
3 changes: 2 additions & 1 deletion charts/local-kafka/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Local Development spinup of Strimzi-managed Kafka

![Version: 0.42.0](https://img.shields.io/badge/Version-0.42.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 0.42.1](https://img.shields.io/badge/Version-0.42.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)

[strimzi_op]: https://github.com/strimzi/strimzi-kafka-operator

Expand Down Expand Up @@ -44,6 +44,7 @@ project's development namespace.
| kafka.brokerVersion | `str` | `nil` | Optional version of Kafka to install (eg, `2.8.0`) |
| kafka.interBrokerProtocolVersion | `str` | `nil` | Optional value for the inter.broker.protocol.version property (eg. `2.8`) |
| kafka.logMessageFormatVersion | `str` | `nil` | Optional value for the log.message.format.version property (eg, `2.7`) |
| kafka.priorityClassName | `str` | `nil` | Optional value for the kafka cluster pod priority class name |
| listeners | list | `[{"configuration":{"brokers":[{"advertisedHost":"127.0.0.1","broker":0,"nodePort":32000}]},"name":"external","port":9094,"tls":false,"type":"nodeport"}]` | Additional configurable listeners for connecting to brokers. |
| namespaceOverride | string | `nil` | Optionally force the namespace that the resources in this stack are launched in. Without this, the default namespace that the Helm chart is being put into is used. It is recommended to keep this empty. |
| strimzi-kafka-operator.enabled | bool | `true` | Set to `false` to intentionally disable installation of the Operator. This is useful if you are running this stack in a local dev environment where you might have multiple Kafka environments, and are already running the Strimzi operator. |
Expand Down
5 changes: 5 additions & 0 deletions charts/local-kafka/templates/kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ spec:
{{- with .Values.kafka.brokerVersion }}
version: {{ . }}
{{- end }}
{{- with .Values.kafka.priorityClassName }}
template:
pod:
priorityClassName: {{ . }}
{{- end }}
replicas: 1
livenessProbe:
initialDelaySeconds: 60
Expand Down
3 changes: 3 additions & 0 deletions charts/local-kafka/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ kafka:
# -- (`str`) Optional value for the inter.broker.protocol.version property (eg. `2.8`)
interBrokerProtocolVersion:

# -- (`str`) Optional value for the kafka cluster pod priority class name
priorityClassName:

# -- Additional configurable listeners for connecting to brokers.
listeners:
- name: external
Expand Down
Loading