Commit Graph
3392 Commits
Author SHA1 Message Date
Madhu Rajanna fc713b61cf Fix markdown issues in ceph-csi doc
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-30 13:16:55 +05:30
Madhu Rajanna 77715a1096 change liveness port of cephfs and rbd
earlier 8080 was used by rbd for liveness and 8081
was used by cephfs for liveness. in most of the system
8080 will be sued for some other service, this will
cause  the rbd service to fail,  choosing 9080 and 9081
as ports for rbd and cephfs to avoid this  kind of
suitation.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-30 13:16:55 +05:30
Sébastien Han 942a89d9cd Merge pull request #3661 from rohan47/osd-marked-out
OSD: Remove osd pods that are marked out and the pod is more than an hour old.
2019-08-30 09:45:45 +02:00
Sébastien Han 180f267b33 Merge pull request #3734 from travisn/osd-init-container-pvcs
Copy binaries init container for osds on pvcs provisioning
2019-08-30 09:41:03 +02:00
travisn 49115749ab ceph: copy binaries init container for osds on pvcs provisioning
The init container for copying binaries was being overwritten by the
init container for initializing pvcs. This change appends the init
containers so all expected init containers are preserved.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-08-29 22:23:04 -06:00
Travis Nielsen 5eab7ca658 Merge pull request #3573 from SUSE/mon-kv-store
Ceph: override configs in CRD
2019-08-29 19:04:16 -06:00
Blaine Gardner a55468f5ab Ceph: remove legacy configs
Several legacy configs set by Rook are bad defaults that risk user data.
Remove them.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-08-29 15:38:29 -06:00
Blaine Gardner 1be43290be Ceph: override configs in CRD
Allow users to specify overrides in the CephCluster CRD. The override
ConfigMap still exists for emergency situations and is mounted into
daemon pods directly instead of being merged into a Rook-created config
file.

Rook Ceph no longer uses a config file for managing daemons with the
exception of the OSDs which still generate a config in an init
container.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-08-29 15:38:27 -06:00
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
rohan47 9ebd151399 OSD: Remove osds that are marked out and the pod is more than an hour old
Signed-off-by: rohan47 <rohanrgupta1996@gmail.com>
Signed-off-by: rohan47 <rohgupta@redhat.com>
2019-08-29 03:32:25 +05:30
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