Commit Graph
90 Commits
Author SHA1 Message Date
Travis Nielsen 4e6774c063 remove legacy standalone code 2017-10-17 12:23:57 -07:00
Alexander Trost 2873558ecd operator/mon: health check improvements
Added unit test for monNotFound or recreation/failover of non existant mons
2017-10-17 19:34:39 +02:00
Travis Nielsen 12012a516f Merge pull request #1069 from galexrt/fix/990
Rook API service: Keep up with mon changes
2017-10-13 10:26:23 -07:00
Alexander Trost bcbb4c71b5 api: Implementation for #990
api: Implement feedback #990

Thanks @kokhang for the help!

Fix build issues caused by wrong package used for api
2017-10-13 17:33:28 +02:00
Travis Nielsen b2283a1d82 rados: delete the corresponding ceph pools when CRDs are deleted 2017-10-12 22:37:22 -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 9ab4695449 crush: set failure domain for pools 2017-10-05 17:23:12 -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 38db4c2326 standalone: remove cluster handler in favor of k8s handler 2017-10-05 14:21:47 -07:00
Travis Nielsen 0a8d7b2e2c rgw: proper naming for the ObjectStore crd 2017-09-29 15:49:23 -07:00
Travis Nielsen ba59f3da90 rgw: recreate the pods if the spec changes 2017-09-20 09:43:55 -07:00
Travis Nielsen 4f4e08e1a5 tests: e2e test for creating the object store crd 2017-09-19 15:31:53 -07:00
Travis Nielsen 0553f6e512 rgw: support http and https ports both listening 2017-09-19 15:31:53 -07:00
Travis Nielsen dce1e97381 rgw: api support for multiple object stores 2017-09-19 15:31:53 -07:00
Travis Nielsen 748d8455aa rgw: support deleting an object store 2017-09-19 15:31:53 -07:00
Travis Nielsen ce997bbaf6 rgw: get configured object stores 2017-09-19 15:31:53 -07:00
Travis Nielsen c2f4aab89c rgw: object store crd creates a realm and rgw services 2017-09-19 15:31:53 -07:00
Alexander Trost 4f4f727bcd Added hostNetwork option to cluster spec 2017-09-18 19:57:20 +02:00
Travis Nielsen 5306c1c9f3 rgw: avoid double encoding of certificate secret 2017-09-07 13:03:07 -07:00
Travis Nielsen ac073dd448 rgw: add support for ssl cert 2017-09-06 16:55:23 -07:00
Travis Nielsen 15809f4842 rgw: support pool config during object store creation 2017-09-06 16:55:23 -07:00
Travis Nielsen bb6e05ec57 rgw: support alternate object store realms 2017-09-06 10:59:32 -07:00
Jared Watts 099cc27b73 ceph: set application tag when creating pool 2017-08-14 09:08:30 -07:00
Jared Watts ed7f757c06 monitoring: update metrics collection for new Ceph Luminous formats 2017-08-11 15:50:55 -07:00
Travis Nielsen ec181c0390 logs: stop writing the frequent health check 2017-08-07 10:58:52 -07:00
Travis Nielsen af8dd0d97a metrics: updated stats for luminous 2017-08-01 20:43:27 -07:00
Bassam Tabbara cdc26ef162 enable 'gofmt -s' and fix issues 2017-07-16 21:24:13 -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 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 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
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 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
Jared Watts 2f03f2b94a API: Log errors encountered when getting nodes 2017-04-10 13:05:04 -07:00
Travis Nielsen 7ba9e8e7c2 merge rook-operator binary wtih rookd 2017-03-30 12:45:11 -07:00
Travis Nielsen 175003ed6a use namespace for ceph cluster name 2017-03-22 23:16:53 -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 e0ccd9c1c9 Expose metrics for Rook with Prometheus (sans collectors) 2017-03-14 11:25:47 -07: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
Travis Nielsen 1573bdb1dd update to the k8s 2.0 client 2017-02-23 14:50:21 -08:00