You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fs.StringVar(&s.CertDirectory, "cert-dir", s.CertDirectory, "The directory where the TLS certs are located (by default /var/run/kubernetes). "+
208
-
"If --tls_cert_file and --tls_private_key_file are provided, this flag will be ignored.")
208
+
"If --tls-cert-file and --tls-private-key-file are provided, this flag will be ignored.")
209
209
fs.StringVar(&s.HostnameOverride, "hostname-override", s.HostnameOverride, "If non-empty, will use this string as identification instead of the actual hostname.")
210
210
fs.StringVar(&s.PodInfraContainerImage, "pod-infra-container-image", s.PodInfraContainerImage, "The image whose network/ipc namespaces containers in each pod will use.")
211
211
fs.StringVar(&s.DockerEndpoint, "docker-endpoint", s.DockerEndpoint, "If non-empty, use this for the docker endpoint to communicate with")
fs.StringVar(&s.HostNetworkSources, "host-network-sources", s.HostNetworkSources, "Comma-separated list of sources from which the Kubelet allows pods to use of host network. For all sources use \"*\" [default=\"file\"]")
215
215
fs.Float64Var(&s.RegistryPullQPS, "registry-qps", s.RegistryPullQPS, "If > 0, limit registry pull QPS to this value. If 0, unlimited. [default=0.0]")
216
-
fs.IntVar(&s.RegistryBurst, "registry-burst", s.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")
217
-
fs.BoolVar(&s.RunOnce, "runonce", s.RunOnce, "If true, exit after spawning pods from local manifests or remote urls. Exclusive with --api_servers, and --enable-server")
216
+
fs.IntVar(&s.RegistryBurst, "registry-burst", s.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")
217
+
fs.BoolVar(&s.RunOnce, "runonce", s.RunOnce, "If true, exit after spawning pods from local manifests or remote urls. Exclusive with --api-servers, and --enable-server")
218
218
fs.BoolVar(&s.EnableDebuggingHandlers, "enable-debugging-handlers", s.EnableDebuggingHandlers, "Enables server endpoints for log collection and local running of containers and commands")
219
219
fs.DurationVar(&s.MinimumGCAge, "minimum-container-ttl-duration", s.MinimumGCAge, "Minimum age for a finished container before it is garbage collected. Examples: '300ms', '10s' or '2h45m'")
220
220
fs.IntVar(&s.MaxPerPodContainerCount, "maximum-dead-containers-per-container", s.MaxPerPodContainerCount, "Maximum number of old instances of a container to retain per container. Each container takes up some disk space. Default: 2.")
Copy file name to clipboardexpand all lines: contrib/init/systemd/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Notes
29
29
-----
30
30
It may seem reasonable to use --option=${OPTION} in the .service file instead of only putting the command line option in the environment file. However this results in the possibility of daemons being called with --option= if the environment file does not define a value. Whereas including the --option string inside the environment file means that nothing will be passed to the daemon. So the daemon default will be used for things unset by the environment files.
31
31
32
-
While some command line options to the daemons use the default when passed an empty option some cause the daemon to fail to launch. --allow_privileged= (without a value of true/false) will cause the kube-apiserver and kubelet to refuse to launch.
32
+
While some command line options to the daemons use the default when passed an empty option some cause the daemon to fail to launch. --allow-privileged= (without a value of true/false) will cause the kube-apiserver and kubelet to refuse to launch.
33
33
34
34
It also may seem reasonable to just use $DAEMON_ARGS and string all of these into one line in the environment file. While that makes the .service file simple it makes the admin job more difficult to locate and make appropriate changes to the config. This is a tradeoff between having to update the .service file to add new options or having the config files easy for an admin to work with. I choose: "easy for admin most of the time".
Copy file name to clipboardexpand all lines: docs/admin/kube-apiserver.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -73,12 +73,12 @@ cluster's shared state through which all other components interact.
73
73
-h, --help=false: help for kube-apiserver
74
74
--insecure-bind-address=<nil>: The IP address on which to serve the --insecure-port (set to 0.0.0.0 for all interfaces). Defaults to localhost.
75
75
--insecure-port=0: The port on which to serve unsecured, unauthenticated access. Default 8080. It is assumed that firewall rules are set up such that this port is not reachable from outside of the cluster and that port 443 on the cluster's public address is proxied to this port. This is performed by nginx in the default setup.
76
-
--kubelet_certificate_authority="": Path to a cert. file for the certificate authority.
77
-
--kubelet_client_certificate="": Path to a client key file for TLS.
78
-
--kubelet_client_key="": Path to a client key file for TLS.
79
-
--kubelet_https=false: Use https for kubelet connections
80
-
--kubelet_port=0: Kubelet port
81
-
--kubelet_timeout=0: Timeout for kubelet operations
76
+
--kubelet-certificate-authority="": Path to a cert. file for the certificate authority.
77
+
--kubelet-client-certificate="": Path to a client key file for TLS.
78
+
--kubelet-client-key="": Path to a client key file for TLS.
79
+
--kubelet-https=false: Use https for kubelet connections
80
+
--kubelet-port=0: Kubelet port
81
+
--kubelet-timeout=0: Timeout for kubelet operations
82
82
--long-running-request-regexp="(/|^)((watch|proxy)(/|$)|(logs|portforward|exec)/?$)": A regular expression matching long running requests which should be excluded from maximum inflight request handling.
83
83
--master-service-namespace="": The namespace from which the Kubernetes master services should be injected into pods
84
84
--max-requests-inflight=400: The maximum number of requests in flight at a given time. When the server exceeds this, it rejects requests. Zero for no limit.
Copy file name to clipboardexpand all lines: docs/admin/kube-controller-manager.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ controller, and serviceaccounts controller.
58
58
--cluster-cidr=<nil>: CIDR Range for Pods in cluster.
59
59
--cluster-name="": The instance prefix for the cluster
60
60
--concurrent-endpoint-syncs=0: The number of endpoint syncing operations that will be done concurrently. Larger number = faster endpoint updating, but more CPU (and network) load
61
-
--concurrent_rc_syncs=0: The number of replication controllers that are allowed to sync concurrently. Larger number = more responsive replica management, but more CPU (and network) load
61
+
--concurrent-rc-syncs=0: The number of replication controllers that are allowed to sync concurrently. Larger number = more responsive replica management, but more CPU (and network) load
62
62
--deleting-pods-burst=10: Number of nodes on which pods are bursty deleted in case of node failure. For more details look into RateLimiter.
63
63
--deleting-pods-qps=0.1: Number of nodes per second on which pods are deleted in case of node failure.
64
64
-h, --help=false: help for kube-controller-manager
Copy file name to clipboardexpand all lines: docs/admin/kubelet.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -64,16 +64,16 @@ HTTP server: The kubelet can also listen for HTTP and respond to a simple API
64
64
--allow-privileged=false: If true, allow containers to request privileged mode. [default=false]
65
65
--api-servers=[]: List of Kubernetes API servers for publishing events, and reading pods and services. (ip:port), comma separated.
66
66
--cadvisor-port=0: The port of the localhost cAdvisor endpoint
67
-
--cert-dir="": The directory where the TLS certs are located (by default /var/run/kubernetes). If --tls_cert_file and --tls_private_key_file are provided, this flag will be ignored.
68
-
--cgroup_root="": Optional root cgroup to use for pods. This is handled by the container runtime on a best effort basis. Default: '', which means use the container runtime default.
67
+
--cert-dir="": The directory where the TLS certs are located (by default /var/run/kubernetes). If --tls-cert-file and --tls-private-key-file are provided, this flag will be ignored.
68
+
--cgroup-root="": Optional root cgroup to use for pods. This is handled by the container runtime on a best effort basis. Default: '', which means use the container runtime default.
69
69
--chaos-chance=0: If > 0.0, introduce random client errors and latency. Intended for testing. [default=0.0]
70
70
--cloud-config="": The path to the cloud provider configuration file. Empty string for no configuration file.
71
71
--cloud-provider="": The provider for cloud services. Empty string for no provider.
72
72
--cluster-dns=<nil>: IP address for a cluster DNS server. If set, kubelet will configure all containers to use this for DNS resolution in addition to the host's DNS servers
73
73
--cluster-domain="": Domain for this cluster. If set, kubelet will configure all containers to search this domain in addition to the host's search domains
74
74
--config="": Path to the config file or directory of files
75
75
--configure-cbr0=false: If true, kubelet will configure cbr0 based on Node.Spec.PodCIDR.
76
-
--container_runtime="": The container runtime to use. Possible values: 'docker', 'rkt'. Default: 'docker'.
76
+
--container-runtime="": The container runtime to use. Possible values: 'docker', 'rkt'. Default: 'docker'.
77
77
--containerized=false: Experimental support for running kubelet in a container. Intended for testing. [default=false]
78
78
--docker-endpoint="": If non-empty, use this for the docker endpoint to communicate with
79
79
--docker-exec-handler="": Handler to use when executing a command in a container. Valid values are 'native' and 'nsenter'. Defaults to 'native'.
@@ -105,16 +105,16 @@ HTTP server: The kubelet can also listen for HTTP and respond to a simple API
105
105
--read-only-port=0: The read-only port for the Kubelet to serve on (set to 0 to disable)
106
106
--really-crash-for-testing=false: If true, when panics occur crash. Intended for testing.
107
107
--register-node=false: Register the node with the apiserver (defaults to true if --api-server is set)
108
-
--registry-burst=0: 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
108
+
--registry-burst=0: 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
109
109
--registry-qps=0: If > 0, limit registry pull QPS to this value. If 0, unlimited. [default=0.0]
110
110
--resource-container="": Absolute name of the resource-only container to create and run the Kubelet in (Default: /kubelet).
111
111
--root-dir="": Directory path for managing kubelet files (volume mounts,etc).
112
-
--runonce=false: If true, exit after spawning pods from local manifests or remote urls. Exclusive with --api_servers, and --enable-server
112
+
--runonce=false: If true, exit after spawning pods from local manifests or remote urls. Exclusive with --api-servers, and --enable-server
113
113
--streaming-connection-idle-timeout=0: Maximum time a streaming connection can be idle before the connection is automatically closed. Example: '5m'
114
114
--sync-frequency=0: Max period between synchronizing running containers and config
115
115
--system-container="": Optional resource-only container in which to place all non-kernel processes that are not already in a container. Empty for no container. Rolling back the flag requires a reboot. (Default: "").
116
-
--tls-cert-file="": File containing x509 Certificate for HTTPS. (CA cert, if any, concatenated after server cert). If --tls_cert_file and --tls_private_key_file are not provided, a self-signed certificate and key are generated for the public address and saved to the directory passed to --cert_dir.
--tls-cert-file="": File containing x509 Certificate for HTTPS. (CA cert, if any, concatenated after server cert). If --tls-cert-file and --tls-private-key-file are not provided, a self-signed certificate and key are generated for the public address and saved to the directory passed to --cert-dir.
0 commit comments