Skip to content

Commit 0f966a7

Browse files
authored
Merge pull request #24854 from zshihang/bound
add metric and flag information for BoundServiceAccountTokenVolume
2 parents 3009930 + ade3577 commit 0f966a7

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
@@ -381,8 +381,10 @@ Each feature gate is designed for enabling/disabling a specific feature:
381381
See [Raw Block Volume Support](/docs/concepts/storage/persistent-volumes/#raw-block-volume-support)
382382
for more details.
383383
- `BoundServiceAccountTokenVolume`: Migrate ServiceAccount volumes to use a projected volume consisting of a
384-
ServiceAccountTokenVolumeProjection.
385-
Check [Service Account Token Volumes](https://git.k8s.io/community/contributors/design-proposals/storage/svcacct-token-volume-source.md)
384+
ServiceAccountTokenVolumeProjection. Cluster admins can use metric `serviceaccount_stale_tokens_total` to
385+
monitor workloads that are depending on the extended tokens. If there are no such workloads, turn off
386+
extended tokens by starting `kube-apiserver` with flag `--service-account-extend-token-expiration=false`.
387+
Check [Bound Service Account Tokens](https://github.com/kubernetes/enhancements/blob/master/keps/sig-auth/1205-bound-service-account-tokens/README.md)
386388
for more details.
387389
- `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.
388390
- `CPUManager`: Enable container level CPU affinity support, see [CPU Management Policies](/docs/tasks/administer-cluster/cpu-management-policies/).

0 commit comments

Comments
 (0)