Commit Graph
46 Commits
Author SHA1 Message Date
Travis Nielsen 4f44ace92b clean up the licenses that are not actually from etcd-operator 2018-01-02 22:46:14 -08:00
Travis Nielsen 4c47adc80a move ceph sources under ceph folders 2017-12-28 13:34:05 -08:00
Travis Nielsen 82cce0d8af operator: remove versionTag in favor of container image version 2017-12-13 10:12:09 -08:00
Travis Nielsen 2a2d0774e7 agent: consume the generated clientset for attachments 2017-12-11 14:35:07 -08:00
Travis Nielsen 0298d1fb29 completed conversion for k8s 1.8 client conversion
move core rados packages under cluster folder

move daemons under daemon pkg

rename flex crd package to attachment

pin dep to k8s 1.8.2
2017-12-11 14:35:07 -08:00
Jared Watts 3c1dd6e6eb clean up outstanding rbd devices during cluster deletion 2017-11-03 17:43:54 -07:00
Bassam Tabbara 8e2c6dd090 remove dependency on external-storage project
moved external-storage/libcontroller into rook/rook for now. this helps us have a greater control over versioning it and keeping it updated as Kubernetes changes.
2017-10-27 16:55:46 -07:00
Bassam Tabbara 293667b59f use rook/operator-kit instead of our private copy 2017-10-27 13:16:06 -07:00
Steve Leon b4279e06fb Rook plugin for Kubernetes implemented as flexvolume
- Operator is deployed under namespace rook-system
- Operator deploys rook-agent on all nodes as daemonset also on
  rook-system
- Rook-agent installs flexvolume driver on hosts
- Rook-agent listens on unix socket for driver requests
- Rook-agent perform attach/detach on its node
- Rook-agent creates/delete CRD volumeattach objects
- Added fencing to support ROX and RWO
- Added unit and integration tests
- Updated examples and docks

fixes #432
2017-10-09 09:14:08 -07:00
Travis Nielsen ba628c6307 cephfs: create file system with a CRD
- multiple file systems are allowed
- multiple mds instances are allowed per file system.
- a keyring is created per mds instance
- double the desired mds instances are started, half in standby mode
2017-10-05 14:21:48 -07:00
Travis Nielsen c2f4aab89c rgw: object store crd creates a realm and rgw services 2017-09-19 15:31:53 -07:00
Travis Nielsen 466053bfc0 operator: remove provisioner dependence on rest api 2017-08-03 17:47:03 -07:00
Steve Leon 709b7ddafe Using CRD instead of TPR
- Use CRD for clusters and pools
- For k8s before 1.7.0, TPR will be used
- Also use the watcher libraries in client-go
2017-07-27 16:14:52 -07:00
Travis Nielsen f3640887f3 golint cleanup for the operator 2017-07-24 17:24:24 -07:00
Steve Leon 668ed5d25b Incorporating new Kubernetes API changes
- This is needed to make it compatible with k8s 1.8
2017-07-13 11:08:07 -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
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
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
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 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 2d1c150539 detect if mons are healthy 2017-03-23 11:00:26 -07:00
Travis Nielsen a5ad737b9a return success when tpr already exists 2017-03-13 09:31:56 -07:00
Travis Nielsen e0e829ed25 Rook operator unit tests 2017-03-09 15:24:33 -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 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
Travis Nielsen a07afb2e10 flag to allow osds to use all devices 2017-02-16 10:56:16 -08:00
Travis Nielsen 8e96bcb822 create the file system with the rest api call 2017-02-09 14:36:01 -08:00
Travis Nielsen b9c6f6bb60 operator starts a rest api service with some placeholder implementation 2017-02-09 13:48:10 -08:00
Travis Nielsen a414d64b82 operator configures a file system and starts mds 2017-02-08 15:46:47 -08:00
Travis Nielsen a6b4430d8a start the rgw service 2017-02-01 09:50:02 -08:00
Travis Nielsen ba35f0a788 rook operator in a k8s deployment 2017-02-01 09:50:02 -08:00
Travis Nielsen 507580df70 take container version as an operator argument 2017-02-01 09:50:02 -08:00
Travis Nielsen 815da36b0e start mons one at a time 2017-02-01 09:50:02 -08:00
Travis Nielsen fbd1a0ce91 create osd daemon set for filestore and bluestore osds 2017-02-01 09:50:02 -08:00
Travis Nielsen 4d28447239 end to end single monitor pod launched by the operator 2017-02-01 09:50:02 -08:00
Travis Nielsen 0601091388 basic operator to launch placeholder services 2017-02-01 09:48:53 -08:00