Commit Graph

76166 Commits

Author SHA1 Message Date
Patrick Ohly
25c615c157 test: fix golint warnings in crd_util.go
Because the code was moved, golint is now active. Because users of the
code must adapt to the new location of the code, it makes sense to
also change the API at the same time to address the style comments
from golint ("struct field ApiGroup should be APIGroup", same for
ApiExtensionClient).
2019-03-13 23:00:49 +01:00
Hemant Kumar
97ec61561a Allow different operation names 2019-03-13 14:20:45 -04:00
Patrick Ohly
cf805f5af4 update Bazel files 2019-03-13 19:06:56 +01:00
Patrick Ohly
e8a7cee43e test: remove k8s.io/apiextensions-apiserver from framework
There are two reason why this is useful:

1. less code to vendor into external users of the framework

The following dependencies become obsolete due to this change (from `dep`):

(8/23) Removed unused project github.com/grpc-ecosystem/go-grpc-prometheus
(9/23) Removed unused project github.com/coreos/etcd
(10/23) Removed unused project github.com/globalsign/mgo
(11/23) Removed unused project github.com/go-openapi/strfmt
(12/23) Removed unused project github.com/asaskevich/govalidator
(13/23) Removed unused project github.com/mitchellh/mapstructure
(14/23) Removed unused project github.com/NYTimes/gziphandler
(15/23) Removed unused project gopkg.in/natefinch/lumberjack.v2
(16/23) Removed unused project github.com/go-openapi/errors
(17/23) Removed unused project github.com/go-openapi/analysis
(18/23) Removed unused project github.com/go-openapi/runtime
(19/23) Removed unused project sigs.k8s.io/structured-merge-diff
(20/23) Removed unused project github.com/go-openapi/validate
(21/23) Removed unused project github.com/coreos/go-systemd
(22/23) Removed unused project github.com/go-openapi/loads
(23/23) Removed unused project github.com/munnerz/goautoneg

2. works around https://github.com/kubernetes/kubernetes/issues/75338
   which currently breaks vendoring

Some recent changes to crd_util.go must now be pulling in the broken
k8s.io/apiextensions-apiserver packages, because it was still working
in revision 2e90d92db9 (as demonstrated by
586ae281ac).
2019-03-13 19:05:13 +01:00
Kubernetes Prow Robot
118e33dfcd
Merge pull request #72092 from vllry/move-gce-test-manifests
Move e2e ingress test manifests for GCE to a subdirectory
2019-03-13 10:39:35 -07:00
Amarnath
be8d1c24f1 kubeadm: refactored directory fetch code 2019-03-13 18:28:53 +05:30
Kubernetes Prow Robot
517922f31a
Merge pull request #75308 from msau42/csi-beta-e2e
ignore kubeclient nil in csi plugin init
2019-03-13 05:49:46 -07:00
Kubernetes Prow Robot
2748ac6210
Merge pull request #75305 from justinsb/workaround_once_mutex_issue
Speculative workaround for #74890
2019-03-13 05:49:33 -07:00
Kubernetes Prow Robot
e7d09ceb50
Merge pull request #75289 from dims/update-http2-dep-go-1.12
Update golang.org/x/net/... dependencies to release-branch.go1.12
2019-03-13 04:33:46 -07:00
Kubernetes Prow Robot
815086f648
Merge pull request #75282 from feiskyer/disable-outboud-snat
Allow disable outbound snat when Azure standard load balancer is used
2019-03-13 04:33:33 -07:00
Kubernetes Prow Robot
60d0ec579b
Merge pull request #75301 from dashpole/plugin_watcher_fix
remove  DevicePlugin test for feature gate that can no longer be set
2019-03-12 23:53:42 -07:00
Kubernetes Prow Robot
8fd6342684
Merge pull request #74799 from lubinsz/pr_bazel
Add bazel-test-integration support for Arm64
2019-03-12 23:53:31 -07:00
Wei Huang
d67e7fd47f
kubelet: updated logic of verifying a static critical pod
- check if a pod is static by its static pod info
- meanwhile, check if a pod is critical by its corresponding mirror pod info
2019-03-12 23:40:20 -07:00
Mayank Kumar
c4e0ede58b add missing psp e2e tests for runasgroup 2019-03-12 22:07:07 -07:00
caiweidong
5fa000e5ed Change log: avoid to print raw json response too frequently 2019-03-13 13:07:01 +08:00
ymlong
8be2a4c9f6 Correcting a spelling error 2019-03-13 11:15:50 +08:00
Pengfei Ni
84617c8b51 Allow disable outbound snat when Azure standard load balancer is used 2019-03-13 10:29:41 +08:00
xuchi
d0e15aed2c Correct a spelling error 2019-03-13 09:39:13 +08:00
Kubernetes Prow Robot
93402fc8e8
Merge pull request #75277 from jennybuckley/fix-ints
Fix server side apply int/float bug
2019-03-12 17:36:40 -07:00
Michelle Au
398777f261 ignore kubeclient nil in csi plugin init 2019-03-12 16:29:08 -07:00
Kubernetes Prow Robot
cc8afb25fc
Merge pull request #74040 from ajatprabha/issue_73648
add ResourceVersion to DeleteOptions.Preconditions
2019-03-12 15:44:38 -07:00
Justin SB
803de74685
Speculative workaround for #74890
We try using an atomic with a CAS, as a potential workaround for
issue #74890.

Kudos to @neolit123 for the investigation & idea.

This is a speculative workaround - we are really seeing if this is
better; if not we should revert.

If it is better we should file a bug against go 1.12, and then revert!

Issue #74890
2019-03-12 18:09:01 -04:00
Kubernetes Prow Robot
c67e16c74f
Merge pull request #75272 from gnufied/add-pod-information-on-error
Add pod information when max volume condition is missing
2019-03-12 13:19:31 -07:00
Kubernetes Prow Robot
11b9ebf113
Merge pull request #75225 from jingxu97/pd_windows_test
Add bracket to the sig-window tag and other fixes
2019-03-12 13:19:19 -07:00
Kubernetes Prow Robot
0977ab69ad
Merge pull request #75157 from aaron-prindle/version-check-apply
Added version check between patch and live object in server side apply
2019-03-12 13:19:06 -07:00
Kubernetes Prow Robot
02b6557e49
Merge pull request #75081 from freehan/flaky-test
beef up NEG tests
2019-03-12 13:18:53 -07:00
Kubernetes Prow Robot
f33e5e8f7a
Merge pull request #74394 from thockin/proxy-reject-lb-no-endpoints
Kube-proxy: ICMP reject via LBs when no endpoints
2019-03-12 13:18:40 -07:00
David Ashpole
e64c08f869 remove DevicePlugin test for feature gate that can no longer be set 2019-03-12 12:58:23 -07:00
Anago GCB
ac56bd502a Update CHANGELOG-1.14.md for v1.14.0-beta.2. 2019-03-12 18:44:37 +00:00
Davanum Srinivas
2aa1348e6c
Update to go 1.12 version of golang.org/x/net
Change-Id: I3f2fa5d7b6811c9eca58992318d19e44ec9131fd
2019-03-12 11:30:24 -04:00
Laurent Bernaille
09f821ddb5 [kube-proxy/ipvs] Add flag to enable strict ARP 2019-03-12 15:56:22 +01:00
Davanum Srinivas
eb4865fbe5
Hack to ignore stale packages in godep
Change-Id: Ibf0877521310d6f2baad605bf1216940e95cb9cd
2019-03-12 09:49:03 -04:00
Prasad Ghangal
317ecf58cc
Update golang.org/x/net/... dependencies to release-branch.go1.11
- latest grpc-ecosystem/go-grpc-middleware

Change-Id: Ida7d01e4606f6e0313e1355db6e85be0c0ef1dd1
2019-03-12 09:48:52 -04:00
ajatprabha
4bd0c4ad56
update generated-protobuf 2019-03-12 17:00:42 +05:30
ajatprabha
c2755f6685
update generated-swagger-docs 2019-03-12 17:00:42 +05:30
ajatprabha
fe3b9f486f
update testDeleteWithResourceVersion 2019-03-12 17:00:41 +05:30
ajatprabha
4ddc198c39
pin ResourceVersion precondition only when specified 2019-03-12 17:00:41 +05:30
ajatprabha
63f4827fca
update openapi-spec 2019-03-12 17:00:41 +05:30
ajatprabha
3135cea2cc
add ResourceVersion check to Preconditions#Check 2019-03-12 17:00:40 +05:30
ajatprabha
64ecf9de7f
update deepcopy function 2019-03-12 17:00:40 +05:30
ajatprabha
42f0a36f44
check for ResourceVersion conflict in separate if block 2019-03-12 17:00:39 +05:30
ajatprabha
8f48d76271
add ResourceVersion to DeleteOptions.Preconditions 2019-03-12 17:00:39 +05:30
Kubernetes Prow Robot
9cbccd3859
Merge pull request #75256 from feiskyer/fix-75198
Ensure Azure load balancer cleaned up on 404 or 403
2019-03-12 02:52:40 -07:00
Laurent Bernaille
96818ea31e [kube-proxy/ipvs] Do not delete existing VS and RS when starting 2019-03-12 09:40:55 +01:00
Kubernetes Prow Robot
a213886f9c
Merge pull request #74502 from Random-Liu/collect-pod-log
Collect pod log in fluentd-gcp
2019-03-12 01:34:37 -07:00
jennybuckley
10259c959e Fix int/float apply bug 2019-03-11 23:07:21 -07:00
danielqsj
b31a3403c4 remove the deprecated admission metrics 2019-03-12 14:06:38 +08:00
Aaron Prindle
d5bd17cda0
Added version check between patch and live object in server side apply
What is the problem being solved?
https://github.com/kubernetes/kubernetes/pull/75135
Currently version compatibility is not being checked in server side apply between the patch object and the live object.  This is causing a merge that will error to be run and the apiserver returns a 500 error.  The request should fail if the apiVersion provided in the object is different from the apiVersion in the url, but it should fail before trying to merge, and be a 4xx error. Probably a bad request error.

Why is this the best approach?
The approach of serializing the patch byte array and then checking for version equality with the already serialized live object is the simplest and most straightforward solution.
2019-03-11 22:08:30 -07:00
Kubernetes Prow Robot
eb6a1b651c
Merge pull request #72942 from caesarxuchao/expose-storage-version-hash
Populate the storage version hash
2019-03-11 21:36:36 -07:00
goodluckbot
8d991e6ee2 Pick node for preemption based on start time of pods 2019-03-12 12:30:15 +08:00