[tempo] bug: Service name is different from the Service name specified in StatefulSets
tozastation opened this issue · comments
Ryo Tozawa commented
Problem Detail:
- StatefulSets resource defines serviceName as ${SERVICE_NAME}-headless
- However service name is defined in ${SERVICE_NAME}.
- So, name resolution with FQDN in Headless Service is not possible.
Resolution:
- Assign a headless suffix to the Service resource name
- or
- Remove Headless prefix from Service Name in StatefulSet
Reference:
- StatefulSet (spec.serviceName)
- Service (metadata.name)
Daniel Strobusch commented
I think there might be more to this:
https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/:
StatefulSets currently require a Headless Service to be responsible for the network identity of the Pods. You are responsible for creating this Service.
The helm chart is currently not defining a headless service.