|
|
@ -20,6 +20,9 @@ KUBE_ALLOW_PRIV="--allow_privileged=true" |
|
|
|
# The port on the local server to listen on. |
|
|
|
KUBE_API_PORT="--insecure-port={{kube_apiserver_insecure_port}} --secure-port={{ kube_apiserver_port }}" |
|
|
|
|
|
|
|
# Insecure API address (default is localhost) |
|
|
|
KUBE_API_INSECURE_BIND="--insecure-bind-address={{ kube_apiserver_insecure_bind_address | default('127.0.0.1') }}" |
|
|
|
|
|
|
|
# Address range to use for services |
|
|
|
KUBE_SERVICE_ADDRESSES="--service-cluster-ip-range={{ kube_service_addresses }}" |
|
|
|
|
|
|
@ -46,7 +49,7 @@ KUBELET_CLOUDPROVIDER="" |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if ansible_service_mgr in ["sysvinit","upstart"] %} |
|
|
|
DAEMON_ARGS="$KUBE_LOGGING $KUBE_LOG_LEVEL $KUBE_ALLOW_PRIV $KUBE_API_PORT $KUBE_SERVICE_ADDRESSES \ |
|
|
|
$KUBE_ETCD_SERVERS $KUBE_ADMISSION_CONTROL $KUBE_RUNTIME_CONFIG $KUBE_TLS_CONFIG $KUBE_API_ARGS \ |
|
|
|
$KUBELET_CLOUDPROVIDER" |
|
|
|
DAEMON_ARGS="$KUBE_LOGGING $KUBE_LOG_LEVEL $KUBE_ALLOW_PRIV $KUBE_API_PORT $KUBE_API_INSECURE_BIND \ |
|
|
|
$KUBE_SERVICE_ADDRESSES $KUBE_ETCD_SERVERS $KUBE_ADMISSION_CONTROL $KUBE_RUNTIME_CONFIG \ |
|
|
|
$KUBE_TLS_CONFIG $KUBE_API_ARGS $KUBELET_CLOUDPROVIDER" |
|
|
|
{% endif %} |