- 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>
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>
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>
* 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>
* [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
* [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
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.
* 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
* 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
* 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.
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
* 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
* 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