diff --git a/incubator/kafka/Chart.yaml b/incubator/kafka/Chart.yaml index 3b17d10142..69a06d2dd6 100755 --- a/incubator/kafka/Chart.yaml +++ b/incubator/kafka/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Apache Kafka is publish-subscribe messaging rethought as a distributed commit log. name: kafka -version: 0.2.14 +version: 0.2.15 keywords: - kafka - zookeeper diff --git a/incubator/kafka/README.md b/incubator/kafka/README.md index 9567dab02e..567c84b6fb 100644 --- a/incubator/kafka/README.md +++ b/incubator/kafka/README.md @@ -53,9 +53,9 @@ following configurable parameters: | Parameter | Description | Default | | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------- | -| `image` | Kafka Container image name | `solsson/kafka` | -| `imageTag` | Kafka Container image tag | `1.0.0` | -| `imagePullPolicy` | Kafka Container pull policy | `Always` | +| `image` | Kafka Container image name | `confluentinc/cp-kafka` | +| `imageTag` | Kafka Container image tag | `4.0.0` | +| `imagePullPolicy` | Kafka Container pull policy | `IfNotPresent` | | `replicas` | Kafka Brokers | `3` | | `component` | Kafka k8s selector key | `kafka` | | `resources` | Kafka resource requests and limits | `{}` | @@ -63,13 +63,17 @@ following configurable parameters: | `logSubPath` | Subpath under `dataDirectory` where kafka logs will be placed. `logs/` | `logs` | | `affinity` | Pod scheduling preferences | `{}` | | `storage` | Kafka Persistent volume size | `1Gi` | -| `configurationOverrides` | `Kafka ` [configuration setting](https://kafka.apache.org/documentation/#brokerconfigs) overrides in the dictionary format `setting.name: value` | `{}` | -| `schema-registry.enabled` | If True, installs Schema Registry Chart | `false` | +| `configurationOverrides` | `Kafka ` [configuration setting](https://kafka.apache.org/documentation/#brokerconfigs) overrides in the dictionary format `setting.name: value` | `{ offsets.topic.replication.factor: 3 }` | | `updateStrategy` | StatefulSet update strategy to use. | `{ type: "OnDelete" }` | | `zookeeper.enabled` | If True, installs Zookeeper Chart | `true` | +| `zookeeper.resources` | Zookeeper resource requests and limits | `{}` | +| `zookeeper.heap` | JVM heap size to allocate to Zookeeper | `1G` | +| `zookeeper.storage` | Zookeeper Persistent volume size | `2Gi` | +| `zookeeper.imagePullPolicy` | Zookeeper Container pull policy | `IfNotPresent` | | `zookeeper.url` | URL of Zookeeper Cluster (unneeded if installing Zookeeper Chart) | `""` | | `zookeeper.port` | Port of Zookeeper Cluster | `2181` | + Specify parameters using `--set key=value[,key=value]` argument to `helm install` Alternatively a YAML file that specifies the values for the parameters can be provided like this: @@ -106,6 +110,13 @@ my-release-zookeeper:2181 --list` Where `my-release` is the name of your helm release. +## Extensions + +Kafka has a rich ecosystem, with lots of tools. This sections is intended to compile all of those tools for which a corresponding Helm chart has already been created. + +- [Schema-registry](https://github.com/kubernetes/charts/tree/master/incubator/schema-registry) - A confluent project that provides a serving layer for your metadata. It provides a RESTful interface for storing and retrieving Avro schemas. + + ## Known Limitations * Topic creation is not automated diff --git a/incubator/kafka/requirements.lock b/incubator/kafka/requirements.lock index e66bb28a80..44c03ca8e5 100644 --- a/incubator/kafka/requirements.lock +++ b/incubator/kafka/requirements.lock @@ -2,8 +2,5 @@ dependencies: - name: zookeeper repository: https://kubernetes-charts-incubator.storage.googleapis.com/ version: 0.4.4 -- name: schema-registry - repository: https://kubernetes-charts-incubator.storage.googleapis.com/ - version: 0.1.0 -digest: sha256:1c6ea22f85337e08488fa9b094e9b740393aabb0d893d5cad3128a0e4cec0e44 -generated: 2018-01-27T11:06:29.660226-08:00 +digest: sha256:8ad8ff89ebc2de68fd400e6a75d4217d4d57fe2ac567de4ac9e1cc8c350c1908 +generated: 2018-02-26T23:50:31.968767+01:00 diff --git a/incubator/kafka/requirements.yaml b/incubator/kafka/requirements.yaml index 68d23feab5..5efc2a44e7 100644 --- a/incubator/kafka/requirements.yaml +++ b/incubator/kafka/requirements.yaml @@ -3,7 +3,4 @@ dependencies: version: 0.4.4 repository: https://kubernetes-charts-incubator.storage.googleapis.com/ condition: zookeeper.enabled -- name: schema-registry - version: 0.1.0 - repository: https://kubernetes-charts-incubator.storage.googleapis.com/ - condition: schema-registry.enabled + diff --git a/incubator/kafka/values.yaml b/incubator/kafka/values.yaml index 4d64058fed..19f2b9579f 100644 --- a/incubator/kafka/values.yaml +++ b/incubator/kafka/values.yaml @@ -87,13 +87,3 @@ zookeeper: ## If the Zookeeper Chart is disabled a URL and port are required to connect url: "" port: 2181 - -# ------------------------------------------------------------------------------ -# Schema Registry: -# ------------------------------------------------------------------------------ - -## Install Confluent Schema Registry server alongside Kafka to track Avro Schemas -schema-registry: - ## If true, install the Schema-Registry chart alongside Kafka - ## ref: https://github.com/kubernetes/charts/tree/master/incubator/schema-registry - enabled: false