Commit Graph

12 Commits

Author SHA1 Message Date
Michail Kargakis 3c4a8fbd23 examples: use 'kubectl scale' in cockroach statefulset example 2016-12-23 15:37:18 +01:00
Janet Kuo 3008946889 Remove initialized annotation from statefulset examples 2016-11-23 10:40:42 -08:00
Jimmy Cuadra 7c8101ab3d Rename PetSet to StatefulSet in docs and examples. 2016-11-05 00:17:28 -07:00
Janet Kuo f48c788a68 Replace apps/v1alpha1 with apps/v1beta1 and manually remove generated apps/v1alpha1 files
Manually remove generated apps/v1alpha1 types, protobuf, and api-reference doc files
Manually remove apps/v1alpha1 folder from 1.5 generated client
2016-11-02 15:16:23 -07:00
Alex Robinson 1e6f19829b Improve CockroachDB example
* Use an init container to eliminate potential edge case where losing
  the first pet's could cause it to start a second logical cluster
* Exec the cockroach binary so that it runs as PID 1 in the container
* Make some small improvements to the README
2016-10-31 15:48:41 -04:00
Tim Hockin e87fd7b5f0 Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
Alex Robinson 1feb0f0d7d Don't tolerate unready endpoints in cockroachdb example
That was only included in the initial config due to cargo-culting, and
has the potential to break node startup if it resolves its own address
to gossip to.
2016-09-29 15:36:55 -04:00
Kubernetes Submit Queue 01d096a1d8 Merge pull request #31125 from a-robinson/example-petset-cockroachdb
Automatic merge from submit-queue

Productionize the cockroachdb example a little more

Includes:
* A service for clients to use
* Readiness/liveness probes
* An extended graceful termination period
* Automatic prometheus monitoring (when prometheus is configured to watch for annotations on services, as in [CoreOS's recent blog post](https://coreos.com/blog/prometheus-and-kubernetes-up-and-running.html), for example)

I'm leaving the management of certs to future work, but if anyone that sees this needs help with them in the meantime, don't hesitate to reach out.

Successor to #28446

@bprashanth - if you're still interested in / open to an e2e test (as mentioned in https://github.com/cockroachdb/cockroach/issues/5967#issuecomment-230188807), let me know and I'll put one together. If so, I assume you'd want it as part of the `petset` test group rather than the `examples` tests?

cc @tschottdorf 

**Release note**:
```release-note
NONE
```
2016-09-10 05:03:51 -07:00
David McMahon 63e1c77a21 Update the latestReleaseBranch to release-1.4 in the munger. 2016-09-01 14:40:55 -07:00
Alex Robinson 862ae8c255 Productionize the cockroachdb example a little more
Includes:
* A service for clients to use
* Readiness/liveness probes
* An extended graceful termination period
* Easy clean-up of all created resources
2016-08-24 15:03:17 -04:00
Alex Robinson 718c90a883 Add automatic prometheus monitoring to the cockroachdb example 2016-08-22 10:55:01 -04:00
Tobias Schottdorf abc07f328e Add a CockroachDB PetSet example
The example starts a simple five-node cluster with otherwise
default setting (in particular, 3x replication).
2016-08-18 15:59:06 -04:00