You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update: This issue has been rescoped from adding labels to all volumes to just adding labels to the listener volumes. This means the scope has been reduced from refactoring all operators to only refactoring the op-rs and the hdfs operator.
Title
Ensure all listener ephemeral volumes have recommended labels.
Description
Currently there are two different ways to attach listener volumes to hdfs pods:
namenodes: use volume claims. These inherit labels from the spec.template of the StatefulSet and are fine.
datanodes: uses volumes attached directly to the pod. These do not inherit the labels of the StatefulSet and are the reason of this issue. Because of this, the endpoints are not listed by stackablectl stacket list.
Update: this was the original description. Keeping it for later reference:
We are missing labels on PVCs created by ephemeral volumes (such as datanode listeners). I fear the only way of fixing this is by putting them on the Statefulset spec.template.spec.volumes[_].ephemeral.volumeClaimTemplate.metadata.lableshere. PVCs created by StatefulSet spec.volumeClaimTemplates (such as data or persistent listener volumes) seem to be fine.
sbernauer
changed the title
Add generic labels to all created PersistentVolumeClaims
Add missing generic labels to all created PersistentVolumeClaims
Mar 25, 2024
razvan
changed the title
Add missing generic labels to all created PersistentVolumeClaims
Add labels to listener volumes [was: Add missing generic labels to all created PersistentVolumeClaims]
May 29, 2024
Update: This issue has been rescoped from adding labels to all volumes to just adding labels to the listener volumes. This means the scope has been reduced from refactoring all operators to only refactoring the op-rs and the hdfs operator.
Title
Ensure all listener ephemeral volumes have recommended labels.
Description
Currently there are two different ways to attach listener volumes to hdfs pods:
namenodes
: use volume claims. These inherit labels from the spec.template of the StatefulSet and are fine.datanodes
: uses volumes attached directly to the pod. These do not inherit the labels of the StatefulSet and are the reason of this issue. Because of this, the endpoints are not listed bystackablectl stacket list
.Update: this was the original description. Keeping it for later reference:
Value
stackabletctl stacklet list
can list bothnamenodes
anddatanode
endpoints.Dependencies
none
Tasks
ListenerOperatorVolumeSourceBuilder
in operator-rs ensures that recommended labels attached to the ephemeral and persistent volume explicitely.Acceptance Criteria
Listener ephemeral and persistent volumes have labels
(Information Security) Risk Assessment
Accessibility Assessment
Quality
Release Notes
No entry
The text was updated successfully, but these errors were encountered: