Skip to content

Commit

Permalink
Set default admission control policies in example init files
Browse files Browse the repository at this point in the history
  • Loading branch information
eparis committed Mar 20, 2015
1 parent 7f02e11 commit db4d8d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/init/systemd/environ/apiserver
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ KUBELET_PORT="--kubelet_port=10250"
# Address range to use for services
KUBE_SERVICE_ADDRESSES="--portal_net=10.254.0.0/16"

# default admission control policies
KUBE_ADMISSION_CONTROL="--admission_control=NamespaceAutoProvision,LimitRanger,ResourceQuota"

# Add you own!
KUBE_API_ARGS=""
1 change: 1 addition & 0 deletions contrib/init/systemd/kube-apiserver.service
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ExecStart=/usr/bin/kube-apiserver \
$KUBELET_PORT \
$KUBE_ALLOW_PRIV \
$KUBE_SERVICE_ADDRESSES \
$KUBE_ADMISSION_CONTROL \
$KUBE_API_ARGS
Restart=on-failure
LimitNOFILE=65536
Expand Down

0 comments on commit db4d8d9

Please sign in to comment.