Steve Leon
b73d5ddeb5
Add toleration for agent daemonset
...
Fixes https://github.com/rook/rook/issues/1295
2017-12-12 18:33:44 -08:00
Alexander Trost
c9f9c930d7
op/osd: Replace directories usages with selection.directories
2017-12-12 14:39:02 -06: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
2a2d0774e7
agent: consume the generated clientset for attachments
2017-12-11 14:35:07 -08:00
Travis Nielsen
e2bd9276bf
consume the generated rook clientset
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
Bassam Tabbara
9b611abda7
inital attempt at upgrading to kubernetes 1.8
...
Update all K8s dependencies to the release-1.8 branches.
Added build and make file support for generating code.
Fixed our use of client-go to match changes in new release.
2017-12-11 14:34:24 -08:00
Alexander Trost
ad4242cdd2
Add cluster wide directories path
2017-11-30 17:25:19 +01:00
Jared Watts
9da4d286d2
api: recreate mon endpoint watcher when the result channel is closed
2017-11-29 17:00:50 -08:00
Jared Watts
d250f5694e
Merge pull request #1253 from Ulexus/bug-1252
...
operator: add existence checks for FlexVolume spec on Delete
2017-11-28 11:44:18 -08:00
Jared Watts
faa2baee4b
Unmarshal volume plugin dir from kubelet config response for 1.8
2017-11-27 10:06:20 -08:00
Seán C McCord
39e68a3c2b
Add existence checks for FlexVolume on Delete
...
This is a rather noisesome way of checking something which will only
happen during legacy conversion, so this may not be a desirable patch.
2017-11-20 21:47:27 -05:00
Seán C McCord
991d100de5
Fix argument parameter match
...
Fixes #1250
2017-11-20 13:19:21 -05:00
Bassam Tabbara
114721e272
Merge pull request #1240 from kokhang/modprobe-fix
...
Use modprobe and modinfo from the container
2017-11-17 09:51:08 -08:00
Steve Leon
0e5bec097b
Use modprobe and modinfo from the container
...
Fixes https://github.com/rook/rook/issues/1239
2017-11-16 13:39:42 -08: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
Bassam Tabbara
a8882929d3
Merge pull request #1212 from galexrt/feature/health_rebalance_mons
...
Failover mon when there is more than one mon on one node
2017-11-14 16:13:59 -08:00
Alexander Trost
312a1981a2
Update health default times to 45s
2017-11-14 22:50:56 +01:00
Travis Nielsen
29ec997273
operator: update to latest operator kit with logging
2017-11-14 12:44:50 -08:00
Alexander Trost
e7d20647aa
Failover mon when there is more than one mon on one node
...
Added check to verify that the node a mon is running on is still valid
2017-11-10 16:35:58 +01:00
Shawn Hsiao
55accb99e0
Dont set runAsNonRoot explicitly when it is false.
...
In kubernetes < 1.6.4, it is being mis-treated as true when the flag runAsNonRoot is present regardless of its value, ref. https://github.com/kubernetes/kubernetes/pull/47009
2017-11-08 10:19:12 -05:00
Jared Watts
a988cb580c
Merge pull request #1199 from kokhang/cephfs-crd
...
Handle cephfs mount for kernel older than 4.7
2017-11-07 10:59:03 -08:00
Steve Leon
7b71baba06
Handle cephfs mount for kernel older than 4.7
...
- If kernel is older than 4.7, a warning message
will be printed in the agent's logs
Fixes https://github.com/rook/rook/issues/1044
2017-11-06 17:50:15 -08:00
Shawn Hsiao
c2513497d0
operator: for generating osd pod spec, don't mount /dev if it does not need to, and don't run with privileged if it does not need to
...
When no devices are specified, no need to mount /dev, and don't need to run with privileged. This allows emptyDir to run in a
more restricted environment with least privilege needed.
2017-11-06 16:47:31 -05:00
Jared Watts
3c1dd6e6eb
clean up outstanding rbd devices during cluster deletion
2017-11-03 17:43:54 -07:00
Jared Watts
7f1533129f
Merge pull request #1176 from kokhang/agent-rbac
...
Create RBAC roles and service account for agents
2017-11-03 13:58:27 -07: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
Steve Leon
a9dd3750a2
Removing toleration effect so that rook-agents respect taints on nodes
...
Fixes https://github.com/rook/rook/issues/1168
2017-11-02 15:55:20 -07:00
Travis Nielsen
ee9e5d41c2
Merge pull request #1165 from travisn/handle-update
...
Only respond to crd updates when certain properties change
2017-11-02 09:04:28 -07:00
Jared Watts
86441f95be
Merge pull request #1115 from kokhang/flex-cephfs
...
Adding support to mount cephfs in rook flexvolume
2017-11-01 10:49:54 -07:00
Jared Watts
b9625c1325
Add documentation for flexvolume common problems and add a friendly message to rook-agent.
2017-10-31 16:21:13 -07:00
Travis Nielsen
84a7c52a4f
update: only respond to crd updates when certain properties change
2017-10-31 15:34:01 -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
9e1c6af0ad
Adding support to mount cephfs in rook flexvolume
...
fixes https://github.com/rook/rook/issues/1008
2017-10-26 13:50:04 -07:00
Travis Nielsen
7935f5a866
Merge pull request #1096 from galexrt/feature/1074
...
operator/mon: Allow to set the mon size by cluster CRD spec
2017-10-18 15:21:46 -07:00
Alexander Trost
64d73269ae
operator/mon: Allow to set the mon size by cluster CRD spec
...
Added conditions for monCount >9, <=0 and even warning
Fail and log error on AnyUseAllDevices on more than one cluster
2017-10-18 23:33:00 +02: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
Jared Watts
d032222cfd
osd: enable bluestore on directories
2017-10-18 13:28:13 -07:00
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
b2283a1d82
rados: delete the corresponding ceph pools when CRDs are deleted
2017-10-12 22:37:22 -07:00
Steve Leon
e290cee720
Executing modprobe in agent pod
...
Fixes https://github.com/rook/rook/issues/1062
2017-10-12 14:44:26 -07:00
Alexander Trost
cc75d440e4
Fixes #1048
2017-10-09 20:18:55 +02: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
Jared Watts
113e861020
osd: Allow OSDs to recover from losing all their metadata and config
2017-10-03 15:54:02 -07:00
Travis Nielsen
0a8d7b2e2c
rgw: proper naming for the ObjectStore crd
2017-09-29 15:49:23 -07:00