Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[incubator/elasticsearch] Upgrade default elastic version #1864

Closed
calbach opened this issue Aug 26, 2017 · 6 comments
Closed

[incubator/elasticsearch] Upgrade default elastic version #1864

calbach opened this issue Aug 26, 2017 · 6 comments
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@calbach
Copy link

calbach commented Aug 26, 2017

FEATURE_REQUEST: Upgrade elasticsearch chart's default Elastic Search version from 2.4 -> 5.5.

Which chart:
incubator/elasticsearch

The chart defaults to a docker image with an old Elastic Search version (2.4), but there may be topological changes which would need to be applied along with the version change (I'm not sure).

@calbach
Copy link
Author

calbach commented Aug 28, 2017

FWIW I tried naively upgrading the docker image to use Elastic 5.5.1 with the fabric8 plugin of the same version, and my 2 master nodes crash-looped on their readiness checks failing to find eachother. I didn't spend too much effort debugging this, but including my notes here in case someone else finds it useful.

Dockerfile:

FROM docker.elastic.co/elasticsearch/elasticsearch:5.5.1

RUN elasticsearch-plugin install io.fabric8:elasticsearch-cloud-kubernetes:5.5.1

bootstrap.mlockall was no longer recognized, so I had to comment that out:

--- a/incubator/elasticsearch/templates/elasticsearch-configmap.yaml
+++ b/incubator/elasticsearch/templates/elasticsearch-configmap.yaml
@@ -16,7 +16,7 @@ data:
     node.name: ${HOSTNAME}
 
     # see https://github.com/kubernetes/kubernetes/issues/3595
-    bootstrap.mlockall: ${BOOTSTRAP_MLOCKALL:false}
+    # bootstrap.mlockall: ${BOOTSTRAP_MLOCKALL:false}

@dvonthenen
Copy link
Collaborator

Looks like there is a pending PR #1794 updating ES to 5.4.

@icereval
Copy link
Collaborator

icereval commented Oct 14, 2017

FYI, the PR has been merged, I've also made an ES 5.5 build available on docker hub.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 12, 2018
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 12, 2018
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

5 participants