mirror of https://github.com/k3s-io/k3s
Merge pull request #10759 from gmarek/max_pods_e2e
Add additional loging to max_pods e2e testpull/6/head
commit
8a4a098323
|
@ -100,6 +100,13 @@ var _ = Describe("MaxPods", func() {
|
|||
By(fmt.Sprintf("Starting additional %v Pods to fully saturate the cluster and trying to start a new one", podsNeededForSaturation))
|
||||
expectNoError(RunRC(config))
|
||||
|
||||
// Log the amount of pods running in the cluster.
|
||||
// TODO: remove when test is fixed.
|
||||
pods, err = c.Pods(api.NamespaceAll).List(labels.Everything(), fields.Set{
|
||||
"status.phase": "Running",
|
||||
}.AsSelector())
|
||||
Logf("Observed %v running Pods. Need %v to fully saturate the cluster.", len(pods.Items), totalPodCapacity)
|
||||
|
||||
_, err = c.Pods(ns).Create(&api.Pod{
|
||||
TypeMeta: api.TypeMeta{
|
||||
Kind: "Pod",
|
||||
|
|
Loading…
Reference in New Issue