k3s/test/e2e/framework
Kubernetes Submit Queue 4b44926f90 Merge pull request #37325 from ivan4th/fix-e2e-with-complete-pods-in-kube-system-ns
Automatic merge from submit-queue (batch tested with PRs 37325, 38313, 38141, 38321, 38333)

Fix running e2e with 'Completed' kube-system pods

As of now, e2e runner keeps waiting for pods in `kube-system` namespace to be "Running and Ready" if there are any pods in `Completed` state in that namespace.
This for example happens after following [Kubernetes Hosted Installation](http://docs.projectcalico.org/v2.0/getting-started/kubernetes/installation/#kubernetes-hosted-installation) instructions for Calico, making it impossible to run conformance tests against the cluster. It's also to possible to reproduce the problem like that:
```
$ cat testjob.yaml
apiVersion: batch/v1
kind: Job
metadata:
  name: tst
  namespace: kube-system
spec:
  template:
    metadata:
      name: tst
    spec:
      containers:
      - name: tst
        image: busybox
        command: ["echo",  "test"]
      restartPolicy: Never
$ kubectl create -f testjob.yaml
$ go run hack/e2e.go -v --test --test_args='--ginkgo.focus=existing\s+RC'
```
2016-12-07 17:14:14 -08:00
..
BUILD Delete regional static-ip instead of global for type=lb 2016-12-07 11:33:04 -08:00
cleanup.go
exec_util.go test/e2e 2016-11-23 15:53:09 -08:00
federation_util.go Fix package aliases to follow golang convention 2016-11-30 15:40:50 +08:00
framework.go New ns param for NewClusterVerification 2016-12-05 16:27:07 -05:00
google_compute.go Delete regional static-ip instead of global for type=lb 2016-12-07 11:33:04 -08:00
kubelet_stats.go test/e2e 2016-11-23 15:53:09 -08:00
log_size_monitoring.go test/e2e 2016-11-23 15:53:09 -08:00
metrics_util.go test/e2e 2016-11-23 15:53:09 -08:00
networking_utils.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
nodes_util.go test/e2e 2016-11-23 15:53:09 -08:00
perf_util.go Fix kubelet perf data to make work again for perfdash. 2016-09-30 11:56:02 -07:00
pods.go - Moved gobindata, refactored ReadOrDie refs 2016-12-02 12:57:03 -05:00
resource_usage_gatherer.go test/e2e 2016-11-23 15:53:09 -08:00
test_context.go Remove kubelet related flags from node e2e. Add a single flag `kubelet-flags` to pass kubelet flags all together. 2016-11-17 10:17:32 -08:00
util.go Merge pull request #37325 from ivan4th/fix-e2e-with-complete-pods-in-kube-system-ns 2016-12-07 17:14:14 -08:00