From 9e7e1e23d1ec882f6311d8652d1832e8b15ea491 Mon Sep 17 00:00:00 2001 From: Alexander Trost Date: Wed, 24 Apr 2019 20:52:08 +0200 Subject: [PATCH 1/2] minio: Update to RELEASE.2019-04-23T23-50-36Z This seems to fix issues with Minio which have just now appeared out of nowhere. Signed-off-by: Alexander Trost --- PendingReleaseNotes.md | 7 ++++--- images/minio/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/PendingReleaseNotes.md b/PendingReleaseNotes.md index 70cbc6d8d..54f6b9d0a 100644 --- a/PendingReleaseNotes.md +++ b/PendingReleaseNotes.md @@ -6,9 +6,10 @@ ### Minio Object Stores - - Now have an additional label named `objectstore` with the name of the Object Store, to allow better selection for Services. - - Use `Readiness` and `Liveness` probes. - - Updated automatically on Object Store CRD changes. +- Now have an additional label named `objectstore` with the name of the Object Store, to allow better selection for Services. +- Use `Readiness` and `Liveness` probes. +- Updated automatically on Object Store CRD changes. +- Updated Minio image to `RELEASE.2019-04-23T23-50-36Z` tag. ### Ceph diff --git a/images/minio/Dockerfile b/images/minio/Dockerfile index 4e3c77056..faca49e52 100644 --- a/images/minio/Dockerfile +++ b/images/minio/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM minio/minio:RELEASE.2018-10-25T01-27-03Z +FROM minio/minio:RELEASE.2019-04-23T23-50-36Z COPY rook /usr/local/bin/ From 4197a5d2853668d6f4c0a6d28e8053bc782eb3ca Mon Sep 17 00:00:00 2001 From: Alexander Trost Date: Wed, 24 Apr 2019 20:52:43 +0200 Subject: [PATCH 2/2] minio: Increased / decreased health probes numbers This has been done improve reliability on high load and / or low resource systems. Signed-off-by: Alexander Trost --- pkg/operator/minio/controller.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/operator/minio/controller.go b/pkg/operator/minio/controller.go index 644c3d621..10a99692b 100644 --- a/pkg/operator/minio/controller.go +++ b/pkg/operator/minio/controller.go @@ -204,11 +204,11 @@ func (c *Controller) makeMinioPodSpec( Port: intstr.FromInt(int(minioPort)), }, }, - InitialDelaySeconds: 2, - PeriodSeconds: 30, + InitialDelaySeconds: 5, + PeriodSeconds: 10, TimeoutSeconds: 2, SuccessThreshold: 1, - FailureThreshold: 3, + FailureThreshold: 4, }, LivenessProbe: &v1.Probe{ Handler: v1.Handler{ @@ -217,11 +217,11 @@ func (c *Controller) makeMinioPodSpec( Port: intstr.FromInt(int(minioPort)), }, }, - InitialDelaySeconds: 5, - PeriodSeconds: 30, + InitialDelaySeconds: 8, + PeriodSeconds: 10, TimeoutSeconds: 2, SuccessThreshold: 1, - FailureThreshold: 3, + FailureThreshold: 4, }, }, },