promenade/docs/source/configuration/kubelet.rst
Mark Burnett 9246fb519a Expose Kubelet configuration
* Adds a new configuration document to manage Kubelet configuration
* Exposes arbitrary configuration
* Specifically exposes the pause image

Change-Id: I8cc268f984c8a1fe44b18d1a910406b8153f93a2
2017-11-16 15:50:57 -05:00

922 B

Kubelet

Configuration for the Kubernetes worker daemon (the Kubelet). This document contains two keys: arguments and images. The arguments are appended directly to the kubelet command line, along with arguments that are controlled by Promenade more directly.

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
    - --eviction-max-pod-grace-period=-1
    - --network-plugin=cni
    - --node-status-update-frequency=5s
    - --v=5
  images:
    pause: gcr.io/google_containers/pause-amd64:3.0