table of contents
KUBERNETES(1)(kubernetes) | KUBERNETES(1)(kubernetes) |
NAME¶
kubelet - Processes a container manifest so the containers are launched according to how they are described.
SYNOPSIS¶
kubelet [OPTIONS]
DESCRIPTION¶
The kubelet is the primary "node agent" that runs on each node. It can register the node with the apiserver using one of: the hostname; a flag to override the hostname; or specific logic for a cloud provider.
The kubelet works in terms of a PodSpec. A PodSpec is a YAML or JSON object that describes a pod. The kubelet takes a set of PodSpecs that are provided through various mechanisms (primarily through the apiserver) and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn't manage containers which were not created by Kubernetes.
Other than from an PodSpec from the apiserver, there are two ways that a container manifest can be provided to the Kubelet.
File: Path passed as a flag on the command line. Files under this path will be monitored periodically for updates. The monitoring period is 20s by default and is configurable via a flag.
HTTP endpoint: HTTP endpoint passed as a parameter on the command line. This endpoint is checked every 20 seconds (also configurable with a flag).
kubelet [flags]
OPTIONS¶
-h, --help help for kubelet
--version version[=true] --version, --version=raw prints version information
and quits; --version=vX.Y.Z... sets the reported version
EXAMPLES¶
/usr/bin/kubelet --logtostderr=true --v=0 --api_servers=http://127.0.0.1:8080 --address=127.0.0.1 --port=10250 --hostname_override=127.0.0.1 --allow-privileged=false
User | Manuals |