Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
e3d58499
Commit
e3d58499
authored
Apr 04, 2016
by
derekwaynecarr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ResourceQuota should be last admission controller
parent
6ff05bb9
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
6 deletions
+13
-6
config-default.sh
cluster/aws/config-default.sh
+2
-1
config-test.sh
cluster/aws/config-test.sh
+2
-1
config-default.sh
cluster/centos/config-default.sh
+2
-1
config-default.sh
cluster/gce/config-default.sh
+2
-1
config-test.sh
cluster/gce/config-test.sh
+2
-1
config-default.sh
cluster/ubuntu/config-default.sh
+2
-1
config-default.sh
cluster/vagrant/config-default.sh
+1
-0
No files found.
cluster/aws/config-default.sh
View file @
e3d58499
...
@@ -134,7 +134,8 @@ if [[ "${ENABLE_NODE_AUTOSCALER}" == "true" ]]; then
...
@@ -134,7 +134,8 @@ if [[ "${ENABLE_NODE_AUTOSCALER}" == "true" ]]; then
fi
fi
# Admission Controllers to invoke prior to persisting objects in cluster
# Admission Controllers to invoke prior to persisting objects in cluster
ADMISSION_CONTROL
=
NamespaceLifecycle,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota,PersistentVolumeLabel
# If we included ResourceQuota, we should keep it at the end of the list to prevent incremeting quota usage prematurely.
ADMISSION_CONTROL
=
NamespaceLifecycle,LimitRanger,SecurityContextDeny,ServiceAccount,PersistentVolumeLabel,ResourceQuota
# Optional: Enable/disable public IP assignment for minions.
# Optional: Enable/disable public IP assignment for minions.
# Important Note: disable only if you have setup a NAT instance for internet access and configured appropriate routes!
# Important Note: disable only if you have setup a NAT instance for internet access and configured appropriate routes!
...
...
cluster/aws/config-test.sh
View file @
e3d58499
...
@@ -120,7 +120,8 @@ if [[ "${ENABLE_NODE_AUTOSCALER}" == "true" ]]; then
...
@@ -120,7 +120,8 @@ if [[ "${ENABLE_NODE_AUTOSCALER}" == "true" ]]; then
fi
fi
# Admission Controllers to invoke prior to persisting objects in cluster
# Admission Controllers to invoke prior to persisting objects in cluster
ADMISSION_CONTROL
=
NamespaceLifecycle,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota,PersistentVolumeLabel
# If we included ResourceQuota, we should keep it at the end of the list to prevent incremeting quota usage prematurely.
ADMISSION_CONTROL
=
NamespaceLifecycle,LimitRanger,SecurityContextDeny,ServiceAccount,PersistentVolumeLabel,ResourceQuota
# Optional: Enable/disable public IP assignment for minions.
# Optional: Enable/disable public IP assignment for minions.
# Important Note: disable only if you have setup a NAT instance for internet access and configured appropriate routes!
# Important Note: disable only if you have setup a NAT instance for internet access and configured appropriate routes!
...
...
cluster/centos/config-default.sh
View file @
e3d58499
...
@@ -41,7 +41,8 @@ export SERVICE_CLUSTER_IP_RANGE=${SERVICE_CLUSTER_IP_RANGE:-"192.168.3.0/24"}
...
@@ -41,7 +41,8 @@ export SERVICE_CLUSTER_IP_RANGE=${SERVICE_CLUSTER_IP_RANGE:-"192.168.3.0/24"}
export
FLANNEL_NET
=
${
FLANNEL_NET
:-
"172.16.0.0/16"
}
export
FLANNEL_NET
=
${
FLANNEL_NET
:-
"172.16.0.0/16"
}
# Admission Controllers to invoke prior to persisting objects in cluster
# Admission Controllers to invoke prior to persisting objects in cluster
export
ADMISSION_CONTROL
=
NamespaceLifecycle,NamespaceExists,LimitRanger,ServiceAccount,ResourceQuota,SecurityContextDeny
# If we included ResourceQuota, we should keep it at the end of the list to prevent incremeting quota usage prematurely.
export
ADMISSION_CONTROL
=
NamespaceLifecycle,NamespaceExists,LimitRanger,ServiceAccount,SecurityContextDeny,ResourceQuota
# Extra options to set on the Docker command line.
# Extra options to set on the Docker command line.
# This is useful for setting --insecure-registry for local registries.
# This is useful for setting --insecure-registry for local registries.
...
...
cluster/gce/config-default.sh
View file @
e3d58499
...
@@ -114,7 +114,8 @@ if [[ "${ENABLE_NODE_AUTOSCALER}" == "true" ]]; then
...
@@ -114,7 +114,8 @@ if [[ "${ENABLE_NODE_AUTOSCALER}" == "true" ]]; then
fi
fi
# Admission Controllers to invoke prior to persisting objects in cluster
# Admission Controllers to invoke prior to persisting objects in cluster
ADMISSION_CONTROL
=
NamespaceLifecycle,LimitRanger,ServiceAccount,ResourceQuota,PersistentVolumeLabel
# If we included ResourceQuota, we should keep it at the end of the list to prevent incremeting quota usage prematurely.
ADMISSION_CONTROL
=
NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,ResourceQuota
# Optional: if set to true kube-up will automatically check for existing resources and clean them up.
# Optional: if set to true kube-up will automatically check for existing resources and clean them up.
KUBE_UP_AUTOMATIC_CLEANUP
=
${
KUBE_UP_AUTOMATIC_CLEANUP
:-
false
}
KUBE_UP_AUTOMATIC_CLEANUP
=
${
KUBE_UP_AUTOMATIC_CLEANUP
:-
false
}
...
...
cluster/gce/config-test.sh
View file @
e3d58499
...
@@ -128,7 +128,8 @@ if [[ "${ENABLE_NODE_AUTOSCALER}" == "true" ]]; then
...
@@ -128,7 +128,8 @@ if [[ "${ENABLE_NODE_AUTOSCALER}" == "true" ]]; then
TARGET_NODE_UTILIZATION
=
"
${
KUBE_TARGET_NODE_UTILIZATION
:-
0
.7
}
"
TARGET_NODE_UTILIZATION
=
"
${
KUBE_TARGET_NODE_UTILIZATION
:-
0
.7
}
"
fi
fi
ADMISSION_CONTROL
=
"
${
KUBE_ADMISSION_CONTROL
:-
NamespaceLifecycle
,LimitRanger,ServiceAccount,ResourceQuota,PersistentVolumeLabel
}
"
# If we included ResourceQuota, we should keep it at the end of the list to prevent incremeting quota usage prematurely.
ADMISSION_CONTROL
=
"
${
KUBE_ADMISSION_CONTROL
:-
NamespaceLifecycle
,LimitRanger,ServiceAccount,PersistentVolumeLabel,ResourceQuota
}
"
# Optional: if set to true kube-up will automatically check for existing resources and clean them up.
# Optional: if set to true kube-up will automatically check for existing resources and clean them up.
KUBE_UP_AUTOMATIC_CLEANUP
=
${
KUBE_UP_AUTOMATIC_CLEANUP
:-
false
}
KUBE_UP_AUTOMATIC_CLEANUP
=
${
KUBE_UP_AUTOMATIC_CLEANUP
:-
false
}
...
...
cluster/ubuntu/config-default.sh
View file @
e3d58499
...
@@ -67,7 +67,8 @@ export FLANNEL_OTHER_NET_CONFIG
...
@@ -67,7 +67,8 @@ export FLANNEL_OTHER_NET_CONFIG
FLANNEL_OTHER_NET_CONFIG
=
''
FLANNEL_OTHER_NET_CONFIG
=
''
# Admission Controllers to invoke prior to persisting objects in cluster
# Admission Controllers to invoke prior to persisting objects in cluster
export
ADMISSION_CONTROL
=
NamespaceLifecycle,LimitRanger,ServiceAccount,ResourceQuota,SecurityContextDeny
# If we included ResourceQuota, we should keep it at the end of the list to prevent incremeting quota usage prematurely.
export
ADMISSION_CONTROL
=
NamespaceLifecycle,LimitRanger,ServiceAccount,SecurityContextDeny,ResourceQuota
# Path to the config file or directory of files of kubelet
# Path to the config file or directory of files of kubelet
export
KUBELET_CONFIG
=
${
KUBELET_CONFIG
:-
""
}
export
KUBELET_CONFIG
=
${
KUBELET_CONFIG
:-
""
}
...
...
cluster/vagrant/config-default.sh
View file @
e3d58499
...
@@ -55,6 +55,7 @@ MASTER_USER=vagrant
...
@@ -55,6 +55,7 @@ MASTER_USER=vagrant
MASTER_PASSWD
=
vagrant
MASTER_PASSWD
=
vagrant
# Admission Controllers to invoke prior to persisting objects in cluster
# Admission Controllers to invoke prior to persisting objects in cluster
# If we included ResourceQuota, we should keep it at the end of the list to prevent incremeting quota usage prematurely.
ADMISSION_CONTROL
=
NamespaceLifecycle,LimitRanger,ServiceAccount,ResourceQuota
ADMISSION_CONTROL
=
NamespaceLifecycle,LimitRanger,ServiceAccount,ResourceQuota
# Optional: Enable node logging.
# Optional: Enable node logging.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment