Commit Graph
421 Commits
Author SHA1 Message Date
Blaine Gardner 7eef87fbcb Merge pull request #3732 from SUSE/upgrade-docs
Ceph: update upgrade docs for v1.1 release
2019-09-03 12:36:43 -06:00
Blaine Gardner a4bb5e41af Ceph: update upgrade docs for v1.1 release
Update docs and manifests for updating from the Rook v1.0 to v1.1
release.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-09-03 11:25:26 -06:00
Kristoffer Grönlund 3c41d7e7d6 Remove outdated cluster/charts/rook-ceph/.gitignore
Since values.yaml is no longer generated from a template
thanks to #3701, the .gitignore file shouldn't be needed.

Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2019-09-03 16:18:45 +02:00
Anton Skriptsov b69c5147d0 Edgefs:#3735 fix CRD's version to v1
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-08-30 08:56:31 -07:00
Sébastien Han 87ca208640 Merge pull request #3596 from rohantmp/managedPDB
Managed PDBs
2019-08-30 14:34:31 +02:00
Madhu Rajanna a8589af337 Implement grpc metrics for cephcsi
grpc metrics is made option in rook
this can be disabled/enabled with ROOK_CSI_ENABLE_GRPC_METRCS
variable in operator.yaml
this will help admin who want to check the grpc metrics
of the ceph-csi plugins

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-30 15:01:45 +05:30
Rohan CJ 4072d14557 Add tests for the clusterdisruption controller and update the docs and
pending releas notes for managed PDBs.

Signed-off-by: Rohan CJ <rohantmp@gmail.com>
2019-08-30 14:04:23 +05:30
Madhu Rajanna 8d5d9b9117 Fix liveness service creation
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-30 13:16:55 +05:30
Madhu Rajanna 5587169fe9 Fix namespace selector in csi-livenees-monitoring
csi services are created in rook-ceph namespace

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-30 13:16:55 +05:30
Madhu Rajanna 53e33d4e08 Fix invalid port name in service monitoring
http-metrics1 port was not the service port name
defined for liveness

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
Rohan CJ d6b23dd549 Add nodedrain controller for deploying canary deployments for every node.
Canary pods can be watched to determine when a node is draining.

Signed-off-by: Rohan CJ <rohantmp@gmail.com>
2019-08-30 09:01:11 +05:30
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 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
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
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
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
Anton Skriptsov c0fe6af712 Initial v1
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-08-28 15:18:38 -07: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
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
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 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 769949bca9 Merge pull request #3694 from leseb/new-images
ceph: use latest ceph images
2019-08-26 18:40:49 -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
Sébastien Han a42916eff0 ceph: use latest ceph images
The last image has disabled ephemeral repositories so it's now possible
for images older than 15 days to install packages without having an
  error from non-existing repositories.

Closes: https://github.com/rook/rook/issues/3662
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-08-26 23:50:55 +02:00
David Vossel cfa0ffba4d fix olm header formatting
Signed-off-by: David Vossel <davidvossel@gmail.com>
2019-08-26 17:42:36 -04:00
Travis Nielsen 164491bff7 Merge pull request #3642 from Madhu-1/csi-leader-election
Use Deployment with leader election instead of StatefulSet
2019-08-26 13:00:46 -06:00
Blaine Gardner 939a19a55e Ceph Helm charts: update pod security policy
Update the PSP in the Ceph Helm charts to match common.yaml

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-08-26 09:16:00 -06:00
Madhu Rajanna 78fb35a93d Use Deployment with leader election instead of StatefulSet
Deployment behaves better when a node gets disconnected
from the rest of the cluster - new provisioner leader
is elected in ~15 seconds, while it may take up to
5 minutes for StatefulSet to start a new replica.

if kube version is 1.13.x deploy provisioner as statefulset.
if kube version is higher than 1.14+ deploy provisioner
as deployment.

Refer: kubernetes-csi/external-provisioner@52d1fbc
Refer: ceph/ceph-csi#497

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-26 19:29:37 +05:30
Sébastien Han 0bdc98f333 Merge pull request #3576 from giovanism/multus
Multi-homing networking
2019-08-26 15:17:24 +02:00
Madhu Rajanna 1abfdf9fb6 Fix incorrect service account used for rolebinding
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-26 15:45:23 +05:30
Madhu Rajanna d4befa79db update plugin directory name in csi
This is required if you are running multiple
csi drivers, if multiple node plugins are
listening on the same socket they request
may go to any node plugin. to avoid this we
need to have a unique socket per csi driver.
It is recommended to have socket inside the
driver name folder.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-26 15:45:23 +05:30
giovanism ea14b555d9 edgefs: Replace NetworkSpec with rookv1alpha2 version
edgefs: Change IsHost and IsMultus network func signature

edgefs: Reorder mgr annotations declaration

edgefs: Update cluster CRD docs and example for NetworkSpec

Signed-off-by: giovanism <giovanism@outlook.co.id>
2019-08-26 16:17:03 +07:00
Sébastien Han e029903a36 Merge pull request #3673 from davidvossel/csv-gen-template
Include csi cephfs and rbd in CSV template
2019-08-26 11:13:25 +02:00
David Vossel 59ea31c7e0 Include csi cephfs and rbd in CSV template
Signed-off-by: David Vossel <davidvossel@gmail.com>
2019-08-23 10:22:53 -04:00
jiffin abe3678990 adding smoke test for bucket store
Signed-off-by: jiffin <thottanjiffin@gmail.com>
Signed-off-by: Jon Cope <jcope@redhat.com>
Signed-off-by: jeffvance <jeff.h.vance@gmail.com>
2019-08-22 19:54:44 -06:00
c852e86fe9 ceph-rook object bucket provisioner
Signed-off-by: travisn <tnielsen@redhat.com>
Signed-off-by: jeffvance <jeff.h.vance@gmail.com>
Signed-off-by: Jon Cope <jcope@redhat.com>

Co-authored-by: Jon Cope <copejon@users.noreply.github.com>
Co-authored-by: Jeff Vance <jeff.h.vance@gmail.com>
2019-08-22 19:54:43 -06:00
Sébastien Han c776d6d86e ceph: type omit some mon specs for external cluster
We need to ignore some monitor specs for the external cluster use case
otherwise the cluster will never start.
For an external cluster, the mon count and other values don't make sense
and don't need to be set. Basically we don't fail if there are not
present.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-08-22 17:19:33 +02:00