mirror of https://github.com/k3s-io/k3s
Local-up-cluster does not have admission control
parent
8dfd7001f5
commit
2484adbbfe
|
@ -114,9 +114,13 @@ trap cleanup EXIT
|
|||
echo "Starting etcd"
|
||||
kube::etcd::start
|
||||
|
||||
# Admission Controllers to invoke prior to persisting objects in cluster
|
||||
ADMISSION_CONTROL=NamespaceLifecycle,NamespaceAutoProvision,LimitRanger,ResourceQuota
|
||||
|
||||
APISERVER_LOG=/tmp/kube-apiserver.log
|
||||
sudo -E "${GO_OUT}/kube-apiserver" \
|
||||
--v=${LOG_LEVEL} \
|
||||
--admission_control="${ADMISSION_CONTROL}" \
|
||||
--address="${API_HOST}" \
|
||||
--port="${API_PORT}" \
|
||||
--runtime_config=api/v1beta3 \
|
||||
|
|
Loading…
Reference in New Issue