-
Couldn't load subscription status.
- Fork 67
Description
Describe the bug
In the 2.3.8 release, kubectl was removed, it is no longer possible to set the graylog-role label for a StatefulSet pod. As a result, the graylog-master service cannot determine the master pod.
Version of Helm and Kubernetes:
Helm Version:
$ helm version
version.BuildInfo{Version:"v3.10.1", GitCommit:"9f88ccb6aee40b9a0535fcc7efea6055e1ef72c9", GitTreeState:"clean", GoVersion:"go1.18.7"}Kubernetes Version:
$ kubectl version
Client Version: v1.31.12
Kustomize Version: v5.4.2
Server Version: v1.32.1Which version of the chart: >= 2.3.8
What happened:
In the 2.3.8 release (8145acd), kubectl was removed, now it is impossible to set the graylog-role label for a StatefulSet pod. As a result, the graylog-master service cannot determine the master pod. Starting with chart version 2.3.8, after deploying 2 graylog replicas, the kubectl get pods -L graylog-role command does not display pod roles, because there are no graylog-role labels on the replicas after deployment. And because of this, the graylog-master service cannot determine the current master. The kubectl get ep graylog-master command does not determine the IP address of the master node.
What you expected to happen:
The graylog-master selector specifies the graylog-role label, which is used to determine the pod's IP address. The label on the pod must be defined at the time of deployment. Now, starting with version 2.3.8, the graylog-master endpoint does not determine the IP of the current master.
How to reproduce it (as minimally and precisely as possible):
Install chart version 2.3.8 or higher and check graylog-master service and its endpoints. kubectl get pods -L graylog-role command should output roles.