Commit Graph

75137 Commits (90bad58a2de1bb6d893597a80208809aec4821c0)

Author SHA1 Message Date
Kubernetes Prow Robot 3e748958dc
Merge pull request #73333 from yujuhong/os-arch-labels
kubelet: promote OS & arch labels to GA
2019-02-15 16:45:57 -08:00
Kubernetes Prow Robot d5b890ea46
Merge pull request #72777 from bclau/tests/hardcoded-docker-image
Adds test which pulls dockerhub Windows image
2019-02-15 16:45:42 -08:00
Kubernetes Prow Robot 72b0971f3b
Merge pull request #72687 from subramanian-neelakantan/vsphere_volume_zone
Applies zone labels to newly created vsphere volumes
2019-02-15 15:20:35 -08:00
Kubernetes Prow Robot 3e9b65b3cb
Merge pull request #74139 from tallclair/issue-template
Add security warning back to issue template
2019-02-15 14:05:40 -08:00
Kubernetes Prow Robot f47fbbfd32
Merge pull request #74131 from rojkov/kubeadm-refactor-SessionIsInteractive
kubeadm: unhide the logic for non-interactiveness
2019-02-15 14:05:30 -08:00
Kubernetes Prow Robot 4e54d7ba26
Merge pull request #74130 from sttts/sttts-sample-generated-pkg
sample-{apiserver,controller}: move generated file into pkg/generated
2019-02-15 14:05:19 -08:00
Kubernetes Prow Robot fbee96d733
Merge pull request #73699 from pivotal-k8s/doc-links
Update deprecated and broken links
2019-02-15 14:05:09 -08:00
Kubernetes Prow Robot 9027738dd5
Merge pull request #73661 from andyzhangx/smb-mount-windows
fix smb remount issue on Windows
2019-02-15 14:04:59 -08:00
Ben Moss 70923dd9db Fix testing if an interface is the loopback
It's not guaranteed that the loopback interface only has the loopback
IP, in our environments our loopback interface is also assigned a 169
address as well.
2019-02-15 16:40:34 -05:00
Hemant Kumar abb2fc656d Use delayed binding for multizone tests 2019-02-15 15:57:21 -05:00
Kubernetes Prow Robot 6f19b81c8f
Merge pull request #74116 from truongnh1992/fix_https
Change http to https for security links
2019-02-15 12:44:27 -08:00
Kubernetes Prow Robot 39a9f70526
Merge pull request #74115 from nikhita/publishing-remove-1.10
publishing: remove rules for unsupported 1.10 branch
2019-02-15 12:44:16 -08:00
Kubernetes Prow Robot 6310f9681e
Merge pull request #74114 from feiskyer/revert-70121
Revert #70121: Add network stats for Windows containers #70121
2019-02-15 12:44:06 -08:00
Kubernetes Prow Robot 02d1039ec3
Merge pull request #74098 from roycaihw/genericapiserver-openapi-service
genericapiserver: expose openapi service to allow updating the served spec
2019-02-15 12:43:56 -08:00
Kubernetes Prow Robot 256106e5d1
Merge pull request #74053 from SataQiu/fix-golint-20190214
Fix golint failures on cmd/kubeadm/app/util/config
2019-02-15 12:43:45 -08:00
Kenichi Omichi a01381a7d2 Call getRandomClusterZone() only if necessary
e2e test "[It] should provision storage with different parameters"
depends on cloud providers as gce/gke, aws, openstack, vsphere and
azure. If the other cloud providers like local, the test is skipped.
However getRandomClusterZone() was called before the above cloud
provider check, and if the zone label is not found the test was failed.
This makes the test call getRandomClusterZone() only if necessary
to avoid such unnecessary failures.

Fixes: #73771
2019-02-15 20:07:11 +00:00
Jesse Haka c75b0bf8ca disable xfs localvolume test 2019-02-15 21:31:25 +02:00
Javier Pérez Hernández 708d7df561 k8s: gci: configure: add token to curl calls
Modify script to use curl to get metadata and Service Account token.
When the SA doesn't have 'Storage Read' scope, it can only read
public files.
2019-02-15 11:00:35 -08:00
Tim Allclair 8a14bb14b7 Add security warning back to issue template 2019-02-15 09:58:33 -08:00
Kenichi Omichi 2635b6d95c Use framework.ExpectNoError() instead Expect()
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-02-15 16:52:57 +00:00
Kubernetes Prow Robot 07da603b59
Merge pull request #74054 from vanduc95/cleanup-kubeadm-20190214
kubeadm cleanup: master -> control-plane (cont.1)
2019-02-15 07:53:15 -08:00
Kubernetes Prow Robot 1878fae050
Merge pull request #73973 from smarterclayton/fix_benchmark
Fix the unstructured conversion benchmarks to be correct
2019-02-15 07:52:54 -08:00
Marek Counts 160ed26c20 autogen files to support new project structure. 2019-02-15 10:29:31 -05:00
Marek Counts 2e04569530 updated golint_failures to match new project structure. 2019-02-15 10:29:13 -05:00
Marek Counts 7744f90830 Moved flag and globalflag
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
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
danielqsj 6edde10fcd correct error string according to golang best practice 2019-02-15 18:12:00 +08: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