Commit Graph

79280 Commits

Author SHA1 Message Date
j-griffith
60d991e59a add comments to validation testcases, and use const in util.go 2019-05-31 06:07:53 -06:00
j-griffith
54154f8ebb rework pvc datasource filter tests 2019-05-31 06:07:53 -06:00
j-griffith
ae4c2a1858 Enable PVC as DataSource for PVC creation
This enables the ability to specify and existing PVC as a DataSource in
a new PVC Spec (eg "clone" and existing volume).
2019-05-31 06:07:53 -06:00
j-griffith
a66bb3c63d Update unit tests and feature name
Update the unit tests to include checks for incorrect APIGroup type in
PVC DataSource and change the name of the feature gate to be more clear:
s/VolumeDataSource/VolumePVCDataSource/
2019-05-31 06:07:44 -06:00
j-griffith
123f1bac35 Enable PVC as DataSource for PVC creation
This enables the ability to specify and existing PVC as a DataSource in
a new PVC Spec (eg "clone" and existing volume).
2019-05-31 06:06:44 -06:00
Kubernetes Prow Robot
8b7e777fe8
Merge pull request #74825 from ksubrmnn/preserve_dip
Windows support for preserving the destination IP as the VIP when loadbalancing with DSR
2019-05-31 04:48:27 -07:00
Kubernetes Prow Robot
6c42729c2c
Merge pull request #74614 from denkensk/no-preempting-priority
add non-preempting option to PriorityClasses
2019-05-31 02:50:30 -07:00
Kubernetes Prow Robot
f49fe2a750
Merge pull request #72787 from dashpole/cadvisor_prefix_whitelist
Only collect metrics for cgroups required by the summary API
2019-05-31 00:28:26 -07:00
wangqingcan
52f3380ef3 change preempting to PreemptionPolicy 2019-05-31 12:42:05 +08:00
wangqingcan
5c9438c691 non-preempting-priorityclass
Co-authored-by: Vallery Lancey <vallery@zeitgeistlabs.io>
Co-authored-by: Tan shanshan <tan.shanshan@zte.com.cn>
2019-05-31 12:37:07 +08:00
Zihong Zheng
64198a43e7 Auto-generated BUILD files 2019-05-30 21:09:04 -07:00
Zihong Zheng
2ab3681648 Fix-up and add unit test for Load Balancer finalizer 2019-05-30 21:09:04 -07:00
Zihong Zheng
aa3f81d657 Add Load Balancer finalizer support
- Always try to remove finalizer upon load balancer cleanup
- Add finalizer prior to load balancer creation (feature gated)
- Cache logic fix-ups
- Event type/message fix-ups
- Use runtime.HandleError() on eaten errors

Co-authored-by: Josh Horwitz <horwitzja@gmail.com>
2019-05-30 21:09:04 -07:00
Zihong Zheng
e44fb7333e Define Alpha feature gate for Load Balancer finalizer 2019-05-30 21:09:04 -07:00
Kubernetes Prow Robot
cf76868b34
Merge pull request #66928 from RobertKrawitz/ephemeral-storage-quota-exp
Ephemeral storage monitoring via filesystem quotas
2019-05-30 20:44:26 -07:00
Pengfei Ni
0febb20d8e Cleanup kubelet checking and cloudConfigScope option 2019-05-30 20:10:14 -07:00
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