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

Automatic merge from submit-queue

Add some docs about the missing node e2e scheduling
This commit is contained in:
Kubernetes Submit Queue 2016-09-12 18:26:49 -07:00 committed by GitHub
commit 523fa24659
2 changed files with 5 additions and 1 deletions

View File

@ -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: There is no scheduler running. The e2e tests have to do manual scheduling, e.g. by using `framework.PodClient`.*
# Running tests
## Locally

View File

@ -30,7 +30,9 @@ import (
. "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 {
return &PodClient{
f: f,