Commit Graph
164 Commits
Author SHA1 Message Date
Jared Watts cb3ada9795 Merge pull request #2752 from ZYecho/add-rbac
cockroachdb: add minimal rbac access for cockroachdb pod
2019-03-07 20:21:56 -08:00
zhangyue baf27bdd8e cockroachdb: modify cockroachdb operator rbac access
Signed-off-by: zhangyue <zy675793960@yeah.net>
2019-03-05 14:16:10 +08:00
Alexander Trost 42c71768c0 Merge pull request #2428 from k911/improve-registry-example
docs: Improve HA docker registry example
2019-03-04 14:26:05 +01:00
Alexander Trost 409a5129e2 Merge pull request #2614 from chaosaffe/master
update image for coreos reboot daemonsets
2019-03-04 14:08:51 +01:00
Noah Watkins 6597531ed0 ceph: share host ipc namespace with provision pod
this is needed as cryptsetup in the pod and udev on the host coordinate
via a semaphore that must be visible in both contexts.

note that additionally the host needs to have dmcrypt compiled with udev
synchronization, which at least one minikube version does not have.

fixes: #923

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-03-01 10:50:19 -08:00
Alexander Trost 818bf38b0c Merge pull request #2685 from dyusupov/master
EdgeFS: support for S3 buckets as DNS subdomain style
2019-02-23 23:21:06 +01:00
Travis Nielsen 8708c5cc16 Merge pull request #2697 from jtlayton/wip-rbac
ceph: fix up RBAC permissions
2019-02-22 12:58:21 -07:00
Jeff Layton a5252dccee ceph: fix up RBAC permissions
I had some trouble with RBAC under minikube when testing some
ceph-mgr functionality. This patch tweaks rook-ceph-mgr-system to
be a ClusterRole, and rook-ceph-mgr-cluster to use a
ClusterRoleBinding.

While we're in there, remove the namespace fields from the
ClusterRoleBindings since they just get ignored.

Finally, also fix up the upgrade test to remove the objects that have
changed and reinstantiate them properly.

Suggested-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-02-22 06:30:49 -05:00
Travis Nielsen 3b14e51c16 Merge pull request #2678 from jtlayton/wip-bootstrap
Add a way to start up a minimal ceph cluster
2019-02-21 13:31:05 -07:00
Jeff Layton 20de4920ba examples/ceph: fix permissions on the files
The yaml files are not executable.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-02-21 15:20:18 -05:00
Jeff Layton 77641f8ca8 Add a bootstrap.yaml file to ceph examples directory
We'd like to be able to let people start a super-bare-bones cluster,
that can then be scaled up from the orchestrator + dashboard.

Start only a single mon and a mgr daemon. Don't do any setup of osds.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-02-21 15:19:30 -05:00
Dmitry Yusupov a30966b6e4 EdgeFS: support for S3 buckets as DNS subdomain style
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-02-21 09:00:42 -08:00
Madhu Rajanna 2a80d505ae Fix misspelled words
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-02-20 19:07:29 +05:30
Travis Nielsen 913f0e0e65 Merge pull request #2611 from rootfs/apps-api
Use Apps api over extensions
2019-02-14 16:25:33 -07:00
Huamin Chen 1b21e42a90 convert extensions to apps
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-02-14 16:06:05 -05:00
Dmitry Yusupov f4bfee8165 support for EdgeFS ISGW link CRD
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-02-13 22:29:27 -08:00
Huamin Chen 0895cd0fa2 follow up #2580 and add endpoints to rook operator
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-02-13 11:59:58 -05:00
Travis Nielsen a5aadf0701 Merge pull request #2580 from rootfs/csi-driver
Deploy ceph-csi driver
2019-02-13 08:31:13 -07:00
Huamin Chen 3806baffe1 add ceph csi deploy options
Signed-off-by: Huamin Chen <hchen@redhat.com>
2019-02-12 21:20:41 -05:00
travisn b72c6436ef handle ceph mon failover more gracefully
Signed-off-by: travisn <tnielsen@redhat.com>
2019-02-11 17:35:28 -07:00
Travis Nielsen 8a2001c3d7 Merge pull request #2522 from travisn/reference-k8s-provisioner
Reference the k8s provisioner instead of the outdated in-tree provisioner
2019-02-07 19:39:32 -07:00
Jason Murray 91341d4308 update image for coreos reboot daemonsets
Signed-off-by: Jason Murray <jason@chaosaffe.io>
2019-02-05 03:18:24 +01:00
Travis Nielsen e61ab0dfd7 Merge pull request #2585 from SUSE/do-not-create-default-osd
ceph: no longer create fallback osd
2019-02-01 14:22:15 -07:00
Blaine Gardner 78d4719125 ceph: no longer create fallback osd
Rook's behavior should not be to create a default OSD in dataDirHostPath
when no devices are present on a node. Any preexisting fallback osd
should be kept as long as no dirs or disks have been specified to keep
the legacy behavior for those clusters running with these osds in place.
The legacy deletion behavior is also kept, removing the osd as soon as
any dir or device is specified other than the dataDirHostPath dir.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-02-01 09:41:32 -07:00
Dmitry Yusupov 7831c2775a support for EdgeFS UI
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-01-28 20:11:06 -08:00
travisn bd25630d91 allow disabling of fsGroup in the flex driver
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-24 07:53:44 -07:00
Dmitry Yusupov cae7e9a994 added support for edgefs-monitoring via Prometheus
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-01-20 19:02:17 -08:00
travisn c9d3d1bf17 reference the k8s pvc provisioner and remove outdated in-tree provisioner
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-19 07:48:00 -07:00
travisnandjtlayton 6082638d28 nfs: documentation for the ceph nfs crd
Co-authored-by: jtlayton <jlayton@redhat.com>
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-15 13:56:43 -07:00
travisnandjtlayton c467ccb9b2 nfs: ceph crd and types for declaring exports
Co-authored-by: jtlayton <jlayton@redhat.com>
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-15 13:48:57 -07:00
Travis Nielsen 84ad5afb6b Merge pull request #2466 from allen13/selinux-relabel-env
Add ENV flag for selinux labeling
2019-01-10 10:38:52 -07:00
Alexander Trost de8e14149a Merge pull request #2419 from sabbot/master
EdgeFS: need host check/prepare functionality fix
2019-01-10 18:17:15 +01:00
Timothy Allen ae46f31882 Add ENV flag for selinux labeling
Signed-off-by: Timothy Allen <kex.allen13@gmail.com>
2019-01-10 15:05:39 +00:00
Noah Watkins e9a9509313 ceph: support dashboard ssl on/off
fixes: #2433

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-01-09 12:08:51 -08:00
Noah Watkins e66ad7463b ceph: support custom dashboard port
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-01-09 12:08:49 -08:00
Anton Skriptsov 7c7f307f2e EdgeFS: need host check/prepare functionality
Signed-off-by: Anton Skriptsov <anton.skriptsov@nexenta.com>
2019-01-09 08:50:24 -08:00
Alexander Trost a5f5049b71 Added objectstore label to Minio objects
This allows multiple object stores to be in the same namespace and
to be selected separately from each other.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-01-09 12:08:57 +01:00
k911 cf7d13d13d docs: Improve HA docker registry example
Signed-off-by: k911 <konradobal@gmail.com>
2018-12-26 20:53:23 +01:00
Dmitry Yusupov 3700009108 Introduced new configurational option "sync"
New configurational option enables flexible choice for write I/O
to allow configurable trades between performance, reliability and consistency.

This also fixes bcache mis-configuration.

Fixes #2367

Signed-off-by: Dmitry Yusupov <dmitry@nexenta.com>
2018-12-16 11:39:59 -08:00
Travis Nielsen 710e9b715b Merge pull request #2323 from SUSE/upgrade-documentation
Upgrade documentation
2018-12-07 19:52:00 -07:00
travisn eb41a9c521 openshift: update the scc kind name
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-07 17:38:11 -07:00
Blaine Gardner bb862e460c Update upgrade docs for Rook 0.9 release
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2018-12-07 17:36:17 -07:00
Travis Nielsen f6bcdfa687 Merge pull request #2346 from travisn/mgr-configmap-access
Grant access for ceph-mgr to access the configmaps in the system namespace
2018-12-07 16:51:02 -07:00
Alexander Trost 6dc508b704 Merge pull request #2318 from galexrt/minio_arbitary_pvcs
Cockroachdb + Minio: Use PersistentVolumeClaimTemplates storage
2018-12-08 00:20:07 +01:00
travisn ff3f73d73c mgr: grant access to the configmaps to read devices in the system namespace
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-07 14:10:35 -07:00
Alexander Trost 8718381927 cockroachdb: Added missing configmaps create for ownerref check
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-12-07 20:30:46 +01:00
Travis Nielsen 64a4f494a4 Merge pull request #2214 from sebastian-philipp/additional-printer-columns
Ceph CRDs: Add additionalPrinterColumns to enhance command line output
2018-12-07 12:18:28 -07:00
Travis Nielsen a85aa84719 Merge pull request #2269 from travisn/ceph-volume
Provision OSDs with ceph-volume
2018-12-07 12:12:23 -07:00
Alexander Trost 097f640bbb doc: rename monitoring doc for Ceph
doc: move Ceph mon example files to ceph example subfolder

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-12-07 19:33:27 +01:00
Sebastian Wagner 71c0328b09 Ceph CRDs: Add additionalPrinterColumns to enhance command line output
Like so:
```
$ kubectl get cluster.ceph.rook.io
NAME        DATADIRHOSTPATH   MONCOUNT   AGE
rook-ceph   /var/lib/rook     1          4h
```

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-12-07 10:58:43 -07:00