46 Commits
Author SHA1 Message Date
Daniel Harrison 4d2c85a224 [stable/cockroachdb]: Update version to v19.2.5 (#21584)
Signed-off-by: Daniel Harrison <daniel.harrison@gmail.com>
2020-03-23 12:43:26 -07:00
Daniel Harrison 35c0c3d992 [stable/cockroachdb]: Update version to v19.2.4 (#20698)
Signed-off-by: Dan Harrison <dan@cockroachlabs.com>
2020-02-14 10:02:17 -08:00
Nathan Stilwell 626dca1e31 [stable/cockroachdb]: Update version to v19.2.3 (#20567)
Signed-off-by: Nathan Stilwell <nathanstilwell@cockroachlabs.com>
2020-02-05 13:27:54 -08:00
Joachim Mathesandarturrez 1c71165c52 [stable/cockroachdb] Allow TLS secrets for certificates (#20425)
* "bring-your-own-certs" scenario
bump cockroachdb version to 19.2.1->19.2.2

Signed-off-by: Artur <artur@upbound.io>

* version bump 3.0.2 -> 3.0.3

Signed-off-by: Artur <artur@upbound.io>

* [stable/cockroachdb] Allow tls secrets as certificate source

This allows usage of cert-manager:
https://github.com/jetstack/cert-manager

Signed-off-by: Joachim Mathes <jmathes@contargo.net>

* [stable/cockroachdb] Align table fields in documentation

Signed-off-by: Joachim Mathes <jmathes@contargo.net>

* [stable/cockroachdb] Update documentation

Signed-off-by: Joachim Mathes <jmathes@contargo.net>

Co-authored-by: arturrez <56270896+arturrez@users.noreply.github.com>
2020-02-05 11:39:55 -08:00
Jesse Seldess dfea2ba119 [stable/cockroachdb]: Update version to v19.2.2 (#19990)
Signed-off-by: Jesse Seldess <j_seldess@hotmail.com>
2020-01-09 11:04:38 -08:00
Kai Ren b5af62f491 [stable/cockroachdb] Complete refactor and capabilities extension (#18993)
- refactor chart values to be more idiomatic and document them more precisely
- rename k8s labels to namespaced ones
- refactor template names and make them more readable
- support 'nameOverride' and 'fullnameOverride' values
- make StatefulSet 'replicas' configurable
- make affinity, tolerations and nodeSelector configurable for StatefulSet and init Job
- make labels and annotations configurable for Pods of StatefulSet and init Job
- make init Job idempotent for already initialized clusters
- add ability to persist data in hostPath and emptyDir
- add ability to configure NetworkPolicy with custom ingress rules
- add ability to specify credentials for private registries of Docker images
- support running in standalone mode (start-single-node)
- provide more configuration parameters in chart values
- reuse entrypoint of the used Docker image instead of overwriting it
- bump chart's version to 3.0.0
- update README and add upgrading instructions for 3.0.0

Signed-off-by: tyranron <tyranron@gmail.com>
2019-12-03 09:56:58 -08:00
Lucy Zhang fe6c09b96b [stable/cockroachdb]: update version to v19.1.5 (#19126)
Signed-off-by: Lucy Zhang <lucy-zhang@users.noreply.github.com>
2019-11-25 10:57:25 -08:00
Tobias Paepke be4c085ce6 [stable/cockroachdb] labels for cockroachdb service (#18233)
* Add labels to cockroachdb service and servicediscovery-service
Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>

Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>

* update README.md to cover new values
Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>

Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>

* Chart version bump
Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>

Signed-off-by: Tobias Paepke <tobias.paepke@paepke.net>
2019-10-23 11:06:58 -07:00
ajwerner da43366052 [stable/cockroachdb]: Update version to v19.1.5 (#17567)
Signed-off-by: Andrew Werner <awerner32@gmail.com>
2019-10-01 07:25:35 -07:00
Rebecca Taft 2c00a333ea stable/cockroachdb: bump to 19.1.3 (#15539)
Signed-off-by: Rebecca Taft <becca@cockroachlabs.com>
2019-07-17 11:26:11 -07:00
Joel Kenny d0fc388575 [stable/cockroachdb] adds resources stanza to cockroach init pod (#14921)
Previously, this chart was not deployable in a Kubernetes namespace with
[Resource Quotas](https://kubernetes.io/docs/concepts/policy/resource-quotas/)
enabled. A user could set resource limits on the CRDB pods, but not on the
short-lived pod that is part of the cockroachdb-init job. This adds an
additional resource configuration to that pod spec to allow this chart to be
deployed when Resource Quotas are enabled.

Signed-off-by: Joel Kenny <joel@cockroachlabs.com>
2019-06-19 13:04:20 -07:00
Andrei Matei a733274596 cockroachdb: bump to 19.1.2 (#14864)
Signed-off-by: Andrei Matei <andrei@cockroachlabs.com>
2019-06-17 15:18:27 -07:00
keith-mcclellan 5e39bf5d5b bump chart to 19.1.1 (#14449)
Signed-off-by: Keith McClellan <keith.mcclellan@gmail.com>
2019-06-04 07:39:13 -07:00
Christian Hüning 8055bd2893 Add ExtraInitAnnotations (#13519)
Signed-off-by: Christian Hüning <christian.huening@figo.io>
2019-05-05 17:31:36 -07:00
Christian Hüning 8ae73a4fd9 Add an option for ExtraAnnotations for the StatefulSet (#13400)
Signed-off-by: Christian Hüning <christian.huening@figo.io>
2019-05-01 21:28:17 -07:00
Solon 9329c44517 cockroachdb: Update version to 19.1.0 (#13408)
Signed-off-by: Solon Gordon <solon@cockroachlabs.com>
2019-04-30 12:06:57 -07:00
Christian Hüning f4bb13e508 allow to set COCKROACH_ENGINE_MAX_SYNC_DURATION (#13244)
* allow to set COCKROACH_ENGINE_MAX_SYNC_DURATION

Signed-off-by: Christian Hüning <christian.huening@figo.io>

* switched to ExtraEnvArgs

Signed-off-by: Christian Hüning <christian.huening@figo.io>

* Bumped App and Tag version to 2.1.6

Signed-off-by: Christian Hüning <christian.huening@figo.io>

* added example to comment in values.yaml

Signed-off-by: Christian Hüning <christian.huening@figo.io>
2019-04-25 21:54:25 -07:00
Nik Voss fbc9f1d365 [stable/cockroachdb] Additional parameters for cockroachdb (#11747)
* Add ExtraArgs and ExtraSecretMounts for additional configurability.

Signed-off-by: Niklas Voss <niklas.voss@gmail.com>

* Bump version.

Signed-off-by: Niklas Voss <niklas.voss@gmail.com>

* Updated README to include new values.

Signed-off-by: Niklas Voss <niklas.voss@gmail.com>

* Removed blank line to avoid linting errors.

Signed-off-by: Niklas Voss <niklas.voss@gmail.com>
2019-02-27 16:31:15 -08:00
RaduBerinde 87a1489cb7 cockroachdb: Update version to 2.1.5 (#11540)
Signed-off-by: Radu Berinde <radu@cockroachlabs.com>
2019-02-19 12:26:35 -08:00
Bob Vawter bb5b5ab85c cockroachdb: Update to 2.1.4 (#10810)
* cockroachdb: Update to 2.1.4

Signed-off-by: Bob Vawter <bob@cockroachlabs.com>

* Update Chart.yaml

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
2019-01-21 14:20:38 -08:00
Ben Darnell 23f8f3f9fb cockroachdb: Update to 2.1.3 (#10086)
Signed-off-by: Ben Darnell <ben@cockroachlabs.com>
2018-12-18 18:51:29 -08:00
Nathan VanBenschoten 8038ea7a49 [stable/cockroachdb] Upgrade CockroachDB version to v2.1.2 (#9876)
Signed-off-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
2018-12-10 14:30:49 -08:00
Bram Gruneir 80d163ee36 [stable/cockroachdb] Increase the default disk size to 100GB (#9423)
In the past there had problems with Minikube not accepting large disk sizes,
but it no longer seems to be a problem on more recent versions, so let's
default to something a little more reasonable here.

Signed-off-by: Bram Gruneir <bram@cockroachlabs.com>
2018-11-20 10:19:11 -08:00
Bram Gruneir 345ba98772 [stable/cockroachdb] Upgrade CockroachDB version to v2.1.1 (#9388)
Signed-off-by: Bram Gruneir <bram@cockroachlabs.com>
2018-11-19 15:16:59 -08:00
Alex Robinson 17294c1906 [stable/cockroachdb] Bump default RequestCertsImageTag (#8345)
To include the fix added by https://github.com/cockroachdb/k8s/pull/14

Signed-off-by: Alex Robinson <alexdwanerobinson@gmail.com>
2018-11-04 13:06:14 -08:00
Nikhil Benesch d8bdbe1353 [stable/cockroachdb]: Update version to v2.0.6 (#8081)
Signed-off-by: Nikhil Benesch <nikhil.benesch@gmail.com>
2018-10-01 08:48:40 -07:00
Oliver a8cb0377d1 Added functionality to let us join an already existing cluster. (#7582)
* Added functionality to let us join an already existing cluster.

Signed-off-by: Oliver Isaac <oisaac@gmail.com>

* Added locality to values.yaml and README. Version bump.

Signed-off-by: Oliver Isaac <oisaac@gmail.com>

* Cleaned up trailing whitespace

Signed-off-by: Oliver Isaac <oisaac@gmail.com>

* Typo and join bug-fix

Signed-off-by: Oliver Isaac <oisaac@gmail.com>
2018-09-06 14:07:13 -07:00
Brandon Harper adb3bc965a Added a Tolerations option which is applied to the pods in the stateful set (#7369) 2018-08-27 12:10:18 -07:00
Oliver 4bcf57dc66 [stable/cockroachdb] Breakout ports to support Istio (#7269)
* [stable/cockroachdb] Added support for node selector

* Merge with charts/stable

* [stable/cockroachdb] Added support for node selector

* [stable/cockroachdb] Added support for node selector

new chart stable/mysqldump (#4069)

* new chart stable/mysqldump

Helps the user backup mysql databases to a persistent volume

* use chart.name from tpl, add app label

* add app/chart fixes to mysqldump-cron.yaml

* fix backoffLimit in wrong place.

* exit gracefully if db host not specified

Merge with charts/stable

* Chart version bump

* Added external and internal GRPC port as options. Also added options to customize service annotations. Need these for istio config.

* Updated README to include values I added. Reformatted the table so it reads pretty in plaintext

* cockroach chart version bump for istio work
2018-08-22 11:04:04 -07:00
Oliver aa93707cad Add NodeSelector to CockroachDB Pods (#7196)
* [stable/cockroachdb] Added support for node selector

* Merge with charts/stable

* [stable/cockroachdb] Added support for node selector

* [stable/cockroachdb] Added support for node selector

new chart stable/mysqldump (#4069)

* new chart stable/mysqldump

Helps the user backup mysql databases to a persistent volume

* use chart.name from tpl, add app label

* add app/chart fixes to mysqldump-cron.yaml

* fix backoffLimit in wrong place.

* exit gracefully if db host not specified

Merge with charts/stable

* Chart version bump
2018-08-15 10:15:00 -07:00
Alex Robinson c1611a941a [stable/cockroachdb]: Update version and fix typos in README (#7176) 2018-08-14 09:01:56 -07:00
Matt McNaughton b2c9f8514d Fix cockroachdb not abiding by resources reqs (#5629)
The containers in the stateful set were ignoring the resource requests
when specified in `values.yaml`. Comment out the resources requests
in `values.yaml`, so we only set requests if the user specifically
enables them.

I verified this is working by running `kubectl describe pod POD | grep
cpu` on one of the created pods on the fix branch. It returned `cpu:
"100m"`. On the master branch, the same command returned nothing.
2018-05-18 06:24:51 -07:00
Alex Robinson 13c704cac8 cockroachdb: Various improvements (#4876)
* cockroachdb: Add readiness/liveness probes

* cockroachdb: Switch from unready-endpoints annotation to proper field

This works as far back as Kubernetes 1.8, which means we're still
supporting the 3 most recently release versions of Kubernetes, more than
the 2 required by the README of this repo.

However, I'm leaving the annotation in because the field itself doesn't
work on 1.9.x: https://github.com/kubernetes/kubernetes/issues/58662

* cockroachdb: Add podManagementPolicy and UpdateStrategy
2018-04-19 02:49:59 -07:00
Alex Robinson a126777002 Bump cockroachdb chart to version 2.0.0 (#4745) 2018-04-06 00:08:08 -07:00
Alex Robinson e352f46ba3 Support secure mode in CockroachDB chart (#4463)
* Fix anti-affinity policy and bump version of cockroachdb chart

* Support secure mode in CockroachDB chart
2018-03-26 11:24:00 -07:00
Matt Cholick fffa07e9b9 [stable/cockroachdb] Add config for public service type (#4100)
* [stable/cockroachdb] Add config for public service type

* [stable/cockroachdb] Increment chart version
2018-03-10 12:21:10 -08:00
Alex Robinson 40ff0dbac8 Bump CockroachDB version to v1.1.5 (#3769)
Also remove two unused variables that I forgot to remove as part of
fa2ab88d8f
2018-02-25 11:36:43 -08:00
Alex Robinson a5783d62a6 Improvements to CockroachDB chart (#3380)
* Bump CockroachDB chart to v1.1.4

* Switch to safer initialization mechanism in CockroachDB chart

This removes the dependency on the peer-finder-based init container,
replacing it with a post-install hook that runs the `cockroach init`
command for initializing a CockroachDB cluster.

This removes a (very rare) potential edge case where a cluster could
end up in split brain if all pods went down, cockroachdb-0 lost its
disk, and the other pods didn't.

* cockroachdb: Change from alpha annotation to proper StorageClass field

* cockroachdb: Add test to verify cluster is reachable and functional
2018-01-19 19:57:26 -08:00
Alex Robinson f40cf77112 Bump CockroachDB chart's version and other small improvements to it (#3105)
* Add options for configuring cache and SQL memory to CockroachDB chart

* Bump CockroachDB version to v1.1.3

* Improve CockroachDB's PodDisruptionBudget

Letting only 1 go down is much safer and more accurately reflects the
desire of operators than allowing up to 33% to go down. It's
unfortunate that this bumps the minimum version by so much, but 1.7 is a
full two releases ago.
2017-12-22 09:15:36 -08:00
Joey Pereira 5bff4b77c5 Update CockroachDB tag to v1.1.0 (#2475) 2017-10-16 11:58:53 -07:00
Jordan Lewis 5db9418df7 Update CockroachDB tag to v1.0.5 (#1852)
* Update CockroachDB tag to v1.0.5

* Bump chart version
2017-09-04 13:40:30 -05:00
Dan (Turk) 20060e3ce9 Add NetworkPolicy for CockroachDB (#1594) 2017-08-09 16:20:18 -07:00
Tamir Duberstein 86325b14dd Update CockroachDB tag to v1.0.3 (#1446)
* Update CockroachDB tag to v1.0.3

* Bump chart version and add appVersion
2017-07-31 21:21:04 +02:00
Alex Robinson 53d4ba9b08 Support custom domains in the cockroachdb chart's init container (#1219)
This switches from using v0.1 of the peer-finder image to a version that
includes https://github.com/kubernetes/contrib/pull/2013

While I'm here, switch the version of cockroachdb from 1.0 to 1.0.1
2017-06-08 09:38:28 -07:00
Alex Robinson cb13bc616d Add explicit image tag to CockroachDB chart (#1060)
* Add explicit image tag to CockroachDB chart

* Remove CockroachDB liveness/readiness probes

This ensures the cluster can properly recover even if all the nodes are
brought down at once. More detailed explanation at:
github.com/kubernetes/test-infra/issues/1740#issuecomment-279555187

* Bump chart version

* Add --insecure to cockroach sql command

* cockroachdb: Add --insecure to README.md
2017-05-11 13:33:43 -07:00
Alex Robinson 06df61fdec Update CockroachDB chart for k8s 1.5 and promote to stable (#344)
* Update CockroachDB chart to work with StatefulSets on k8s 1.5

* Update CockroachDB to use pod anti-affinity and disruption budget

* Promote CockroachDB chart from incubator to stable
2017-01-18 15:57:02 -07:00