Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Annotations ¶
Annotations are used for NFD-related node metadata
type Args ¶
type Args struct { CaFile string CertFile string ConfigFile string Instance string KeyFile string Klog map[string]*utils.KlogFlagVal Kubeconfig string CrdController bool EnableNodeFeatureApi bool Port int Prune bool VerifyNodeName bool Options string EnableLeaderElection bool MetricsPort int Overrides ConfigOverrideArgs }
Args holds command line arguments
type ConfigOverrideArgs ¶
type ConfigOverrideArgs struct { DenyLabelNs *utils.StringSetVal ExtraLabelNs *utils.StringSetVal LabelWhiteList *utils.RegexpVal ResourceLabels *utils.StringSetVal EnableTaints *bool NoPublish *bool ResyncPeriod *utils.DurationVal NfdApiParallelism *int }
ConfigOverrideArgs are args that override config file options
type ExtendedResources ¶
ExtendedResources are k8s extended resources which are created from discovered features.
type LeaderElectionConfig ¶
type LeaderElectionConfig struct { LeaseDuration utils.DurationVal RenewDeadline utils.DurationVal RetryPeriod utils.DurationVal }
LeaderElectionConfig contains the configuration for leader election
type NFDConfig ¶
type NFDConfig struct { DenyLabelNs utils.StringSetVal ExtraLabelNs utils.StringSetVal LabelWhiteList utils.RegexpVal NoPublish bool ResourceLabels utils.StringSetVal EnableTaints bool ResyncPeriod utils.DurationVal LeaderElection LeaderElectionConfig NfdApiParallelism int Klog klogutils.KlogConfigOpts }
NFDConfig contains the configuration settings of NfdMaster.
Click to show internal directories.
Click to hide internal directories.