Skip to content

Commit 1bc8ab7

Browse files
ivelichkovichArangoGutierrez
authored andcommitted
add documentation
1 parent 766285f commit 1bc8ab7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/reference/gc-commandline-reference.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ Print usage and exit.
3131

3232
Print version and exit.
3333

34+
### -list-size
35+
36+
The pagination size to use when calling api-server to list nodefeatures.
37+
Pagination is useful for controlling the load on api-server/etcd as the nodefeature resources can be large.
38+
3439
### -gc-interval
3540

3641
The `-gc-interval` specifies the interval between periodic garbage collector runs.

docs/usage/nfd-gc.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,10 @@ default garbage collector interval is set to 1h which is the value when no
2727
In Helm deployments see
2828
[garbage collector parameters](../deployment/helm.md#garbage-collector-parameters)
2929
for altering the nfd-gc configuration.
30+
31+
## List Pagination & Scalability
32+
33+
When NFD GC runs up it lists nodefeatures from api-server.
34+
These resources can be large and in a large cluster this initial list call to sync the informer cache can be
35+
expensive and heavy on api-server/etcd. You can use the `list-size` argument to control pagination size
36+
to help control the load from this list.

0 commit comments

Comments
 (0)