Commit Graph
3383 Commits
Author SHA1 Message Date
Blaine Gardner 199f2b80ab Merge pull request #3568 from nabokihms/rook-add-image-pull-secrets
rook: Add image pull secrets option
2019-08-29 14:02:03 -06:00
Dmitry Yusupov b0dffa6f9b Merge pull request #3702 from sabbot/transition-to-v1
Declare EdgeFS CRDs as v1
2019-08-29 11:26:45 -07:00
Travis Nielsen a53503100a Merge pull request #3723 from Madhu-1/fix-pvc-res
update storageclass name in  pvc-restore
2019-08-29 11:36:27 -06:00
Travis Nielsen b13a70f6af Merge pull request #3730 from Madhu-1/pid-limit
Add pidlimit flag  for cephfs and rbd plugin
2019-08-29 11:33:43 -06:00
Travis Nielsen c5c16cbacb Merge pull request #3725 from kshlm/fix-rook-csi-rbd-rbac-in-csv
csv: Fix name SA name for CSI RBD provisioner
2019-08-29 10:55:15 -06:00
Travis Nielsen 6ccd243af1 Merge pull request #3729 from rohan47/node_selector_pvc
OSD: fixed label selector for osd prepare job pod
2019-08-29 10:55:04 -06:00
Madhu Rajanna ba66e53d10 Add pidlimit flag for cephfs and rbd plugin
pidlimit flag was  added only for cephfs
and rbd provisioner earlier, this PR adds
these flags to the rbd and cephfs plugin
to configure the pidlimit to max

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-29 22:01:12 +05:30
Sébastien Han 0d481d1bd1 Merge pull request #3712 from leseb/mon-down-upgrade
ceph: improve upgrade on image change
2019-08-29 17:43:00 +02:00
rohan47 a098cdd1a6 OSD: fixed label selector for osd prepare job pod
OSD prepare job pods don't require node selector when the OSDs are based
on PVC.
The bug was intruduced in https://github.com/rook/rook/pull/3707 which
added node selector to the prepare job pod when portable property of
storageClassDeviceSets is false.
Adding node selector set kubernetes.io/hostname=example-storagedeviceset-xxx, while there is no host example-storagedeviceset-xxx the prepare job failed.

Signed-off-by: rohan47 <rohgupta@redhat.com>
2019-08-29 19:30:02 +05:30
Sébastien Han 82702f5cc5 Merge pull request #3721 from travisn/default-ceph-osd-db-size
Ceph: Remove default database size for OSDs
2019-08-29 13:23:30 +02:00
Sébastien Han 8cf9d7e636 Merge pull request #3704 from mvollman/bugfix-osdsper
ceph: fix md and dev ordering for c-v batch
2019-08-29 12:24:26 +02:00
Kaushal M 77fc5e9c14 csv: Fix name SA name for CSI RBD provisioner
Signed-off-by: Kaushal M <kshlmster@gmail.com>
2019-08-29 14:24:45 +05:30
Sébastien Han bed14cfd71 ceph: improve upgrade on image change
From now on, Rook will only perform check before upgrades when there is
an actual upgrade. So if the Ceph image changed and a new version is
desired Rook will go through all the daemons and update them one by one
and perform checks in between.

Closes: https://github.com/rook/rook/issues/3583
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-08-29 10:18:19 +02:00
Madhu Rajanna b447e720f0 update storageclass name in pvc-restore
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-29 12:02:14 +05:30
Travis Nielsen 484743075f Merge pull request #3711 from leseb/rm-mon-required
ceph: do not require mon in common.yaml
2019-08-28 18:57:30 -06:00
Travis Nielsen 0053d3d804 Merge pull request #3707 from rohan47/crushmap_base
OSD: CRUSH map can be based on node or PVC in case of PVC backed OSD
2019-08-28 18:21:31 -06:00
travisn b8e5e56dc1 ceph: remove default database size for OSDs
Since Rook is no longer creating partitions and leaving all that
work to ceph-volume, we should let ceph-volume choose the defaults
for the database size and use the max available. The default of 20GB
in fact doesn't even make sense since Ceph will only use the first 3GB
of that size and the other 17GB was wasted.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-08-28 18:06:39 -06:00
rohan47 21deea9d64 OSD: CRUSH map can be based on node or PVC in case of PVC backed OSD
Signed-off-by: rohan47 <rohgupta@redhat.com>
2019-08-29 04:01:41 +05:30
Anton Skriptsov c0fe6af712 Initial v1
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-08-28 15:18:38 -07:00
Travis Nielsen 663fed9c5e Merge pull request #3684 from travisn/pre-release-tag
Allow git tags to be added for alpha, beta, or rc releases
2019-08-28 14:09:28 -06:00
Maksim Nabokikh a63fa37d71 rook: Add image pull secrets option
Allow to specify imagePullSecrets to pull operator images from private registry

Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
2019-08-28 13:43:10 +04:00
Sébastien Han e0e769c30e ceph: do not require mon in common.yaml
For the external cluster setup, we don't have monitors to deploy because
we connect to external ones. So in the common.yaml we must not require a
mon section to be defined in the cluster CR.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-08-28 09:14:24 +02:00
Travis Nielsen 0aa1774ebe Merge pull request #3668 from noahdesu/canary-sched
ceph/mon: support monitor migration without rebuils
2019-08-27 22:50:43 -06:00
Noah Watkins e2fccdf03b ceph: remove the CRD option Mon.PreferredCount
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-08-27 17:43:35 -07:00
Noah Watkins 94bd70a14c ceph/mon: support monitor migration without rebuils
this patch adds two new related features. first, it removes the
requirement that all monitor deployments be pinned to nodes using node
selector. this is allowed when not using host networking and when PVC
storage is used. the second feature introduced in this patch is the
elimination of the Rook scheduler for placing monitors that continue to
use the node selector by using canary pods to that are scheduled by k8s,
after which Rook uses the scheduling results to pin the monitors to
nodes.

fixes: #3667

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-08-27 17:43:35 -07:00
travisn 82b5c0d48d allow git tags to be added for alpha, beta, or rc releases
The tag pipeline currently only allows a strict versioning tag to be
applied with the major, minor, and patch numbers such as v1.1.0.
This change allows adding a suffix to the tag to support alpha,
beta, or rc releases. For example, the version can now be
v1.1.0-alpha.0 or v1.1.0-beta.1 or v1.1.0-rc.2

Signed-off-by: travisn <tnielsen@redhat.com>
2019-08-27 16:18:26 -06:00
Travis Nielsen d11481ebe4 Merge pull request #3701 from k0da/helm_chart
helm: rename values.yaml.tmpl to values.yaml
2019-08-27 15:23:51 -06:00
Travis Nielsen 43a544aac8 Merge pull request #3658 from samkulkarni20/master
YugabyteDB operator implementation
2019-08-27 15:22:29 -06:00
Blaine Gardner 23ff57512b Merge pull request #3616 from SUSE/add-psp-to-helm
Ceph Helm charts: update pod security policy
2019-08-27 11:25:57 -06:00
Sameer Kulkarni 3248e9386b yugabytedb: Documentation, user guides & examples
Signed-off-by: Sameer Kulkarni <samkulkarni20@gmail.com>
2019-08-27 22:47:04 +05:30
Sameer Kulkarni 9816fc7ce6 yugabytedb: integration tests and scripts
Signed-off-by: Sameer Kulkarni <samkulkarni20@gmail.com>
2019-08-27 22:45:14 +05:30
Sameer Kulkarni 7febf030cb yugabytedb: operator/controller implementation
Signed-off-by: Sameer Kulkarni <samkulkarni20@gmail.com>
2019-08-27 22:45:14 +05:30
Sameer Kulkarni dd9e51286e yugabytedb: rook/yugabutedb image build
Signed-off-by: Sameer Kulkarni <samkulkarni20@gmail.com>
2019-08-27 22:45:14 +05:30
Sameer Kulkarni 7dbdaff90f yugabytedb: generated deepcopy & clientset code
Signed-off-by: Sameer Kulkarni <samkulkarni20@gmail.com>
2019-08-27 22:45:14 +05:30
Sameer Kulkarni 7bb820db61 yugabytedb: CRD types & specs
Signed-off-by: Sameer Kulkarni <samkulkarni20@gmail.com>
2019-08-27 22:45:14 +05:30
Travis Nielsen beddeb2092 Merge pull request #3412 from umangachapagain/documentation
updates helm-operator documentation
2019-08-27 10:47:40 -06:00
Travis Nielsen 3ece5034d3 Merge pull request #3442 from umangachapagain/objectUser
adds wait.Poll to create ObjectUser
2019-08-27 10:39:17 -06:00
Travis Nielsen 524f315665 Merge pull request #3703 from davidvossel/csv-template-fix
Csv template fix
2019-08-27 08:43:29 -06:00
Umanga Chapagain da47c23c23 adds wait.Poll to create ObjectUser
creating an objectstore user requires that the objectstore is
created first. This commits adds changes to wait for the object
store to be created before the objectstore user can be created.
It'll retry every 15sec for 5mins.

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-08-27 15:41:27 +05:30
Sébastien Han cfe3cc00ad Merge pull request #3705 from umangachapagain/alert-fix
fixes: alerting rules and recording rules
2019-08-27 11:56:18 +02:00
Umanga Chapagain 33fc9a013a updates helm-operator documentation
+ added new nodeAffinity options

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-08-27 15:23:15 +05:30
Umanga Chapagain d92a04e8ed fixes: alerting rules and recording rules
- updated query for latency
- updated severity level for mgr down alert

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-08-27 13:50:51 +05:30
Travis Nielsen 786384f018 Merge pull request #3457 from travisn/minikube-push-images
Minikube test script: push v14 instead of v13 image only when needed
2019-08-26 23:56:09 -06:00
Travis Nielsen 76e44f3584 Merge pull request #3458 from travisn/roadmap-1.1
Update the roadmap for the v1.1 release
2019-08-26 22:30:43 -06:00
Noah Watkins 88e28e7b3e ceph: fix spurious merge of dead code
for some reason 8c8c48e0ac introduced some
old scheduler code that had previously been removed.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-08-26 18:51:11 -07:00
Travis Nielsen 769949bca9 Merge pull request #3694 from leseb/new-images
ceph: use latest ceph images
2019-08-26 18:40:49 -06:00
Michael Vollman 9eccffd794 ceph: fix md and dev ordering for c-v batch
Ensure that the metadata device and osd devices are passed as a space
separated list to ceph-volume.  Currently osds-per-device is placed
between the metadataDevice and the osd devices causing an error.

Signed-off-by: Michael Vollman <michael.b.vollman@gmail.com>
2019-08-26 19:17:52 -04:00
travisn ba99b4e9b9 Update the roadmap for the v1.1 release
Signed-off-by: travisn <tnielsen@redhat.com>
2019-08-26 16:42:06 -06:00
Dinar Valeev d52bd0278b helm: rename values.yaml.tmpl to values.yaml
version can be set over values.yaml directly, there is no reason
to copy over a file, while lack of values.yaml file makes git tree
helm incompatible.

This is low effort fix for https://github.com/rook/rook/issues/3217

Signed-off-by: Dinar Valeev <k0da@opensuse.org>
2019-08-27 00:06:48 +02:00
David Vossel 54f8eb7ee1 Fix rules to service account mapping in csv generation script
Signed-off-by: David Vossel <davidvossel@gmail.com>
2019-08-26 17:59:24 -04:00