kubelet job from kubo/0.37.0
Github source:
8fdd63c
or
master branch
Properties¶
api-token
¶
The token to access Kubernetes API
cloud-provider
¶
The type of cloud-provider that is being deployed
drain-api-token
¶
The token to access Kubernetes API used to drain the kubelet.
http_proxy
¶
http_proxy env var for cloud provider interactions, i.e. for the kubelet
https_proxy
¶
https_proxy env var for cloud provider interactions, i.e. for the kubelet
k8s-args
¶
Pass-through options for Kubernetes runtime arguments. See docs https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/ for reference.
- Example
-
|+ k8s-args: address: 10.0.0.1 docker-only: null
kubectl-drain-timeout
¶
The length of time to wait before giving up draining a node, zero means infinite
- Default
0s
kubelet-configuration
¶
The Kubelet will load its initial configuration from this. Omit this to use the built-in default configuration values. Command-line flags override configuration.
kubelet-drain-delete-local-data
¶
Continue drain even if there are pods using emptyDir (local data that will be deleted when the node is drained)
- Default
true
kubelet-drain-force
¶
Continue drain even if there are pods not managed by a ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet.
- Default
true
kubelet-drain-force-node
¶
Forcibly terminate pods if all the pods fail to drain before the timeout.
- Default
false
kubelet-drain-grace-period
¶
Period of time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used.
- Default
"10"
kubelet-drain-ignore-daemonsets
¶
Ignore DaemonSet-managed pods during drain
- Default
true
no_proxy
¶
no_proxy env var for cloud provider interactions, i.e. for the kubelet
tls
¶
kubelet
¶Certificate and private key for the Kubernetes worker
kubelet-client-ca
¶
certificate
¶CA certificate of the authority granting access to kubelet server
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
(frombin/drain.erb
)bin/ensure_kubelet_up_and_running
(frombin/ensure_kubelet_up_and_running.erb
)bin/kubelet_ctl
(frombin/kubelet_ctl.erb
)bin/post-start
(frombin/post-start.erb
)config/apiserver-ca.pem
(fromconfig/apiserver-ca.pem.erb
)config/cloud-provider.ini
(fromconfig/cloud-provider.ini.erb
)config/kubeconfig
(fromconfig/kubeconfig.erb
)config/kubeconfig-drain
(fromconfig/kubeconfig-drain.erb
)config/kubelet-client-ca.pem
(fromconfig/kubelet-client-ca.pem.erb
)config/kubelet-key.pem
(fromconfig/kubelet-key.pem.erb
)config/kubelet.pem
(fromconfig/kubelet.pem.erb
)config/kubeletconfig.yml
(fromconfig/kubeletconfig.yml.erb
)config/openstack-ca.crt
(fromconfig/openstack-ca.crt.erb
)config/service_key.json
(fromconfig/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.