Commit db74d4db authored by Avesh Agarwal's avatar Avesh Agarwal

Fix downward api tests to output node allocatable not node capacity

parent e24aff07
...@@ -128,7 +128,7 @@ var _ = framework.KubeDescribe("Downward API", func() { ...@@ -128,7 +128,7 @@ var _ = framework.KubeDescribe("Downward API", func() {
testDownwardAPI(f, podName, env, expectations) testDownwardAPI(f, podName, env, expectations)
}) })
It("should provide default limits.cpu/memory from node capacity", func() { It("should provide default limits.cpu/memory from node allocatable", func() {
podName := "downward-api-" + string(uuid.NewUUID()) podName := "downward-api-" + string(uuid.NewUUID())
env := []api.EnvVar{ env := []api.EnvVar{
{ {
......
...@@ -86,7 +86,7 @@ Docker Containers should be able to override the image's default commmand (docke ...@@ -86,7 +86,7 @@ Docker Containers should be able to override the image's default commmand (docke
Docker Containers should use the image defaults if command and args are blank,vishh,0 Docker Containers should use the image defaults if command and args are blank,vishh,0
Downward API should create a pod that prints his name and namespace,nhlfr,0 Downward API should create a pod that prints his name and namespace,nhlfr,0
Downward API should provide container's limits.cpu/memory and requests.cpu/memory as env vars,deads2k,1 Downward API should provide container's limits.cpu/memory and requests.cpu/memory as env vars,deads2k,1
Downward API should provide default limits.cpu/memory from node capacity,derekwaynecarr,0 Downward API should provide default limits.cpu/memory from node allocatable,derekwaynecarr,0
Downward API should provide pod IP as an env var,nhlfr,0 Downward API should provide pod IP as an env var,nhlfr,0
Downward API should provide pod name and namespace as env vars,nhlfr,0 Downward API should provide pod name and namespace as env vars,nhlfr,0
Downward API volume should provide container's cpu limit,smarterclayton,1 Downward API volume should provide container's cpu limit,smarterclayton,1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment