Skip to content

Commit 8901aa5

Browse files
authored
Merge pull request #46113 from nilekhc/clarify-automatic-reloading
docs: updates automatics reloading behaviour.
2 parents d06c906 + 87a9120 commit 8901aa5

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

content/en/docs/tasks/administer-cluster/encrypt-data.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,12 @@ allows you to change the keys for encryption at rest without restarting the
719719
API server.
720720

721721
To allow automatic reloading, configure the API server to run with:
722-
`--encryption-provider-config-automatic-reload=true`
722+
`--encryption-provider-config-automatic-reload=true`.
723+
When enabled, file changes are polled every minute to observe the modifications.
724+
The `apiserver_encryption_config_controller_automatic_reload_last_timestamp_seconds`
725+
metric identifies when the new config becomes effective. This allows
726+
encryption keys to be rotated without restarting the API server.
727+
723728

724729
## {{% heading "whatsnext" %}}
725730

content/en/docs/tasks/administer-cluster/kms-provider.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,10 @@ defined in a CustomResourceDefinition, your cluster must be running Kubernetes v
264264

265265
1. Set the `--encryption-provider-config` flag on the kube-apiserver to point to the location of the configuration file.
266266

267-
1. `--encryption-provider-config-automatic-reload` boolean argument determines if the file set by `--encryption-provider-config` should be automatically reloaded if the disk contents change. This enables key rotation without API server restarts.
267+
1. `--encryption-provider-config-automatic-reload` boolean argument
268+
determines if the file set by `--encryption-provider-config` should be
269+
[automatically reloaded](/docs/tasks/administer-cluster/encrypt-data/#configure-automatic-reloading)
270+
if the disk contents change.
268271

269272
1. Restart your API server.
270273

0 commit comments

Comments
 (0)