Commit Graph
59 Commits
Author SHA1 Message Date
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
keith-mcclellan a09be94d88 stable/cockroachdb Updated README.md w/ upgrade instructions (#14029)
Updated README to direct to CockroachDB documentation on the Helm chart, and to provide updated upgrade guidance.

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

Signed-off-by: Keith McClellan <keith.mcclellan@gmail.com>

	modified:   Chart.yaml

Signed-off-by: Keith McClellan <keith.mcclellan@gmail.com>
2019-05-21 16:18:05 -07:00
Alex Robinson e0ca5d137f [stable/cockroachdb]: Add more OWNERS to cockroachdb chart (#13889)
These three all have good knowledge of CockroachDB and experience
running it in production on Kubernetes.

Signed-off-by: Alex Robinson <alexdwanerobinson@gmail.com>
2019-05-20 22:58:41 -07:00
Carlos Tadeu Panato Junior 1945219b16 add apiVersion (#13773)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-05-14 13:57:38 -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
Jonas Eckerström 8b0c27790d [cockroachdb] Document that windows hostpath provisioner is not supported (#11928)
Signed-off-by: Jonas Eckerström <jonaseck@gmail.com>
2019-03-07 12:48:05 -08: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
schantaraud 901997c06c CockroachDB: allow init job to connect with network policies (#9943)
Sets client label on init job when NetworkPolicy.Enabled and !NetworkPolicy.AllowExternal

Signed-off-by: Samuel Chantaraud <samuel.chantaraud@messagepoint.com>
2018-12-13 01:00:45 -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
Alex Robinson bc6db0d51a [stable/cockroachdb] Warn about default disk size, improve NOTES format (#7828)
The default disk size of 1 GiB can cause mistakes (e.g.
https://stackoverflow.com/q/52245811/1925481), but is needed in
order to work in environments like Minikube.

And I don't know what's going on with the way that line breaks work in
NOTES.txt, but this is what makes it render properly.

Signed-off-by: Alex Robinson <alexdwanerobinson@gmail.com>
2018-10-18 10:50:12 -07:00
Alex Robinson 7ee583b4a3 [stable/cockroachdb] Clean up parameter list in README (#8022)
* Add missing NodeSelector option
* Replace obsolete Cpu and Memory options with Resources option
* Touch up a couple descriptions and defaults, reorder to better match
  values in values.yaml

Signed-off-by: Alex Robinson <alexdwanerobinson@gmail.com>
2018-10-14 14:26:53 -07:00
Rio Kierkels 85cddea40f fix(stable/cockroachdb): Add an explicit selector to the StatefulSet (#8109)
This was preventing any upgrades because kubernetes made the selector
immutable and the chart version changes between upgrades of charts.

fix #8102

Signed-off-by: Rio Kierkels <riokierkels@gmail.com>
2018-10-04 13:41:55 -07: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
Alex Robinson 5c8e924545 Make cockroachdb chart work with --wait flag on helm install (#6964)
We had a deadlock of sorts. --wait waits until all pods are ready.
postinstall hooks don't run until after --wait is done waiting. The pods
won't be ready until the `init` job runs, which was a postinstall hook.

This gets around that by making the init command run as part of the
chart rather than as a postinstall hook. I added a bash retry loop for
the init command to get around the lack of ability to configure pod
restart backoffs in Kubernetes.
2018-08-12 11:25:53 -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
Matt Farina 74a23f7efb Include pre-releases in the semver ranges (#4634)
This is important when testing against alpha and beta builds of
Kubernetes along with environments that use pre-releases to denote
things other than pre-releases (e.g., gke denotes the environment
with a pre-releases)
2018-04-03 07:39:07 -07:00
Matt Farina df2610ad3f Fixing version comparisons from strings to semver (#4596)
* Fixing version comparisons from strings to semver

This impacts the jump to kubernetes 1.10. For more information
see issue 3002

* Updating chart owner to github id
2018-04-02 10:15:03 -07:00
AdamDang 4acb2b9fd0 typo fix (#4545)
* Update Chart.yaml

* Update README.md

Delete duplicated it
2018-03-31 14:18:02 -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
AdamDang 27314d16fe Typo fix in cockroachdb/README.md (#4302)
* add version for cockroachdb

add version for cockroachdb

* Typo fix in cockroachdb/README.md

Typo fix in cockroachdb/README.md
2018-03-21 04:10:02 -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
Lachlan Evenson 57fe41278c add owners (#3911) 2018-03-02 09:41:51 -08:00
Roy Hvaara 328e15ac64 Update readme to reflect move from incubator to stable for cockroachdb (#3858)
* Update readme to reflect move from incubator to stable for cockroachdb

* Bump chart version

* Update Chart.yaml
2018-02-25 11:45:44 -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
kevinschumacher 34e306e831 [stable/cockroachdb] #1785 namespace defined templates with chart name (#1984) 2017-09-10 11:50:14 -05: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
Sameer Naik ba518c2141 cockroachdb: fix invalid volume spec in StatefulSet resource (#1713) 2017-08-13 20:02:57 +02:00
Dan (Turk) 20060e3ce9 Add NetworkPolicy for CockroachDB (#1594) 2017-08-09 16:20:18 -07:00