promenade/doc/source/configuration/kubelet.rst
SPEARS, DUSTIN (ds443n) 70dd0c8599 Remove deprecated controller-manager flag
Additionally update all images from k8s.gcr.io to registry.k8s.io

Change-Id: I0240ee0bf5d23d035126a81318f57b240f5af402
2023-04-18 15:02:30 -04: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: registry.k8s.io/pause-amd64:3.1
  config_file_overrides:
    evictionMaxPodGracePeriod: -1
    nodeStatusUpdateFrequency: "5s"