mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 14:23:37 +00:00
Merge pull request #121304 from claudiubelu/e2e-increase-memory-limits
e2e: Increases the memory limit for downward API tests
This commit is contained in:
commit
8e1e957504
@ -211,7 +211,7 @@ var _ = SIGDescribe("Downward API volume", func() {
|
|||||||
pod := downwardAPIVolumeForContainerResources(podName, "/etc/podinfo/memory_limit")
|
pod := downwardAPIVolumeForContainerResources(podName, "/etc/podinfo/memory_limit")
|
||||||
|
|
||||||
e2epodoutput.TestContainerOutput(ctx, f, "downward API volume plugin", pod, 0, []string{
|
e2epodoutput.TestContainerOutput(ctx, f, "downward API volume plugin", pod, 0, []string{
|
||||||
fmt.Sprintf("67108864\n"),
|
"134217728\n",
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -340,7 +340,7 @@ func downwardAPIVolumeBaseContainers(name, filePath string) []v1.Container {
|
|||||||
},
|
},
|
||||||
Limits: v1.ResourceList{
|
Limits: v1.ResourceList{
|
||||||
v1.ResourceCPU: resource.MustParse("1250m"),
|
v1.ResourceCPU: resource.MustParse("1250m"),
|
||||||
v1.ResourceMemory: resource.MustParse("64Mi"),
|
v1.ResourceMemory: resource.MustParse("128Mi"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
VolumeMounts: []v1.VolumeMount{
|
VolumeMounts: []v1.VolumeMount{
|
||||||
|
@ -211,7 +211,7 @@ var _ = SIGDescribe("Projected downwardAPI", func() {
|
|||||||
pod := downwardAPIVolumeForContainerResources(podName, "/etc/podinfo/memory_limit")
|
pod := downwardAPIVolumeForContainerResources(podName, "/etc/podinfo/memory_limit")
|
||||||
|
|
||||||
e2epodoutput.TestContainerOutput(ctx, f, "downward API volume plugin", pod, 0, []string{
|
e2epodoutput.TestContainerOutput(ctx, f, "downward API volume plugin", pod, 0, []string{
|
||||||
fmt.Sprintf("67108864\n"),
|
"134217728\n",
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user