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
e3c67509
Commit
e3c67509
authored
Oct 12, 2015
by
Jerzy Szczepkowski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15463 from piosz/enable-ir-e2e
Enabled InitialResources e2e in autoscaling suite
parents
632e32d8
35cf8cc7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
config-test.sh
cluster/gce/config-test.sh
+1
-1
e2e.sh
hack/jenkins/e2e.sh
+3
-0
initial_resources.go
test/e2e/initial_resources.go
+1
-1
No files found.
cluster/gce/config-test.sh
View file @
e3c67509
...
...
@@ -118,7 +118,7 @@ if [[ "${ENABLE_DEPLOYMENTS}" == "true" ]]; then
ENABLE_EXPERIMENTAL_API
=
true
fi
ADMISSION_CONTROL
=
NamespaceLifecycle,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota
ADMISSION_CONTROL
=
"
${
KUBE_ADMISSION_CONTROL
:-
NamespaceLifecycle
,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota
}
"
# 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
}
...
...
hack/jenkins/e2e.sh
View file @
e3c67509
...
...
@@ -228,6 +228,7 @@ case ${JOB_NAME} in
# Override GCE default for cluster size autoscaling purposes.
ENABLE_CLUSTER_MONITORING
=
"googleinfluxdb"
ENABLE_HORIZONTAL_POD_AUTOSCALER
=
"true"
ADMISSION_CONTROL
=
"NamespaceLifecycle,InitialResources,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota"
;;
# Runs the flaky tests on GCE, sequentially.
...
...
@@ -833,6 +834,8 @@ export NUM_MINIONS=${NUM_MINIONS:-}
export
PROJECT
=
${
PROJECT
:-}
export
JENKINS_PUBLISHED_VERSION
=
${
JENKINS_PUBLISHED_VERSION
:-
'ci/latest'
}
export
KUBE_ADMISSION_CONTROL
=
${
ADMISSION_CONTROL
:-}
export
KUBERNETES_PROVIDER
=
${
KUBERNETES_PROVIDER
}
export
PATH
=
${
PATH
}
:/usr/local/go/bin
export
KUBE_SKIP_CONFIRMATIONS
=
y
...
...
test/e2e/initial_resources.go
View file @
e3c67509
...
...
@@ -28,7 +28,7 @@ import (
var
_
=
Describe
(
"Initial Resources"
,
func
()
{
f
:=
NewFramework
(
"initial-resources"
)
It
(
"[Skipped] should set initial resources based on historical data"
,
func
()
{
It
(
"[Skipped]
[Autoscaling Suite]
should set initial resources based on historical data"
,
func
()
{
cpu
:=
100
mem
:=
200
for
i
:=
0
;
i
<
10
;
i
++
{
...
...
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