Commit Graph

72938 Commits

Author SHA1 Message Date
Patrick Ohly
3253e9ab6b e2e/storage: refactor test config
Exposing framework.VolumeTestConfig as part of the testsuite package
API was confusing because it was unclear which of the values in it
really have an effect. How it was set also was a bit awkward: a test
driver had a copy that had to be overwritten at test runtime and then
might have been updated and/or overwritten again by the driver.

Now testsuites has its own test config structure. It contains the
values that might have to be set dynamically at runtime. Instead of
overwriting a copy of that struct inside the test driver, the test
driver takes some common defaults (specifically, the framework pointer
and the prefix) when it gets initialized and then manages its own
copy. For example, the hostpath driver has to lock the pods to a
single node.

framework.VolumeTestConfig is still used internally and test drivers
can decide to run tests with a fully populated instance if needed (for
example, after setting up an NFS server).
2018-12-21 10:30:06 +01:00
Patrick Ohly
dfcf2ca345 e2e/storage: separate generic testsuites from specific drivers
This makes it possible to use the testsuites package out-of-tree
without pulling in unnecessary dependencies and code (in
test/e2e/storage/vsphere) that defines tests that are not wanted in a
custom test suite.
2018-12-20 13:41:48 +01:00
Patrick Ohly
41ab9449ed e2e/storage: drivers determine the claim size
Different drivers support different volume sizes. Some have certain
minimum sizes, some maximum sizes. Instead of hard-coding some kind of
default into the testsuites, now each driver that supports dynamic
provisioning has to provide the size.
2018-12-20 13:41:48 +01:00
Patrick Ohly
5349ce75fa e2e/storage: remove code duplication
The setup of the V0 hostpath driver was done with copy-and-paste and
then changing just the driver name and the manifests. The same can be
achieved by making the base struct a bit more configurable, which
simplifies future changes (less code).

Renaming the provisioner container was unnecessary and was reverted to
make it possible to use the same patch configuration.

While at it, also fix the InitHostV0PathCSIDriver typo.
2018-12-20 13:41:48 +01:00
Kubernetes Prow Robot
cdeb8c108f
Merge pull request #72205 from losipiuk/lo/env-gke-api-endpoint
Use CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER for GKE Api endpoint
2018-12-20 03:11:44 -08:00
Kubernetes Prow Robot
cbc3ec7899
Merge pull request #67791 from tallclair/runtimeclass-api
Add node-api staging repo w/ RuntimeClass API
2018-12-20 03:11:33 -08:00
Kubernetes Prow Robot
fbc7114734
Merge pull request #72093 from WanLinghao/client_builder_log_fix
fix log information error
2018-12-20 00:02:30 -08:00
Kubernetes Prow Robot
c3e60b6e1c
Merge pull request #72143 from karataliu/kubectl.aad
Fix aad support in kubectl for sovereign cloud
2018-12-19 22:04:51 -08:00
Kubernetes Prow Robot
6902f3112d
Merge pull request #71176 from idealhack/fix-unreachable-code-and-golint-warnings
Fix go vet and golint warnings
2018-12-19 20:45:16 -08:00
Kubernetes Prow Robot
28b965a8c0
Merge pull request #72218 from cblecker/artifacts-variables
Clean up artifacts variables in hack scripts
2018-12-19 18:36:34 -08:00
Kubernetes Prow Robot
7ce7a80cda
Merge pull request #71355 from bradhoekstra/kube-proxy-services-optional
Make kube-proxy service abstraction optional
2018-12-19 15:27:12 -08:00
Christoph Blecker
b19fb0a77e
Clean up artifacts variables in hack scripts 2018-12-19 15:17:13 -08:00
Kubernetes Prow Robot
f2d7eed675
Merge pull request #72188 from mborsz/logs
Fix detect_node_failures for gke
2018-12-19 14:14:24 -08:00
Kubernetes Prow Robot
27edd29778
Merge pull request #72176 from krzyzacy/get-approver
update sig-testing approvers/reviewers
2018-12-19 14:14:13 -08:00
Kubernetes Prow Robot
00ca6939cb
Merge pull request #72038 from bowei/change-gce-cloud-provider
Change gce cloud provider
2018-12-19 14:13:55 -08:00
Kubernetes Prow Robot
6da32b078f
Merge pull request #72006 from soltysh/allnamespaces_shorthand
Introduce -A as a shorthand for --all-namespaces in kubectl
2018-12-19 14:13:40 -08:00
Kubernetes Prow Robot
1bd7c7126c
Merge pull request #70370 from liggitt/to_apps_v1
Switch client and test usage to apps/v1
2018-12-19 14:13:28 -08:00
Kubernetes Prow Robot
ac6fa2235b
Merge pull request #71742 from pohly/csi-sidecar-test
e2e: use quay.io/k8scsi images, bump versions
2018-12-19 11:58:37 -08:00
Kubernetes Prow Robot
544c49ab03
Merge pull request #72193 from kargakis/owners
Remove myself from OWNERS where I am not active
2018-12-19 10:25:58 -08:00
Kubernetes Prow Robot
3f9673bf5d
Merge pull request #70994 from mborsz/cache
Refactor the memcached discovery client
2018-12-19 10:25:46 -08:00
Łukasz Osipiuk
b1408dbe45 Use CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER for GKE Api endpoint 2018-12-19 17:55:33 +01:00
Jordan Liggitt
0ff455e340 generated files 2018-12-19 11:19:12 -05:00
Jordan Liggitt
b409ffa658 Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
Jordan Liggitt
fd9e9b01b1 Remove uses of extensions/v1beta1 clients 2018-12-19 11:18:53 -05:00
Weibin Lin
842bd1e1ec update deployment, daemonset, replicaset, statefulset to apps/v1 2018-12-19 10:46:45 -05:00
Kubernetes Prow Robot
ea6acb34d1
Merge pull request #65132 from stewart-yu/stewart-removeunusedtodo
remove unuse todo
2018-12-19 06:51:29 -08:00
Maciej Szulik
885bed15da Introduce -A as a shorthand for --all-namespaces in kubectl 2018-12-19 14:37:43 +01:00
Anago GCB
7ca9d1bdd8 Update CHANGELOG-1.10.md for v1.10.12. 2018-12-19 12:44:39 +00:00
Michalis Kargakis
c602a9ed4f
Remove myself from OWNERS where I am not active 2018-12-19 10:19:22 +01:00
Kubernetes Prow Robot
fccb19da9f
Merge pull request #71616 from Huang-Wei/aks-param-typo
fix an param typo of AKS loadbalancer method
2018-12-19 00:52:03 -08:00
Kubernetes Prow Robot
cd02e752bf
Merge pull request #71509 from cofyc/fix71438
Fix device mountable volume names in DSW
2018-12-19 00:51:52 -08:00
Kubernetes Prow Robot
be5a1fb734
Merge pull request #70875 from Liujingfang1/enable-kustomize
Enable kustomize in kubectl
2018-12-19 00:51:41 -08:00
Kubernetes Prow Robot
ec4105a6d3
Merge pull request #66882 from ryanmcnamara/rm/stable-controllerrevisions-sort
Stably sort controllerrevisions
2018-12-19 00:51:29 -08:00
Kubernetes Prow Robot
819cfed09a
Merge pull request #71179 from idealhack/fix-cancel-functions
Call cancel functions to avoid context leaks
2018-12-18 23:35:35 -08:00
Maciej Borsz
2aee491bf8 Fix detect_node_failures for gke 2018-12-19 08:14:22 +01:00
Kubernetes Prow Robot
33404d973a
Merge pull request #72174 from msau42/owners
Update sig-storage owners
2018-12-18 21:28:10 -08:00
Kubernetes Prow Robot
52a9edbe98
Merge pull request #72172 from liggitt/drop-disabled-fields
Cleanup of disabled field handling
2018-12-18 21:28:00 -08:00
Kubernetes Prow Robot
774ac6408d
Merge pull request #72114 from sjenning/bump-runc
vendor: bump runc to f000fe11
2018-12-18 21:27:49 -08:00
Kubernetes Prow Robot
5554a446a9
Merge pull request #65632 from cofyc/vendor
Vendor github.com/prometheus/client_golang/prometheus/testutil package
2018-12-18 21:27:38 -08:00
Kubernetes Prow Robot
111d4eac5d
Merge pull request #72173 from krzyzacy/fix-gopath
make integration/verify script look for k8s under GOPATH
2018-12-18 19:10:35 -08:00
Kubernetes Prow Robot
f039076116
Merge pull request #72135 from tallclair/rc-logs
Surface selected pod RuntimeHandler in Kubelet logs
2018-12-18 19:10:25 -08:00
Kubernetes Prow Robot
6858c95636
Merge pull request #72084 from ixdy/k8s-master-go1.11.4
Update to go1.11.4
2018-12-18 19:10:10 -08:00
Sen Lu
a3636afe17 update sig-testing approvers/reviewers 2018-12-18 17:13:34 -08:00
Tim Allclair
baa6ca502b Generated code 2018-12-18 16:06:56 -08:00
Tim Allclair
03fdecbde4 Add node-api code generators 2018-12-18 16:06:56 -08:00
Tim Allclair
665baac004 Add node.k8s.io API types 2018-12-18 16:06:56 -08:00
Kubernetes Prow Robot
a17a392d4b
Merge pull request #70939 from smarterclayton/skip_delta
e2e: Show the caller's stack for Skipf() instead of the local one
2018-12-18 15:44:04 -08:00
Sen Lu
ea4320681f make integration/verify script look for k8s under GOPATH 2018-12-18 15:18:42 -08:00
Michelle Au
b6e64936fe Add owners file for storage e2e manifests 2018-12-18 15:15:47 -08:00
Michelle Au
8954c11719 Cleanup volume approvers 2018-12-18 15:12:13 -08:00