"If the file specified by --kubeconfig does not exist, the bootstrap kubeconfig is used to request a client certificate from the API server. "+
"If the file specified by --kubeconfig does not exist, the bootstrap kubeconfig is used to request a client certificate from the API server. "+
"On success, a kubeconfig file referencing the generated client certificate and key is written to the path specified by --kubeconfig. "+
"On success, a kubeconfig file referencing the generated client certificate and key is written to the path specified by --kubeconfig. "+
"The client certificate and key file will be stored in the directory pointed by --cert-dir.")
"The client certificate and key file will be stored in the directory pointed by --cert-dir.")
fs.BoolVar(&f.RotateCertificates,"rotate-certificates",f.RotateCertificates,"<Warning: Beta feature> Auto rotate the kubelet client certificates by requesting new certificates from the kube-apiserver when the certificate expiration approaches.")
fs.BoolVar(&f.ReallyCrashForTesting,"really-crash-for-testing",f.ReallyCrashForTesting,"If true, when panics occur crash. Intended for testing.")
fs.BoolVar(&f.ReallyCrashForTesting,"really-crash-for-testing",f.ReallyCrashForTesting,"If true, when panics occur crash. Intended for testing.")
fs.Float64Var(&f.ChaosChance,"chaos-chance",f.ChaosChance,"If > 0.0, introduce random client errors and latency. Intended for testing.")
fs.Float64Var(&f.ChaosChance,"chaos-chance",f.ChaosChance,"If > 0.0, introduce random client errors and latency. Intended for testing.")
...
@@ -497,6 +494,7 @@ func AddKubeletConfigFlags(mainfs *pflag.FlagSet, c *kubeletconfig.KubeletConfig
...
@@ -497,6 +494,7 @@ func AddKubeletConfigFlags(mainfs *pflag.FlagSet, c *kubeletconfig.KubeletConfig
"Value must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants.")
"Value must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants.")
fs.BoolVar(&c.RotateCertificates,"rotate-certificates",c.RotateCertificates,"<Warning: Beta feature> Auto rotate the kubelet client certificates by requesting new certificates from the kube-apiserver when the certificate expiration approaches.")
fs.Int32Var(&c.RegistryPullQPS,"registry-qps",c.RegistryPullQPS,"If > 0, limit registry pull QPS to this value. If 0, unlimited.")
fs.Int32Var(&c.RegistryPullQPS,"registry-qps",c.RegistryPullQPS,"If > 0, limit registry pull QPS to this value. If 0, unlimited.")
fs.Int32Var(&c.RegistryBurst,"registry-burst",c.RegistryBurst,"Maximum size of a bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registry-qps. Only used if --registry-qps > 0")
fs.Int32Var(&c.RegistryBurst,"registry-burst",c.RegistryBurst,"Maximum size of a bursty pulls, temporarily allows pulls to burst to this number, while still not exceeding registry-qps. Only used if --registry-qps > 0")