Skip to content

Commit ade3577

Browse files
committed
add metric and flag information for BoundServiceAccountTokenVolume
1 parent 8b17474 commit ade3577

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/en/docs/reference/command-line-tools-reference/feature-gates.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,10 @@ Each feature gate is designed for enabling/disabling a specific feature:
380380
See [Raw Block Volume Support](/docs/concepts/storage/persistent-volumes/#raw-block-volume-support)
381381
for more details.
382382
- `BoundServiceAccountTokenVolume`: Migrate ServiceAccount volumes to use a projected volume consisting of a
383-
ServiceAccountTokenVolumeProjection.
384-
Check [Service Account Token Volumes](https://git.k8s.io/community/contributors/design-proposals/storage/svcacct-token-volume-source.md)
383+
ServiceAccountTokenVolumeProjection. Cluster admins can use metric `serviceaccount_stale_tokens_total` to
384+
monitor workloads that are depending on the extended tokens. If there are no such workloads, turn off
385+
extended tokens by starting `kube-apiserver` with flag `--service-account-extend-token-expiration=false`.
386+
Check [Bound Service Account Tokens](https://github.com/kubernetes/enhancements/blob/master/keps/sig-auth/1205-bound-service-account-tokens/README.md)
385387
for more details.
386388
- `ConfigurableFSGroupPolicy`: Allows user to configure volume permission change policy for fsGroups when mounting a volume in a Pod. See [Configure volume permission and ownership change policy for Pods](/docs/tasks/configure-pod-container/security-context/#configure-volume-permission-and-ownership-change-policy-for-pods) for more details.
387389
- `CPUManager`: Enable container level CPU affinity support, see [CPU Management Policies](/docs/tasks/administer-cluster/cpu-management-policies/).

0 commit comments

Comments
 (0)