Commit Graph
413 Commits
Author SHA1 Message Date
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
Michael Goff 82d49f6b3a api: Added more bucket ops to the api
cli: Added a few more bucket ops to the cli
2017-05-24 14:43:34 -07:00
Travis Nielsen a74ceb724c allow overriding ceph settings through a configmap 2017-05-16 10:30:57 -07:00
Travis Nielsen 36841a8071 regenerate the osd config file at startup 2017-05-15 17:17:49 -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 58aa72a254 remove dependency on bash 2017-05-05 12:25:31 -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
Lorenz Brun 6752115d7f Do not try to dump partition tables of RBD devices 2017-05-01 19:46:06 +02: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
Jared Watts d185e6b2cf For bluestore OSDs look at the data partition size to determine CRUSH weight 2017-04-14 15:12:25 -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
Jared Watts 2f03f2b94a API: Log errors encountered when getting nodes 2017-04-10 13:05:04 -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
Jared Watts 75bb22785d Update API routes to use DELETE verb and URL query params 2017-03-22 11:51:25 -07:00
Jared Watts 8343c7c6cf Rook cmd and API support to delete block images. IOContext.Destroy func to clean up IOContexts wherever they are used. 2017-03-22 11:51:25 -07:00
Jared Watts e9e86073a7 Prometheus metrics collectors for Rook (adapted from digitalocean/ceph_exporter) 2017-03-14 11:25:47 -07:00
Jared Watts e0ccd9c1c9 Expose metrics for Rook with Prometheus (sans collectors) 2017-03-14 11:25:47 -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
Bassam Tabbara 6e84b161fa build: separate externals into their own project
Move external packages including ceph into a separate project under
the externals subdir.
2017-03-06 14:51:32 -08:00