Commit 523fa246 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #31102 from sttts/sttts-podclient-doc

Automatic merge from submit-queue Add some docs about the missing node e2e scheduling
parents a842608c 7a7e059a
...@@ -42,6 +42,8 @@ Node e2e tests are run as both pre- and post- submit tests by the Kubernetes pro ...@@ -42,6 +42,8 @@ Node e2e tests are run as both pre- and post- submit tests by the Kubernetes pro
*Note: Linux only. Mac and Windows unsupported.* *Note: Linux only. Mac and Windows unsupported.*
*Note: There is no scheduler running. The e2e tests have to do manual scheduling, e.g. by using `framework.PodClient`.*
# Running tests # Running tests
## Locally ## Locally
......
...@@ -30,7 +30,9 @@ import ( ...@@ -30,7 +30,9 @@ import (
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
) )
// Convenience method for getting a pod client interface in the framework's namespace. // Convenience method for getting a pod client interface in the framework's namespace,
// possibly applying test-suite specific transformations to the pod spec, e.g. for
// node e2e pod scheduling.
func (f *Framework) PodClient() *PodClient { func (f *Framework) PodClient() *PodClient {
return &PodClient{ return &PodClient{
f: f, f: f,
......
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