Commit Graph

74976 Commits (148b222d97e1ef8b1cc45bc2dbcb04014c0783c0)

Author SHA1 Message Date
Kubernetes Prow Robot 928bb2b993
Merge pull request #73262 from jimmy-zh/optimize-PV-AccessMode-comment
Optimize PersistentVolumeAccessMode comment
2019-02-15 06:40:14 -08:00
Kubernetes Prow Robot aeaeba4a6e
Merge pull request #72772 from lubinsz/pr_etcd
Bug fix: ./hack/install-etcd.sh is not work on Arm64 platform
2019-02-15 06:40:02 -08:00
Kubernetes Prow Robot b0f65ca1cf
Merge pull request #71512 from rkamudhan/patch-1
Update the go get to k8s.io/sample-controller
2019-02-15 06:39:51 -08:00
Kubernetes Prow Robot 6faed5bb6f
Merge pull request #71248 from knarfeh/fix/update-apis-imports
Add doc.go imports for staging/src/k8s.io/pkg/apis/meta
2019-02-15 06:39:40 -08:00
Kubernetes Prow Robot c0775786a4
Merge pull request #69250 from warmchang/lint-pkg/routes
fix golint errors in pkg/routes
2019-02-15 06:39:29 -08:00
Ben Moss 34ac4d9ee9 Update deprecated links 2019-02-15 09:13:07 -05:00
Naoki Sega 550c91c99d Fix broken list of 'Service/Publishing services - service types' 2019-02-15 23:03:49 +09:00
Dr. Stefan Schimanski 714b28cf22 Update generated code 2019-02-15 14:45:30 +01:00
Kubernetes Prow Robot 97f526665b
Merge pull request #74050 from huynq0911/fix_error_collide_package
Fix error collides with imported package name and log warning
2019-02-15 05:28:11 -08:00
Kubernetes Prow Robot 763042e938
Merge pull request #73939 from jiayingz/cuda10-test
Update ppc64le cuda-vector-add 2.0 to be based on Cuda10 base image.
2019-02-15 05:28:00 -08:00
Dr. Stefan Schimanski b671a06e46 sample-controller: adapt to package moves 2019-02-15 13:39:32 +01:00
Dr. Stefan Schimanski 4f0e9467b9 sample-controller: generate into pkg/generated package 2019-02-15 13:39:31 +01:00
Dmitry Rozhkov 339a9c1c1b kubeadm: unhide the logic for non-interactiveness
Currently we maintain the state of the mode of interactiveness
by updating flags.nonInteractiveMode even if the flag hasn't been
set by the user.

Since the computation of the mode is done only once it's easier
and less error prone to calculate the mode in the function
sessionIsInteractive() without mutating any flags.
2019-02-15 14:37:27 +02:00
Dr. Stefan Schimanski 2ea0489565 sample-apiserver: adapt to new imports 2019-02-15 13:30:51 +01:00
Dr. Stefan Schimanski d9853e6e02 sample-apiserver: generate into pkg/generated package 2019-02-15 13:22:13 +01:00
Nguyen Hai Truong 34961dc16c trivial fix typo: resouce -> resource
Although it is spelling mistakes, it might make an affects while reading.

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-15 02:05:28 -08:00
Patrick Ohly ec3655a1d4 e2e/storage: re-initialize all local variables
There is a risk that the init function does not reset one of the local
variables that was set by a previous test. To avoid this, all
variables set by init are now in a struct which gets cleaned
completely first.
2019-02-15 11:03:28 +01:00
Patrick Ohly e79cd9efe1 e2e: update bazel BUILD files
Generated via hack/update-bazel.sh.
2019-02-15 11:01:09 +01:00
Patrick Ohly 4643624084 e2e/storage: remove test pattern filtering
The recommended approach for not running unsuitable tests is to skip
them at runtime with an explanation. Filtering out unsuitable test
patters and thus not even defining unsuitable tests was done earlier
because it was faster than skipping tests at runtime.

But now these tests can be skipped efficiently, so this special case
can be removed.
2019-02-15 11:01:08 +01:00
Patrick Ohly 05cc31697f e2e/storage: speed up skipping, simplify APIs and test definition
CreateDriver (now called SetupTest) is a potentially expensive
operation, depending on the driver. Creating and tearing down a
framework instance also takes time (measured at 6 seconds on a fast
machine) and produces quite a bit of log output.

Both can be avoided for tests that skip based on static
information (like for instance the current OS, vendor, driver and test
pattern) by making the test suite responsible for creating framework
and driver.

The lifecycle of the TestConfig instance was confusing because it was
stored inside the DriverInfo, a struct which conceptually is static,
while the TestConfig is dynamic. It is cleaner to separate the two,
even if that means that an additional pointer must be passed into some
functions. Now CreateDriver is responsible for initializing the
PerTestConfig that is to be used by the test.

To make this approach simpler to implement (= less functions which
need the pointer) and the tests easier to read, the entire setup and
test definition is now contained in a single function. This is how it
is normally done in Ginkgo. This is easier to read because one can see
at a glance where variables are set, instead of having to trace values
though two additional structs (TestResource and TestInput).

Because we are changing the API already, also other changes are made:
- some function prototypes get simplified
- the naming of functions is changed to match their purpose
  (tests aren't executed by the test suite, they only get defined
  for later execution)
- unused methods get removed (TestSuite.skipUnsupportedTest is redundant)
2019-02-15 11:01:05 +01:00
Kubernetes Prow Robot 9f3b4b588d
Merge pull request #70521 from wenjun93/test
minor fix type missing
2019-02-15 01:36:29 -08:00
Subramanian Neelakantan ba9a9cf7c3 Applies zone labels to newly created vsphere volumes 2019-02-15 15:06:01 +05:30
Youbing Li 0756781994 Fixes #73077 - Allow to convert type across all version 2019-02-15 04:03:35 -05:00
Kubernetes Prow Robot c90bf8d8ea
Merge pull request #74062 from trungnvfet/fix_json_format
Fix an issue of yaml and json format
2019-02-14 23:56:00 -08:00
Kubernetes Prow Robot 808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
Patrick Ohly 1cb121d2a9 e2e/storage: introduce TestVolume interface
This increases type safety and makes the code easier to read because
it becomes obvious that the "test resource" passed to some functions
must be the result of a previous CreateVolume.

This makes it possible to remove:
- functions that never did anything (the DeleteVolume methods in
  drivers that never create a volume)
- type casts (in the DeleteVolume implementation)
- the unused DeleteVolume parameters
- the stand-alone DeleteVolume function (which would be just a non-nil
  check)

GetPersistentVolumeSource and GetVolumeSource could also become
methods on more specific interfaces - they don't actually use anything
from TestDriver instance which provides them.

The main motivation however is to reduce the number of methods which
might need an explicit test config parameter.
2019-02-15 08:38:54 +01:00
帝俊 09519fde26
fix typo 2019-02-15 15:28:43 +08:00
Nguyen Hai Truong bcfc354ca0 Change http to https for security links
Fix http link to https link for secure, modify http to https
in the links of project. Have some http links doesn't
redirect into https.

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-14 23:12:23 -08:00
Kubernetes Prow Robot bf20886f4e
Merge pull request #73990 from xichengliudui/fixlinterror
Fix golint failures pkg/kubelet/util/cache
2019-02-14 22:43:15 -08:00
Kubernetes Prow Robot 60943a7a08
Merge pull request #69830 from davidz627/feature/csiTranslationMigration
In-Tree to CSI Migration logic for PersistentVolume Attach/Detach
2019-02-14 22:43:05 -08:00
Nikhita Raghunath 2008a4ab81 publishing: remove rules for unsupported 1.10 branch 2019-02-15 11:14:23 +05:30
Pengfei Ni 0d03672e02 Revert "Add network stats for windows node"
This reverts commit f9fa1c6a38.
2019-02-15 12:20:41 +08:00
Pengfei Ni 2449b0997c Revert "Add network stats for Windows containers"
This reverts commit 9cf38de44b.
2019-02-15 12:20:23 +08:00
Kubernetes Prow Robot 49e83f8998
Merge pull request #73996 from andrewsykim/update-cloud-provider-deps
update import restrictions for pkg/cloudprovider/providers
2019-02-14 19:27:42 -08:00
Nguyen Hai Truong 848da13359 Adding '/usr/bin/env bash'
This commit aims to add '/usr/bin/env bash' as a shebang line
to indicates scripts use bash shell for interpreting.

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-14 19:18:49 -08:00
Nguyen Van Trung d5d7db476d fix an issue of yaml and json format
Signed-off-by: Nguyen Van Trung <trungnv@vn.fujitsu.com>
2019-02-15 09:55:53 +07:00
Kubernetes Prow Robot 0eb69f6b92
Merge pull request #74079 from jarrpa/csi-cluster-registrar
CSIDriverRegistrar e2e cleanups
2019-02-14 17:05:51 -08:00
Kubernetes Prow Robot b6ca168911
Merge pull request #74072 from bart0sh/PR0061-kubeadm-fix-failed-to-load-admin-kubeconfig
kubeadm: fix kubeadm reset logic
2019-02-14 17:05:41 -08:00
Kubernetes Prow Robot 62734d3670
Merge pull request #73976 from jennybuckley/apply-errors
Make server-side apply's conflict errors more human readable
2019-02-14 17:05:21 -08:00
David Zhu 5dde1df1cd Migration shim logic for Persistent Volumes for Attach/Detach 2019-02-14 17:04:23 -08:00
Haowei Cai 49af9e5ff3 add test 2019-02-14 16:53:29 -08:00
Haowei Cai 3639911ea7 generated 2019-02-14 16:02:35 -08:00
Kubernetes Prow Robot c2a326fdaa
Merge pull request #74067 from sttts/sttts-apiextensions-helpers
apiextensions-apiserver: make API helpers reusable
2019-02-14 15:50:32 -08:00
Kubernetes Prow Robot 6a9902deee
Merge pull request #73802 from Random-Liu/handle-unknown-state
Stop container in unknown state before recreate or remove.
2019-02-14 15:50:12 -08:00
vanduc95 46247b2c93 kubeadm cleanup: master -> control-plane (cont.) 2019-02-15 06:49:31 +07:00
Haowei Cai efae739d02 expose openapi service from genericapiserver 2019-02-14 14:33:20 -08:00
Kubernetes Prow Robot addcd7bb07
Merge pull request #74084 from smarterclayton/fix_human_error
Error message has incorrect pluralization
2019-02-14 13:59:59 -08:00
Kubernetes Prow Robot 1b8c8f1daf
Merge pull request #73831 from jennybuckley/apply-create-service
Honor forceAllowCreate in service registry
2019-02-14 13:59:44 -08:00
Haowei Cai 48adc8ec04 apiextensions-apiserver: make API helpers reusable 2019-02-14 22:27:08 +01:00
Kubernetes Prow Robot 596406581e
Merge pull request #73974 from kubernetes/revert-73763-hack-update-kube-openapi
Revert "Temporary fix for alpha features test"
2019-02-14 11:37:00 -08:00