kubernetes/test/e2e/framework
Kenichi Omichi e1f4d5b110 Add nodeHasControlPlanePods()
DeprecatedMightBeMasterNode() has been marked as deprecated and we need to
find alternative way for callers of the function.
In NewResourceUsageGatherer(), the function was called for distinguishing
the specified pods are running on master nodes, and the gatherer gathers
those pods' resource usage.
This adds nodeHasControlPlanePods() to gistinguish the specified pods
are running on nodes which are operating control plane pods (kube-scheduler
and kube-controller-manager) and replace callers of DeprecatedMightBeMasterNode()
with this new function as better way.
2020-07-07 18:19:22 +00:00
..
auth generated: run refactor 2020-02-08 12:30:21 -05:00
autoscaling Move resource methods from e2e fw to e2e resource fw 2020-03-08 15:27:49 +08:00
config test/ : fix non-ascii characters 2020-02-09 01:40:44 +08:00
deployment e2e/frameworK: refactor GetPodsForDeployment to not depend on 2020-03-17 18:38:52 -04:00
endpoints Move ValidateEndpointsPorts() to e2e test 2020-01-16 17:59:08 +00:00
events Address issues with test failures 2020-06-08 20:41:32 +12:00
ginkgowrapper Move skip method from e2e fw ginkgowrapper to e2e skipper fw 2020-02-13 06:25:43 +08:00
gpu e2e: move funs of framework/gpu to e2e_node 2019-12-16 00:53:01 +08:00
ingress decouple testfiles from framework 2020-06-29 14:54:09 -07:00
job e2e/framework: remove imports to pkg/controller/job 2020-03-17 16:55:56 -04:00
kubectl generated: run refactor 2020-02-07 18:16:47 -08:00
kubelet Stop relying on default conversion in node e2e tests 2020-04-07 17:19:41 +02:00
kubesystem Add common SSHPort on e2essh 2020-04-02 17:41:49 +00:00
log Update .import-aliases for e2e test framework 2020-03-25 11:40:02 +08:00
manifest test/e2e/framework/util.go:move DsFromManifest to test/e2e/framework/manifest , and rename it to DaemonSetFromURL 2020-04-14 09:54:41 +08:00
metrics Avoid DeprecatedMightBeMasterNode() in e2e metrics 2020-06-25 23:08:24 +00:00
network e2e networking: wait for endpoints to be published 2020-06-29 15:04:28 +02:00
node Use worker nodes for WaitForStableCluster() 2020-06-24 15:21:12 +00:00
perf Move PrintPerfData to the test 2019-08-23 19:33:24 +00:00
pod Add e2e test for read-only volume used by multiple pods 2020-06-08 09:38:11 +02:00
providers Move recreate_node.go to e2e/node 2020-06-19 02:40:17 +00:00
pv test/e2e/framework /service and /pv:remove direct dependency to k8s.io/kubernetes/pkg/ 2020-03-27 01:11:13 +08:00
rc Move resource methods from e2e fw to e2e resource fw 2020-03-08 15:27:49 +08:00
replicaset generated: run refactor 2020-02-07 18:16:47 -08:00
resource test/e2e/framework: remove direct dependency to k8s.io/kubernetes/pkg/controller 2020-03-26 23:21:22 +08:00
security move apparmor annotation constants to k8s.io/api/core/v1 2020-04-06 10:22:04 -04:00
service Revert "fix(e2e): access nodes via test container in LB network tests" 2020-06-15 08:42:17 +02:00
skipper Fix usage of incorrect TestContext variable 2020-05-03 15:34:43 -04:00
ssh Add common SSHPort on e2essh 2020-04-02 17:41:49 +00:00
statefulset Moved e2e/manifests to e2e test framework 2020-04-09 20:48:52 -04:00
testfiles decouple testfiles from framework 2020-06-29 14:54:09 -07:00
timer Use framework.ExpectEqual() in unit test 2019-11-07 10:31:31 +08:00
volume add ipv6 support to the e2e nfs tests 2020-05-03 11:06:10 +02:00
websocket test/e2e/framework:move OpenWebSocketForURL to subpackage(new) websocket 2020-03-24 22:54:35 +08:00
.import-restrictions Split scheduler framework implementation into new runtime package 2020-06-22 00:23:43 +10:00
BUILD Add nodeHasControlPlanePods() 2020-07-07 18:19:22 +00:00
cleanup.go Make AfterSuite hooks ordered 2020-05-13 11:15:27 -04:00
exec_util.go generated: run refactor 2020-02-07 18:16:47 -08:00
expect.go Add more E2E tests for the ../poddisruptionbudgets endpoint 2020-02-18 11:19:30 -08:00
flake_reporting_util.go Copy PrettyPrintJSON to core framework 2019-09-23 18:10:50 +00:00
framework.go Use e2epod.WaitForPodTerminatedInNamespace directly 2020-03-22 17:43:33 +00:00
log.go Update .import-aliases for e2e test framework 2020-03-25 11:40:02 +08:00
log_size_monitoring.go Add TODOs for removing invalid e2e dependencies 2019-11-13 19:34:08 +00:00
log_test.go Use framework.ExpectEqual() in unit test 2019-11-07 10:31:31 +08:00
nodes_util.go Defer ginkgo recovers 2020-06-01 11:02:41 -04:00
OWNERS promote SataQiu to an approver of test and test/e2e/framework 2019-12-12 10:49:31 +08:00
pods.go Renamed image "white lists" to pre-pull image lists in test 2020-07-01 13:48:47 -04:00
ports.go clean some dead configs 2020-04-30 20:07:08 +08:00
provider.go fix golint failures of e2e/framework/pods.go, provider.go, upgrade_util.go 2019-04-01 16:04:29 +08:00
psp.go Detect PSP enablement more accurately 2020-06-03 13:14:19 -04:00
resource_usage_gatherer.go Add nodeHasControlPlanePods() 2020-07-07 18:19:22 +00:00
size.go Separate e2enetwork from e2e core framework 2019-10-25 17:58:20 +00:00
test_context.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00
util.go Merge pull request #89705 from ggriffiths/add_snapshot_retainpolicy_e2e_test 2020-06-19 11:35:59 -07:00