[−][src]Module kubelet::config
Configuration for a Kubelet
You must provide a Config when instantiating a kubelet. Although you can create a Config directly, it is usually easier to use one of the following functions:
Config::default_config
- use the defaults for everythingConfig::new_from_file
- use the values in the specified fileConfig::new_from_flags
- use the values specified on the command line or in environment variables (requires you to turn on the "cli" feature)Config::new_from_file_and_flags
- use the values specified on the command line or in environment variables, but falling back to the specified configuration file (requires you to turn on the "cli" feature)
Structs
Config | The configuration needed for a kubelet to run properly. |
Opts | feature="cli" CLI options that can be configured for Kubelet |
ServerConfig | The configuration for the Kubelet server. |