mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 06:15:45 +00:00
Fix downward api tests to output node allocatable not node capacity
This commit is contained in:
parent
e24aff0711
commit
db74d4dbc2
@ -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
|
|||||||
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user