Commit Graph
170 Commits
Author SHA1 Message Date
Travis Nielsen a5da34fe4c operator: refactor to work with multiple TPRs 2017-06-28 08:43:27 -07:00
Jared Watts d4c31e2799 osd: create a default crushmap that is firefly compatible 2017-06-20 20:57:46 -07:00
Jared Watts 585501b925 use an output file when invoking ceph commands to isolate the payload from any logging 2017-06-20 20:57:46 -07:00
Travis Nielsen 523999b517 object store with passing unit tests and e2e tests 2017-06-20 20:57:46 -07:00
Travis Nielsen 6177aff963 rename rook k8s artifacts for consistency 2017-06-20 20:57:46 -07:00
Travis Nielsen ac27d1f590 use the correct existing key for osd auth and add dash to ceph pod names 2017-06-20 20:57:46 -07:00
Travis Nielsen ef4ea21913 operator: start a pod for the ceph-mgr 2017-06-20 20:57:46 -07:00
Travis Nielsen fab106a16c Unit tests passing except api after the refactor 2017-06-20 20:57:46 -07:00
Travis Nielsen c122562a7d Rook refactor to call external ceph tools instead of embedded ceph
Remove all cgo from the code base, and start the transformation to calling external ceph tools to generate config and start daemons.
2017-06-20 20:57:45 -07:00
Dimitrios Karagiannis 9ce033467a operator: introduces placement configuration for k8s
this enables control over where pods get scheduled in a kube cluster,
using nodeAffinity and tolerations
2017-06-14 14:44:14 +00:00
Jared Watts d05d074bb9 Fix gofmt issue and update makefile to print and fail upon gofmt errors instead of updating the files inline. 2017-06-13 22:08:04 -07:00
Travis Nielsen afd90cd3c2 an unschedulable node will not be scheduled for mons 2017-06-07 15:18:59 -07:00
Travis Nielsen 4710b63e65 mons are a replicaset instead of started directly as a pod 2017-06-05 15:14:10 -07:00
Travis Nielsen a74ceb724c allow overriding ceph settings through a configmap 2017-05-16 10:30:57 -07:00
Travis Nielsen 6a19d67b7b mon failover retries same mon instead of creating many 2017-05-15 15:03:14 -07:00
Travis Nielsen 74a014ae9b restore support for k8s 1.5 2017-05-15 13:06:11 -07:00
Travis Nielsen 7d08447cdb reset the pool tpr watch index on failure 2017-05-03 12:38:28 -07:00
Travis Nielsen 146868152b create a cluster role for the api service 2017-05-03 09:55:30 -07:00
Travis Nielsen 012b7cc2dc ensure the cluster channel is closed once 2017-04-28 13:51:12 -07:00
Jared Watts be2e27db11 Ensure block images created by the operator's provisioner do not exceed 100 chars 2017-04-20 16:28:29 -07:00
Travis Nielsen 8c60415965 set hostname of osd container to the host's name 2017-04-20 11:25:42 -07:00
Travis Nielsen f5baf6be07 rename rookpool and rookcluster to pool and cluster 2017-04-17 17:13:14 -07:00
Steve Leon 236468119e Added volume provisioner to Rook
- The provisioner is a Kubernetes external volume provisioner
- It calls the Rook API to create and delete volumes on behalf
  of Kubernetes
- It automatically discover Ceph monitor endpoints
- It locates RBD ceph user keys based on the Rook cluster location
- It uses the in-tree RBD volume plugin to do the map/unmap
- Also modify the documentation to reflect the changes on the
  storageclass
2017-04-17 15:20:44 -07:00
Travis Nielsen e8514cf004 refactor the k8s context to the k8sutil package 2017-04-13 15:38:22 -07:00
Travis Nielsen 36885113b9 retry initializing a cluster instead of giving up 2017-04-13 15:38:22 -07:00
Travis Nielsen f5a71a8f3f base the secret name on the cluster name instead of namespace 2017-04-12 15:56:40 -07:00
Steve Leon c46c076096 Updating dependency to support K8S 1.6 2017-04-12 13:27:55 -07:00
Travis Nielsen 00149faec8 Cluster uses metadata name and namespace instead of the spec namespace 2017-04-12 11:36:26 -07:00
Travis Nielsen ac61476a3c error handling for operator watching tprs 2017-04-11 12:01:52 -07:00
Travis Nielsen d685481c10 watch for pool tprs inside the cluster namespace 2017-04-11 12:01:52 -07:00
Travis Nielsen 0ff59a00ea rename tpr version to alpha 2017-04-10 08:49:47 -07:00
Jared Watts e5cca80654 Operator and cephmgr support for specifying storage resources and configuration 2017-04-04 15:32:49 -07:00
Travis Nielsen a4f947d279 data devices in env var to avoid escaping issues 2017-03-31 10:13:08 -07:00
Travis Nielsen 7ba9e8e7c2 merge rook-operator binary wtih rookd 2017-03-30 12:45:11 -07:00
Travis Nielsen f0f70b458a create pools through a tpr 2017-03-27 19:33:59 -07:00
Travis Nielsen 8967dcc4cb refactor tprs to support both clusters and pools 2017-03-27 09:47:27 -07:00
Travis Nielsen a16f6fc9dc failover a monitor when unhealthy 2017-03-23 11:00:31 -07:00
Travis Nielsen 2d1c150539 detect if mons are healthy 2017-03-23 11:00:26 -07:00
Travis Nielsen 175003ed6a use namespace for ceph cluster name 2017-03-22 23:16:53 -07:00
Travis Nielsen fef56b31cc save the mon endpoints in a configmap and consume from pods 2017-03-22 23:14:26 -07:00
Travis Nielsen 02fe77d907 refactor clientset parameter 2017-03-22 23:12:57 -07:00
Travis Nielsen 1b2fb96574 allow specifying a host path for the data-dir 2017-03-22 16:32:00 -07:00
Travis Nielsen a5ad737b9a return success when tpr already exists 2017-03-13 09:31:56 -07:00
Travis Nielsen 87b5805708 evaluate a reg expression for selecting devices 2017-03-09 16:09:56 -08:00
Travis Nielsen e0e829ed25 Rook operator unit tests 2017-03-09 15:24:33 -08:00
Travis Nielsen 125e3873e4 use the k8s errors package 2017-03-08 15:46:31 -08:00
Travis Nielsen 69ce2009cd allow multiple instances of rook, but only one that uses devices 2017-03-03 13:42:17 -08:00
Travis Nielsen 317ba0ec33 async start and resuming of clusters when operator starts 2017-03-02 14:35:03 -08:00
Travis Nielsen b9ddb01708 support starting a rook cluster in another namespace 2017-02-27 15:18:28 -08:00
Travis Nielsen d10002b4af delay starting rgw until an api call 2017-02-24 15:58:35 -08:00