Skip to content

kubelet job from kubo/0.15.0

Github source: 4438003 or master branch

Properties

allow_privileged

Allows privileged containers for the Kubernetes cluster

Default
false

api-token

The token to access Kubernetes API

backend_port

Default
6789
Example
80

drain-api-token

The token to access Kubernetes API used to drain the kubelet.

eviction-hard

Node eviction thresholds

Example
memory.available<500Mi,nodefs.available<10%

http_proxy

http_proxy env var for cloud provider interactions, i.e. for the kubelet and govc binary

https_proxy

https_proxy env var for cloud provider interactions, i.e. for the kubelet and govc binary

kube-reserved

Resource reservations for kubernetes system daemons

Example
cpu=1,memory=2Gi,storage=1Gi

labels

Labels to give node

Default
{}
Example
gpu: true
node-type: router

logging-level

V-leveled logging at the specified level. See https://github.com/golang/glog

Default
2

no_proxy

no_proxy env var for cloud provider interactions, i.e. for the kubelet and govc binary

port

Default
4567
Example
81

system-reserved

Resource reservations for OS system daemons

Example
cpu=500m,memory=1Gi,storage=1Gi

tls

kubelet

Certificate and private key for the Kubernetes worker

kubernetes

Certificate and private key for the Kubernetes master

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/kubelet/ directory (learn more).

  • bin/drain (from bin/drain.erb)
  • bin/ensure_kubelet_up_and_running (from bin/ensure_kubelet_up_and_running.erb)
  • bin/kubelet_ctl (from bin/kubelet_ctl.erb)
  • bin/post-start (from bin/post-start.erb)
  • bin/pre-start (from bin/pre-start.erb)
  • config/ca.pem (from config/ca.pem.erb)
  • config/cloud-provider.ini (from config/cloud-provider.ini.erb)
  • config/kubeconfig (from config/kubeconfig.erb)
  • config/kubeconfig-drain (from config/kubeconfig-drain.erb)
  • config/kubelet-key.pem (from config/kubelet-key.pem.erb)
  • config/kubelet.pem (from config/kubelet.pem.erb)
  • config/openstack-ca.crt (from config/openstack-ca.crt.erb)
  • config/service_key.json (from config/service_key.json.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.