2017-04-14 17:39:40 +08:00
|
|
|
###
|
|
|
|
## kubernetes kubelet (minion) config
|
|
|
|
#
|
|
|
|
## The address for the info server to serve on (set to 0.0.0.0 or "" for all interfaces)
|
|
|
|
KUBELET_ADDRESS="--address=172.20.0.113"
|
|
|
|
#
|
|
|
|
## The port for the info server to serve on
|
|
|
|
#KUBELET_PORT="--port=10250"
|
|
|
|
#
|
|
|
|
## You may leave this blank to use the actual hostname
|
|
|
|
KUBELET_HOSTNAME="--hostname-override=172.20.0.113"
|
|
|
|
#
|
|
|
|
## location of the api-server
|
2018-01-09 12:45:42 +08:00
|
|
|
## COMMENT THIS ON KUBERNETES 1.8+
|
2017-04-14 17:39:40 +08:00
|
|
|
KUBELET_API_SERVER="--api-servers=http://172.20.0.113:8080"
|
|
|
|
#
|
|
|
|
## pod infrastructure container
|
|
|
|
KUBELET_POD_INFRA_CONTAINER="--pod-infra-container-image=sz-pg-oam-docker-hub-001.tendcloud.com/library/pod-infrastructure:rhel7"
|
|
|
|
#
|
|
|
|
## Add your own!
|
2017-08-07 21:54:27 +08:00
|
|
|
KUBELET_ARGS="--cgroup-driver=systemd --cluster-dns=10.254.0.2 --experimental-bootstrap-kubeconfig=/etc/kubernetes/bootstrap.kubeconfig --kubeconfig=/etc/kubernetes/kubelet.kubeconfig --require-kubeconfig --cert-dir=/etc/kubernetes/ssl --cluster-domain=cluster.local --hairpin-mode promiscuous-bridge --serialize-image-pulls=false --allow-privileged=true"
|