Commit Graph

79315 Commits

Author SHA1 Message Date
Justin SB
a2abed442f
Remove unnecessary comment
Copy-pasted accidentally in #76749
2019-05-30 21:48:41 -04:00
Chao Xu
7738c7ee8f minor changes, propagating interface changes 2019-05-30 17:23:35 -07:00
Chao Xu
6cf499db6c object matcher 2019-05-30 17:23:35 -07:00
Kubernetes Prow Robot
990695c839
Merge pull request #73589 from nolancon/topology-manager-policies-strict-preferred
Add Policies Strict and Preferred for Topology Manager
2019-05-30 16:58:22 -07:00
Michael Taufen
e2116ef572 Windows startup scripts should use Authorization header for GCS requests
Requests against private buckets will fail unless the VM has storage
scope and the default service account token is provided in the request
header.

This PR replicates the following Linux changes for Windows:
- https://github.com/kubernetes/kubernetes/pull/74142
- https://github.com/kubernetes/kubernetes/pull/75269
2019-05-30 16:55:55 -07:00
Chao Xu
4f5c47fb99 generated 2019-05-30 16:46:00 -07:00
Chao Xu
70f1b052e3 api 2019-05-30 16:46:00 -07:00
Clayton Coleman
26a6cdda86
Set integration tests to use distinct namespaces
TestWatchBasedManager was racing with the default namespace creation.
To fix that flake and to ensure integration tests using a shared etcd
don't accidentally overlap in the future, move the three main tests
using the default namespace to separate namespaces, and have
TestWatchBasedManager create that namespace before it runs.

Make StartTestServer wait for default namespace creation, which will
reduce other flakes until future changes completely remove use of default
namespace.

From a failed integration run:

	watch_manager_test.go:66: namespaces "default" not found
	watch_manager_test.go:66: namespaces "default" not found
	watch_manager_test.go:66: namespaces "default" not found
2019-05-30 19:11:50 -04:00
Tara Gu
5e18554442 Implement plugin manager - a controller that manages plugin registration/unregistration 2019-05-30 19:00:59 -04:00
Joe Betz
95fa928ecb Add mutating admission webhook reinvocation 2019-05-30 14:31:09 -07:00
Joe Betz
939a04f0ed codegen: Add mutating admission webhook reinvocation 2019-05-30 14:31:09 -07:00
Joe Betz
55ecc45455 split admissionregistration.v1beta1/Webhook into MutatingWebhook and ValidatingWebhook 2019-05-30 14:31:09 -07:00
Joe Betz
9356561c86 codegen: split admissionregistration.v1beta1/Webhook into MutatingWebhook and ValidatingWebhook 2019-05-30 14:31:09 -07:00
David Ashpole
3a33f5378c move e2e node perf test to flaky suite 2019-05-30 13:50:28 -07:00
Lubomir I. Ivanov
a49bc480b9 kubeadm: revert CoreDNS to 1.3.1 2019-05-30 23:31:54 +03:00
Pavithra Ramesh
934f35f9b2 Use nodecache image 1.15.3 2019-05-30 13:29:05 -07:00
Renaud Gaubert
a03d2d4d4e Fix improper cleanup when creating a unix socket 2019-05-30 13:21:37 -07:00
Lubomir I. Ivanov
d6f1dff1ce kubeadm: disallow the mixture of --config and --certificate-key
Similar to --token, do not allow the mixture of --config and
--certificate-key.

If the user has fed a config, it is expected that the certificate
key should also be provided in the config and not from
the command line.
2019-05-30 22:35:41 +03:00
Kubernetes Prow Robot
9577cbfb9f
Merge pull request #73447 from MikeSpreitzer/sample-apiserver-doc-build
Document how to build and deploy the sample-apiserver
2019-05-30 11:00:44 -07:00
Dr. Stefan Schimanski
24a9581f1c apiextensions: unify webhook conversion error messages 2019-05-30 19:47:06 +02:00
David Ashpole
785d40923a add kubelet flag to disable cadvisor json apis, and mark it deprecrated 2019-05-30 10:39:45 -07:00
xiangqian
38a884aa04 using storage class provisioner instead of annotation of a pv for external provisioner
minor updates
2019-05-30 10:19:36 -07:00
Dr. Stefan Schimanski
e59472577f apiextensions: remove ratcheting logic to allow conversion with preserveUnknownField 2019-05-30 18:44:18 +02:00
Humble Chirammal
d4ea88f3ce Increase device discovery timeout to 30seconds/equal to checker_timeout.
At present, iscsi plugin wait for 10seconds for a path to appear for a multipath
device, but at certain scenarios this may not be sufficient for device mapper
to get the path. The default multipath configuration has a configuation
called 'checker_timeout' which specify the timeout to user for path checkers
that issue scsi commands with an explicit timeout, in seconds;
default taken from /sys/block/sd*/device/timeout which is 30s.
This patch lift the timeout value from 10s to 30s.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-05-30 21:46:06 +05:30
Dr. Stefan Schimanski
0ab6db2251 apiextensions: verify pattern regex for structural schema 2019-05-30 18:13:51 +02:00
Jordan Liggitt
d93ef9396b Wait for pods to be garbage collected 2019-05-30 11:46:09 -04:00
Jordan Liggitt
d0aa3a367e Fix CRD defaulting 2019-05-30 11:41:26 -04:00
Kubernetes Prow Robot
b8eecd671d
Merge pull request #69941 from miguelbernadi/fix-golint-issues-68026
Fix golint issues in plugin/pkg/admission
2019-05-30 08:38:26 -07:00
Jordan Liggitt
bf97ad4b44 Deflake TestChangeCRD 2019-05-30 11:14:04 -04:00
Yassine TIJANI
bfa12a0992 add integration test for core/v1beta1 event compatibility
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-05-30 15:01:15 +00:00
Clayton Coleman
89e752add0
CRDs should support watch of protobuf PartialObjectMetadata
Correctly ensure CRDs can be watched using protobuf when transformed to
PartialObjectMetadata. To do this we add a set of serializers allowed to
be used for "normal" requests (that return CRDs) while the serializers
supported by the infrastructure is broader and includes protobuf. During
negotatiation we check for transformation requests and protobuf is
excluded from non-transform requests.

As part of the change, correct an error message when the server returns
a 406 but the client doesn't accept the format to avoid confusing users
who set impossible Accept rules for CRDs (the dynamic client doesn't
support Protobuf, so if the server responds with a protobuf status the
message from the server is lost and the generic error was confusing).
2019-05-30 10:47:35 -04:00
Renaud Gaubert
39aeaac90e Graduate KubeletPodResources to beta!
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2019-05-30 07:45:07 -07:00
Dr. Stefan Schimanski
ba5c9b492e apiextensions: add invalid validation schema regex test 2019-05-30 15:56:01 +02:00
Dr. Stefan Schimanski
1cd0d9037e apiextensions: fix array-without-items structural error 2019-05-30 15:52:48 +02:00
Kubernetes Prow Robot
6d70e7ff01
Merge pull request #77930 from mm4tt/upload_kubeconfig
Upload kubeconfig to master metadata in tests.
2019-05-30 06:30:24 -07:00
Simon Croome
6d9f4659d8 Remove call to clear mount info if already set
https://github.com/kubernetes/kubernetes/pull/69782 introduced a change
to register the device attachment (in the StorageOS API) prior to the
volume attachment.  The volume attachment code would clear any mount
info, causing the StorageOS API to register the mount and then
immediately de-register it.

The code to clear the mount info on volume attach is no longer needed.
It was used to force-mount a volume if StorageOS thought it was already
mounted.  In practice it was not needed, and administrators have other
ways of clearing stale mount information if required.
2019-05-30 14:21:31 +01:00
Yassine TIJANI
41e384397c set deprecatedEventSource to be backward compatible
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-05-30 13:03:20 +00:00
Kevin Klues
0a43d21c26 Add IsNarrowerThan() function to socketmask abstraction 2019-05-30 06:00:22 -07:00
Kevin Klues
617a1fa394 Update the TopologyManager interfaces
These updates are based on discussions had about the preferred semantics
of the TopologyManager and will be reflected in changes to an upcoming
PR that adds the actual TopologyManager implementation.
2019-05-30 05:52:11 -07:00
Kubernetes Prow Robot
b3981a2f9a
Merge pull request #78482 from tedyu/evt-expansion
Check namespaces match in UpdateWithEventNamespace
2019-05-30 04:55:14 -07:00
Kubernetes Prow Robot
13ec0e2bb9
Merge pull request #78478 from draveness/feature/use-framework-expect-no-error
fix: use framework.ExpectNoError instead of gomega
2019-05-30 04:55:01 -07:00
Kubernetes Prow Robot
b094dd9bc3
Merge pull request #78465 from yuwenma/bump-klog
Bump klog to v0.3.2
2019-05-30 04:54:48 -07:00
Kubernetes Prow Robot
46a3d82240
Merge pull request #78464 from andrewsykim/ipvs-reviewer
add myself and Laurent as ipvs proxy reviewers
2019-05-30 04:54:35 -07:00
Kubernetes Prow Robot
163ef4d22c
Merge pull request #78463 from prameshj/ilb-annotate
Skip ILB creation on GCE if neg annotation is present
2019-05-30 04:54:21 -07:00
Kevin Klues
cdb59d3c7a Fix incorrect names for tests in socketmask 2019-05-30 04:16:53 -07:00
Deep Debroy
de7be9d613 Populate InlineVolumeSpec in CSI attacher and translation library
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-05-30 09:35:22 +00:00
Deep Debroy
df196226c4 Generated code for API changes to support CSI migration of inline volumes
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-05-30 09:34:53 +00:00
Deep Debroy
c34309acdf API changes to support CSI migration of inline volumes
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-05-30 09:34:47 +00:00
Kubernetes Prow Robot
44a3bf4755
Merge pull request #78452 from fabriziopandini/rename-ha-flags
kubeadm: rename-ha-flags
2019-05-30 02:25:13 -07:00
Kubernetes Prow Robot
c4a2042177
Merge pull request #78449 from santinoncs/add_annotations_for_prometheus
Add annotations for Prometheus service discovery
2019-05-30 02:24:59 -07:00