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

[logstash] add headless service for statefulset #695

Merged
merged 4 commits into from
Jun 29, 2020

Conversation

jmlrt
Copy link
Member

@jmlrt jmlrt commented Jun 26, 2020

This commit add a mandatory headless service for Logstash statefulset.

Headless service is required for Statefulsets.
While Helm 2 allowed to deploy Statefulsets without a serviceName, Helm 3 enforce this requirement and fails if serviceName is missing.

Note: Statefulsets don't accept serviceName field update during release upgrades. This change is therefore considered as a breaking change and will require using helm upgrade --force for upgrades.

Fixes #497
Replace #512
Related #401

This commit add a mandatory headless service for Logstash statefulset.

Headless service is required for Statefulsets.
While Helm 2 allowed to deploy Statefulsets without a serviceName, Helm 3 enforce this requirement and fails if serviceName is missing.

Note: Statefulsets don't accept serviceName field update during release upgrades. This change is therefore considered as a breaking change and will require using `helm upgrade --force` for upgrades.
@jmlrt jmlrt added the logstash label Jun 26, 2020
@jmlrt
Copy link
Member Author

jmlrt commented Jun 26, 2020

jenkins test this please

@jmlrt jmlrt marked this pull request as ready for review June 29, 2020 08:11
Conky5
Conky5 previously approved these changes Jun 29, 2020
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 1fc251a into elastic:master Jun 29, 2020
@jmlrt jmlrt deleted the logstash-headless-service branch June 29, 2020 19:18
jmlrt added a commit that referenced this pull request Jun 29, 2020
This commit add a mandatory headless service for Logstash statefulset.

Headless service is required for Statefulsets.
While Helm 2 allowed to deploy Statefulsets without a serviceName, Helm 3 enforce this requirement and fails if serviceName is missing.

Note: Statefulsets don't accept serviceName field update during release upgrades. This change is therefore considered as a breaking change and will require using `helm upgrade --force` for upgrades.
jmlrt added a commit that referenced this pull request Jun 29, 2020
This commit add a mandatory headless service for Logstash statefulset.

Headless service is required for Statefulsets.
While Helm 2 allowed to deploy Statefulsets without a serviceName, Helm 3 enforce this requirement and fails if serviceName is missing.

Note: Statefulsets don't accept serviceName field update during release upgrades. This change is therefore considered as a breaking change and will require using `helm upgrade --force` for upgrades.
jmlrt added a commit that referenced this pull request Jun 29, 2020
This commit add a mandatory headless service for Logstash statefulset.

Headless service is required for Statefulsets.
While Helm 2 allowed to deploy Statefulsets without a serviceName, Helm 3 enforce this requirement and fails if serviceName is missing.

Note: Statefulsets don't accept serviceName field update during release upgrades. This change is therefore considered as a breaking change and will require using `helm upgrade --force` for upgrades.
@jmlrt
Copy link
Member Author

jmlrt commented Jun 29, 2020

backported to 6.8, 7.8and 7.x branches

This was referenced Jul 27, 2020
@jmlrt jmlrt mentioned this pull request Oct 28, 2020
This was referenced Nov 16, 2020
This was referenced Nov 17, 2020
@jmlrt jmlrt mentioned this pull request Feb 8, 2021
This was referenced Mar 15, 2021
@jmlrt jmlrt mentioned this pull request May 25, 2021
@jmlrt jmlrt mentioned this pull request Mar 8, 2022
@jmlrt jmlrt mentioned this pull request Apr 21, 2022
This was referenced Sep 14, 2022
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.

Install fails with immediate error
2 participants