Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[incubator/kafka] Makes persistence fully configurable #3721

Merged

Conversation

lsthornt
Copy link
Contributor

Mimics stable/postgresql and makes persistence fully configurable.

Motivation
We create Kafka StatefulSets during CI on AWS.

Due to the high frequency with which we were creating volumes, EBS wound up getting stuck very frequently.

This change allows us to sidestep the issue by relying on kubelet host volumes.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 14, 2018
@lsthornt
Copy link
Contributor Author

/assign @mattfarina

@@ -2,7 +2,7 @@ apiVersion: v1
description: Apache Kafka is publish-subscribe messaging rethought as a distributed
commit log.
name: kafka
version: 0.2.13
version: 0.3.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumped minor version because some of the top-level config values nested underneath persistence. Otherwise, could be 0.2.14

@@ -51,24 +51,28 @@ This chart includes a ZooKeeper chart as a dependency to the Kafka
cluster in its `requirement.yaml` by default. The chart can be customized using the
following configurable parameters:

| Parameter | Description | Default |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly whitespace changes here, because the #brokerconfigs link got extracted

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Feb 22, 2018
@unguiculus
Copy link
Member

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Feb 28, 2018
@unguiculus
Copy link
Member

/assign

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 28, 2018
@unguiculus
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 28, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lsthornt, unguiculus

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 28, 2018
@k8s-ci-robot k8s-ci-robot merged commit 3aaf81b into helm:master Feb 28, 2018
@fedenusy fedenusy deleted the kafka-toggle-persistence branch February 28, 2018 21:12
ichtar pushed a commit to Bestmile/charts that referenced this pull request May 15, 2018
* Makes kafka persistentVolume configurable

* Downgrades version to 0.3.0

* Cleans up

* Fixes indentation

* Adds missing spaces for helm lint

* Goes back to volumeClaimTemplates to support scaling

* Adds missing whitespace eater

* Follows best practices for defining storageClassName
voron pushed a commit to dysnix/helm-charts that referenced this pull request Sep 5, 2018
* Makes kafka persistentVolume configurable

* Downgrades version to 0.3.0

* Cleans up

* Fixes indentation

* Adds missing spaces for helm lint

* Goes back to volumeClaimTemplates to support scaling

* Adds missing whitespace eater

* Follows best practices for defining storageClassName

Signed-off-by: voron <av@arilot.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants