Kubernetes SIG API Machinery 20250108

Поділитися
Вставка
  • Опубліковано 10 лют 2025
  • Jan 8, 2025
    Happy new year!
    [Sunny] VolumeAttributesClass Quota design discussion
    Proposal 1: add a ResourceQuotaScopeVolumeAttributesClass. The VolumeAttributesClass scope restricts a quota to tracking the following resource: PVCs in a VolumeAttributesClass. We need to calculate spec.volumeAttributesClass, status.currentVolumeAttributesClass and status.modifyVolumeStatus.targetVolumeAttributesClassName. And we only support matchExpressions(In, NotIn, Exists, DoesNotExist).
    If Scope does not allow quota against status, we will not implement it with Scope.
    Topic potentially brought up in the past meetings here.
    Discussed in the meeting, we can calculate status as part of quota at admission, but it should only enforce quota in the spec, the status(status.currentVolumeAttributesClass and status.modifyVolumeStatus.targetVolumeAttributesClassName) update should not be rejected by quota check. This is not happening in the current flow, because it is the external-resizer updating status.currentVolumeAttributesClass and status.modifyVolumeStatus.targetVolumeAttributesClassName, there is no quota check in external-resizer.
    [fedebongio] Upcoming Events
    KubeCon + CloudNativeCon Europe Apr 1-4, 2025 London, England
    KubeCon + CloudNativeCon China Jun 10-11, 2025 Hong Kong
    KubeCon + CloudNativeCon Japan Jun 16-17, 2025 Tokyo, Japan

КОМЕНТАРІ •