promenade/doc/source/configuration/kubelet.rst
Samuel Pilla 7070ade848 Upgrade pause version for k8s 1.16
Change-Id: I04c394fa6b81f2243b190909100ffaf3772b9bab
2019-11-11 16:34:15 +00:00

1.2 KiB

Kubelet

Configuration for the Kubernetes worker daemon (the Kubelet). This document contains three keys: arguments, images, and config_file_overrides. The arguments are appended directly to the kubelet command line, along with arguments that are controlled by Promenade more directly. The config_file_overrides are appended directly to the static kubelet configuration file and only consists of a subset of kubelet arguments. More information regarding the format for this key can be found here.

The only image that is configurable is for the pause container.

Sample Document

Here is a sample document:

schema: promenade/Kubelet/v1
metadata:
  schema: metadata/Document/v1
  name: kubelet
  layeringDefinition:
    abstract: false
    layer: site
data:
  arguments:
    - --cni-bin-dir=/opt/cni/bin
    - --cni-conf-dir=/etc/cni/net.d
    - --network-plugin=cni
    - --v=5
  images:
    pause: gcr.io/google_containers/pause-amd64:3.1
  config_file_overrides:
    evictionMaxPodGracePeriod: -1
    nodeStatusUpdateFrequency: "5s"