Commit Graph
252 Commits
Author SHA1 Message Date
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
Bassam Tabbara f65c8ede09 ceph: pickup luminous build 2017-03-06 14:51:32 -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 a3e04a9f39 only use data dir if devices are not specified 2017-02-24 17:34:12 -08:00
Travis Nielsen d10002b4af delay starting rgw until an api call 2017-02-24 15:58:35 -08:00
Travis Nielsen 34b6ad32d7 use third party resources to trigger cluster creation 2017-02-24 15:57:37 -08:00
Travis Nielsen 1573bdb1dd update to the k8s 2.0 client 2017-02-23 14:50:21 -08:00
Travis Nielsen 18ee98131c create the rbd client access in the default namespace 2017-02-23 12:17:02 -08:00
weekface d2a04d8615 support customize repository prefix of image through environment
ROOK_OPERATOR_REPO_PREFIX=quay.io/rook
2017-02-22 15:05:32 +08:00
Travis Nielsen a7ee0edcb9 copy the admin secret for storage class consumtpion 2017-02-21 16:11:59 -08:00