Commit Graph
49 Commits
Author SHA1 Message Date
Christian HüningandKubernetes Prow Robot 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ömandKubernetes Prow Robot 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 VossandKubernetes Prow Robot 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
RaduBerindeandKubernetes Prow Robot 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 VawterandKubernetes Prow Robot 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 DarnellandKubernetes Prow Robot 23f8f3f9fb cockroachdb: Update to 2.1.3 (#10086)
Signed-off-by: Ben Darnell <ben@cockroachlabs.com>
2018-12-18 18:51:29 -08:00
schantaraudandKubernetes Prow Robot 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 VanBenschotenandKubernetes Prow Robot 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 Gruneirandk8s-ci-robot 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 Gruneirandk8s-ci-robot 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 Robinsonandk8s-ci-robot 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 Robinsonandk8s-ci-robot 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 Robinsonandk8s-ci-robot 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 Kierkelsandk8s-ci-robot 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 Beneschandk8s-ci-robot 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
Oliverandk8s-ci-robot 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 Harperandk8s-ci-robot adb3bc965a Added a Tolerations option which is applied to the pods in the stateful set (#7369) 2018-08-27 12:10:18 -07:00
Oliverandk8s-ci-robot 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
Oliverandk8s-ci-robot 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 Robinsonandk8s-ci-robot c1611a941a [stable/cockroachdb]: Update version and fix typos in README (#7176) 2018-08-14 09:01:56 -07:00
Alex Robinsonandk8s-ci-robot 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 McNaughtonandk8s-ci-robot 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 Robinsonandk8s-ci-robot 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 Robinsonandk8s-ci-robot a126777002 Bump cockroachdb chart to version 2.0.0 (#4745) 2018-04-06 00:08:08 -07:00
Matt Farinaandk8s-ci-robot 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 Farinaandk8s-ci-robot 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
AdamDangandk8s-ci-robot 4acb2b9fd0 typo fix (#4545)
* Update Chart.yaml

* Update README.md

Delete duplicated it
2018-03-31 14:18:02 -07:00
Alex Robinsonandk8s-ci-robot 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
AdamDangandk8s-ci-robot 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 Cholickandk8s-ci-robot 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 Evensonandk8s-ci-robot 57fe41278c add owners (#3911) 2018-03-02 09:41:51 -08:00
Roy Hvaaraandk8s-ci-robot 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 Robinsonandk8s-ci-robot 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 Robinsonandk8s-ci-robot 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 Robinsonandk8s-ci-robot 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 PereiraandVic Iglesias 5bff4b77c5 Update CockroachDB tag to v1.1.0 (#2475) 2017-10-16 11:58:53 -07:00
kevinschumacherandMichael Goodness 34e306e831 [stable/cockroachdb] #1785 namespace defined templates with chart name (#1984) 2017-09-10 11:50:14 -05:00
Jordan LewisandMichael Goodness 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 NaikandReinhard Nägele ba518c2141 cockroachdb: fix invalid volume spec in StatefulSet resource (#1713) 2017-08-13 20:02:57 +02:00
Dan (Turk)andLachlan Evenson 20060e3ce9 Add NetworkPolicy for CockroachDB (#1594) 2017-08-09 16:20:18 -07:00
Tamir DubersteinandReinhard Nägele 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 RobinsonandVic Iglesias 9f264ae2a7 cockroachdb: Move init container and pod affinity out of annotations (#1326)
* cockroachdb: Move init container and pod affinity out of annotations

This makes the chart only work on clusters running 1.6 newer, but
was requested (at least the affinity part) in #1306.

* cockroachdb: Rename file from petset to statefulset

* [stable/cockroachdb] Fix whitespace in replicas
2017-07-17 17:43:38 -07:00
Frederic HembergerandReinhard Nägele 912f50c716 Use consistent whitespace in template placeholders (#1437)
Use consistent whitespace in template placeholders
2017-07-09 21:11:24 +02:00
Zhou TaoandReinhard Nägele db189d910f change template file name from petset to statefulset for cockroachdb (#1273) 2017-06-24 17:36:19 +02:00
Alex RobinsonandLachlan Evenson 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 RobinsonandVic Iglesias 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
Adnan AbdulhusseinandLachlan Evenson 6c4d9e25cd [stable/cockroachdb] update description and add icon (#568)
* [stable/cockroachdb] update description and add icon

* Version bump
2017-02-12 20:18:50 -08:00
Reinhard NägeleandAdnan Abdulhussein abe8e7efae [stable/cockroachdb] Remove helm.sh/created annotations (#504)
* [stable/cockroachdb] Remove helm.sh/created annotations

* cockroachdb: bump version to 0.2.1
2017-01-27 14:26:13 -08:00
Alex RobinsonandLachlan Evenson 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