Skip to content

Commit 09e8c12

Browse files
committed
storage capacity: revise type visibility
1 parent 8f8592b commit 09e8c12

File tree

1 file changed

+15
-13
lines changed
  • keps/sig-storage/1472-storage-capacity-tracking

1 file changed

+15
-13
lines changed

keps/sig-storage/1472-storage-capacity-tracking/README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -844,19 +844,21 @@ enhancement:
844844
the enablement)?**
845845
Yes.
846846

847-
Registration of the `CSIStorageCapacity` type is controlled by the feature
848-
gate, so when disabling support in the API server, the new object type
849-
will disappear together with the new flag in
850-
`CSIDriver`, which will then cause kube-scheduler to revert to
851-
provisioning without capacity information. However, the new objects
852-
will still remain in the etcd database, they just won't be visible.
853-
854-
When disabling it in the scheduler, provisioning directly reverts
855-
to the previous behavior.
856-
857-
External-provisioner will be unable to update objects: this needs to
858-
be treated with exponential backoff just like other communication
859-
issues with the API server.
847+
In Kubernetes 1.19 and 1.20, registration of the
848+
`CSIStorageCapacity` type was controlled by the feature gate. In
849+
1.21, the type will always be enabled in the v1beta1 API
850+
group. Depending on the combination of Kubernetes release and
851+
feature gate, the type will be disabled. However, any existing
852+
objects will still remain in the etcd database, they just won't be
853+
visible.
854+
855+
When the type is disabled, external-provisioner will be unable to update
856+
objects: this needs to be treated with exponential backoff just like other
857+
communication issues with the API server.
858+
859+
The new flag in `CSIDriver` will always be removed when disabling the
860+
feature gate or when rolling back to a release older than 1.19. In that
861+
case kube-scheduler will revert to provisioning without capacity information.
860862

861863
* **What happens if we reenable the feature if it was previously rolled back?**
862864

0 commit comments

Comments
 (0)