Travis Nielsen
4c22dc4fc2
operator: implement a finalizer for the cluster
2018-01-10 10:48:17 -08:00
Travis Nielsen
e874bfa751
cluster: set owner reference on child resources
2018-01-10 10:48:17 -08:00
Travis Nielsen
9b94111dd2
consolidate the kvstore interface
2018-01-03 08:36:43 -08:00
Travis Nielsen
4f44ace92b
clean up the licenses that are not actually from etcd-operator
2018-01-02 22:46:14 -08:00
Travis Nielsen
82cce0d8af
operator: remove versionTag in favor of container image version
2017-12-13 10:12:09 -08:00
Travis Nielsen
021046792b
Merge pull request #1153 from bassam/pr-kube-1.8
...
Upgrading client to kubernetes 1.8 with code generation
2017-12-12 12:35:18 -08:00
Steve Leon
735d2e7155
Not create rbac roles on k8s cluster that have rbac disabled.
...
Fixes https://github.com/rook/rook/issues/1221
2017-12-11 14:55:11 -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
Seán C McCord
991d100de5
Fix argument parameter match
...
Fixes #1250
2017-11-20 13:19:21 -05:00
Alexander Trost
434e978b4d
Added v1.ResourceRequirements to Cluster Spec
...
Added per node resource override/merge
Added unit tests to check for specs
Added documentation for resource requests/limits
2017-11-16 19:56:58 +01:00
Steve Leon
544b208ac7
Create RBAC roles and service account for agents
...
fixes https://github.com/rook/rook/issues/1041
2017-11-03 11:12:56 -07:00
Jared Watts
fe2ae89f37
Fix the multiple cluster integration tests by updating api/osd RBAC settings to be scoped to just a single namespace
2017-10-18 13:28:13 -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
Jared Watts
113e861020
osd: Allow OSDs to recover from losing all their metadata and config
2017-10-03 15:54:02 -07:00
Alexander Trost
2c87b1c5de
Added podAffinity and podAntiAffinity
...
Initialize the affinity for the pod spec once
2017-09-12 18:08:55 +02:00
Travis Nielsen
ac073dd448
rgw: add support for ssl cert
2017-09-06 16:55:23 -07:00
Bassam Tabbara
e9a2aabdd9
rename ROOKD_ env to ROOK_
2017-08-04 09:51:23 -07:00
Travis Nielsen
2df3d9f5bf
daemon: set public and cluster addr in the ceph config
2017-08-04 00:04:50 -07:00
Travis Nielsen
7d084fa3c7
operator: mons based on service ip instead of pod ip
2017-08-04 00:04:50 -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
Bassam Tabbara
cdc26ef162
enable 'gofmt -s' and fix issues
2017-07-16 21:24:13 -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
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
Travis Nielsen
ef4ea21913
operator: start a pod for the ceph-mgr
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
Travis Nielsen
a74ceb724c
allow overriding ceph settings through a configmap
2017-05-16 10:30:57 -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
Jared Watts
e5cca80654
Operator and cephmgr support for specifying storage resources and configuration
2017-04-04 15:32:49 -07:00
Travis Nielsen
7ba9e8e7c2
merge rook-operator binary wtih rookd
2017-03-30 12:45:11 -07:00
Travis Nielsen
125e3873e4
use the k8s errors package
2017-03-08 15:46:31 -08:00
Travis Nielsen
b9ddb01708
support starting a rook cluster in another namespace
2017-02-27 15:18:28 -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
Travis Nielsen
a414d64b82
operator configures a file system and starts mds
2017-02-08 15:46:47 -08:00
Travis Nielsen
37d85a374b
cleanup the command line arguments and other PR feedback
2017-02-01 11:00:09 -08:00
Travis Nielsen
507580df70
take container version as an operator argument
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