15 lines
393 B
Plaintext
15 lines
393 B
Plaintext
|
#!/bin/sh
|
||
|
[ -r /etc/kubernetes/config ] && . /etc/kubernetes/config
|
||
|
[ -r /etc/kubernetes/apiserver ] && . /etc/kubernetes/apiserver
|
||
|
exec chpst -u kube:kube kube-apiserver \
|
||
|
$KUBE_LOGTOSTDERR \
|
||
|
$KUBE_LOG_LEVEL \
|
||
|
$KUBE_ETCD_SERVERS \
|
||
|
$KUBE_API_ADDRESS \
|
||
|
$KUBE_API_PORT \
|
||
|
$KUBELET_PORT \
|
||
|
$KUBE_ALLOW_PRIV \
|
||
|
$KUBE_SERVICE_ADDRESSES \
|
||
|
$KUBE_ADMISSION_CONTROL \
|
||
|
$KUBE_API_ARGS 2>/dev/null
|