mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-06 16:57:10 +00:00
Similar to the nfd-worker, in this PR we want to support the dynamic run-time configurability through a config file for the nfd-master. We'll use a json or yaml configuration file along with the fsnotify in order to watch for changes in the config file. As a result, we're allowing dynamic control of logging params, allowed namespaces, extended resources, label whitelisting, and denied namespaces. Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
46 lines
644 B
Markdown
46 lines
644 B
Markdown
---
|
|
title: "Topology Garbage Collector Cmdline Reference"
|
|
layout: default
|
|
sort: 7
|
|
---
|
|
|
|
# NFD-Topology-Garbage-Collector Commandline Flags
|
|
|
|
{: .no_toc }
|
|
|
|
## Table of Contents
|
|
|
|
{: .no_toc .text-delta }
|
|
|
|
1. TOC
|
|
{:toc}
|
|
|
|
---
|
|
|
|
To quickly view available command line flags execute `nfd-topology-gc -help`.
|
|
In a docker container:
|
|
|
|
```bash
|
|
docker run {{ site.container_image }} \
|
|
nfd-topology-gc -help
|
|
```
|
|
|
|
### -h, -help
|
|
|
|
Print usage and exit.
|
|
|
|
### -version
|
|
|
|
Print version and exit.
|
|
|
|
### -gc-interval
|
|
|
|
The `-gc-interval` specifies the interval between periodic garbage collector runs.
|
|
|
|
Default: 1h
|
|
|
|
Example:
|
|
|
|
```bash
|
|
nfd-topology-gc -gc-interval=1h
|
|
```
|