Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

[logstash] use only httpPort in headless service #839

Merged
merged 1 commit into from
Oct 14, 2020

Conversation

jmlrt
Copy link
Member

@jmlrt jmlrt commented Oct 14, 2020

This commit fix an issue introduced in 8ed75a9 where helm
install/upgrade is failing if a NodePort service is defined.

Logstash headless service used to manage Statefulset does not anymore include
.Values.service.ports and include only Logstash httpPort.

This is done because headless service ports doesn't accept nodePort
values that can be included in .Values.service.ports when adding a
NodePort service.

Fix #807

@jmlrt jmlrt added the logstash label Oct 14, 2020
@jmlrt jmlrt requested a review from a team October 14, 2020 07:55
This commit fix an issue introduced in 8ed75a9 where helm
install/upgrade is failing if a NodePort service is defined (see [0] for
more details).

Logstash headless service used to manage Statefulset does not anymore include
`.Values.service.ports` and include only Logstash httpPort.

This is done because headless service `ports` doesn't accept `nodePort`
values that can be included in `.Values.service.ports` when adding a
NodePort service.

[0]: elastic#807
@jmlrt jmlrt marked this pull request as ready for review October 14, 2020 07:57
Copy link
Contributor

@Conky5 Conky5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jmlrt jmlrt merged commit a5ae58d into elastic:master Oct 14, 2020
@jmlrt jmlrt deleted the logstash-svc-807 branch October 14, 2020 17:11
jmlrt added a commit that referenced this pull request Oct 16, 2020
This commit fix an issue introduced in 8ed75a9 where helm
install/upgrade is failing if a NodePort service is defined (see [0] for
more details).

Logstash headless service used to manage Statefulset does not anymore include
`.Values.service.ports` and include only Logstash httpPort.

This is done because headless service `ports` doesn't accept `nodePort`
values that can be included in `.Values.service.ports` when adding a
NodePort service.

[0]: #807
jmlrt added a commit that referenced this pull request Oct 16, 2020
This commit fix an issue introduced in 8ed75a9 where helm
install/upgrade is failing if a NodePort service is defined (see [0] for
more details).

Logstash headless service used to manage Statefulset does not anymore include
`.Values.service.ports` and include only Logstash httpPort.

This is done because headless service `ports` doesn't accept `nodePort`
values that can be included in `.Values.service.ports` when adding a
NodePort service.

[0]: #807
jmlrt added a commit that referenced this pull request Oct 16, 2020
This commit fix an issue introduced in 8ed75a9 where helm
install/upgrade is failing if a NodePort service is defined (see [0] for
more details).

Logstash headless service used to manage Statefulset does not anymore include
`.Values.service.ports` and include only Logstash httpPort.

This is done because headless service `ports` doesn't accept `nodePort`
values that can be included in `.Values.service.ports` when adding a
NodePort service.

[0]: #807
@jmlrt
Copy link
Member Author

jmlrt commented Oct 16, 2020

backported to 6.8, 7.9 and 7.x branches

@nkammah nkammah mentioned this pull request Oct 19, 2020
@jmlrt jmlrt mentioned this pull request Oct 28, 2020
This was referenced Nov 16, 2020
@jmlrt jmlrt mentioned this pull request Nov 23, 2020
@jmlrt jmlrt mentioned this pull request Feb 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[logstash] Unable to install Logstash with configured nodePort
2 participants