Commit Graph
283 Commits
Author SHA1 Message Date
Bassam Tabbara 6188a9bf41 switch quay.io/rook with rook 2017-06-28 22:21:05 -07:00
Bassam Tabbara bc02e76f2d rename rookd to rook 2017-06-28 22:21:05 -07:00
Travis Nielsen bde8e61734 operator: refactor kube context into the kit package 2017-06-28 12:49:59 -07:00
Travis Nielsen 5d58bc27cb operator: refactor use of tprs for the operator kit 2017-06-28 11:44:51 -07:00
Travis Nielsen a5da34fe4c operator: refactor to work with multiple TPRs 2017-06-28 08:43:27 -07:00
Jared Watts 2359ca5249 osd: include metadata devices when launching OSD daemon in Kubernetes 2017-06-26 17:54:22 -07:00
Travis Nielsen 059987e6cf build: unit tests pass on mac 2017-06-23 16:00:21 -07:00
Jared Watts 46c90d5361 add 'mgr allow *' caps to client.admin 2017-06-21 12:24:12 -07:00
Travis Nielsen cb5741989b log all output of commands executed with an output file 2017-06-21 11:29:14 -07:00
Jared Watts e4045eb74b Use blkid to get PARTLABEL because lsblk depends on udev which isn't available in containers 2017-06-21 10:02:41 -07:00
Jared Watts d4c31e2799 osd: create a default crushmap that is firefly compatible 2017-06-20 20:57:46 -07:00
Jared Watts 060148de2c Include sgdisk and crushtool in our containers. Do not restrict RBD image sizes and remove obsolete image/ioctx types. Fix whitespace in rook-cluster.yaml sample manifest 2017-06-20 20:57:46 -07:00
Travis Nielsen badd32ef34 standalone: ceph-mgr service orchestrated 2017-06-20 20:57:46 -07:00
Travis Nielsen 2b7cbb6066 round image size up to 1MB 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 0a035ed402 support for RBD images, all api tests passing
RBD image support fixes, ensure /etc/ceph is created in toolbox image, return output string in exec even for errors because the ceph tools return useful information there upon error
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
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