Commit Graph

76289 Commits

Author SHA1 Message Date
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
Tim Hockin
de25d6cb95 Kube-proxy: REJECT LB IPs with no endpoints
We REJECT every other case.  Close this FIXME.

To get this to work in all cases, we have to process service in
filter.INPUT, since LB IPS might be manged as local addresses.
2019-03-11 20:33:45 -07:00
Tim Hockin
382f5c83c0 Retool HTTP and UDP e2e utils
This is a prefactoring for followup changes that need to use very
similar but subtly different test.  Now it is more generic, though it
pushes a little logic up the stack.  That makes sense to me.
2019-03-11 20:33:35 -07:00
Kubernetes Prow Robot
c094f873a9
Merge pull request #75206 from liggitt/node-lease
deflake nodelease test
2019-03-11 20:24:36 -07:00
WanLinghao
686b526de4 remove unused functions in pkg/controller/nodelifecycle/node_lifecycle_controller.go 2019-03-12 11:01:47 +08:00
Kubernetes Prow Robot
bb8ccb6ce7
Merge pull request #74975 from dims/deprecate-make-symlink-parameter-in-hyperkube
Deprecate make-symlink parameter in hyperkube
2019-03-11 19:10:36 -07:00
Jing Xu
3718f4e0ed Add bracket to the sig-window tag
Need to add bracket in the tag for sig-windows. Also fix an issue: for
current testing structure, it first init driver and then set up the
framework. So when initialize the driver, it does not know what OS is
and we can not set up the capabilities correctly. Instead we have to add
all the capabilities and supported fs types including both linux and
windows. Later in the code, we will check the Node OS and decide how to
run the test.
2019-03-11 18:40:45 -07:00
Kubernetes Prow Robot
43b6ddf3c6
Merge pull request #75087 from andyzhangx/unmount-issue-windows
fix smb unmount issue on Windows
2019-03-11 17:58:37 -07:00
Kubernetes Prow Robot
243e740885
Merge pull request #74809 from oxddr/secrets-and-maps
Fix secret/configmap management for terminated pods
2019-03-11 16:42:36 -07:00
Hemant Kumar
cc61632255 Add pod information when max volume condition is missing 2019-03-11 17:11:56 -04:00
Tim Hockin
19e333b5cc Fix small race in e2e
Occasionally we get spurious errors about "no route to host" when we
race with kube-proxy.  This should reduce that.  It's mostly just log
noise.
2019-03-11 12:40:28 -07:00
Javier Pérez Hernández
e783f0bcd4 gce: configure: validate SA has storage scope
If the VM SA doesn't have storage scope associated, don't use the
token in the curl request or the request will fail with 403.
2019-03-11 12:04:01 -07:00
Kubernetes Prow Robot
50bf223a05
Merge pull request #75224 from neolit123/certs-print-key-on-phase
kubeadm: print key inside the upload-certs phase of init
2019-03-11 12:00:15 -07:00
Chao Xu
887cb93d8d generated BUILD
generated proto
2019-03-11 10:26:56 -07:00
Chao Xu
0ace8b3da4 Let the sample apiserver show feature gates flag 2019-03-11 10:26:56 -07:00
Chao Xu
3b618af0d4 Expose storage version hash 2019-03-11 10:26:56 -07:00
Kubernetes Prow Robot
4ea48886df
Merge pull request #75008 from nikopen/patch-4
rebase audit-proxy image to distroless/static
2019-03-11 09:39:40 -07:00
Kubernetes Prow Robot
8477c486a8
Merge pull request #74652 from cofyc/fix72500
Delay CSI client initialization
2019-03-11 09:39:27 -07:00
Rafael Fernández López
8737720a7d
kubeadm: add integration tests for certs transfer
* Upload certificates: generate certificates and check that the kubeadm-certs
  secret is populated with the expected contents.

* Download certificates: given we have a kubeadm-certs secret, ensure that
  keys and certificates are copied on the expected target, and that depending
  on the secret nature they have the expected permissions.
2019-03-11 16:27:37 +01:00
Kubernetes Prow Robot
6ec5a7d337
Merge pull request #75181 from losipiuk/lo/master-ca-1.14-beta.1
Update Cluster Autscaler version to 1.14.0-beta.1
2019-03-11 07:15:32 -07:00
Kubernetes Prow Robot
44e369b000
Merge pull request #75167 from tnozicka/fix-retry-watcher-error
Handle unstructured status in RetryWatcher
2019-03-11 05:17:27 -07:00
Rostislav M. Georgiev
2c4a3ae24c kubeadm: Fix fuzzer test for NodeRegistrationOptions
The fuzzer test for NodeRegistrationOptions is defaulting the CRISocket member.
This is a left over from the times this member was statically defaulted in the
config. Now that the member is dynamically defaulted, setting CRISocket to foo
can cause issues to get undetected by the fuzzer test with this member.

The resolution is to stop setting CRISocket in the fuzzer test.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-03-11 14:09:53 +02:00
Kubernetes Prow Robot
cd9e590178
Merge pull request #74520 from casusbelli/fix-qb-usermapping
Adds missing user mapping option for Quobyte mounts
2019-03-11 02:45:26 -07:00
Pengfei Ni
88907da9a4 Ensure Azure load balancer cleaned up on 404 or 403 2019-03-11 16:40:23 +08:00
Kubernetes Prow Robot
f4d125320e
Merge pull request #75218 from ereslibre/fix-join-message
kubeadm: fix join message if kubeadm-certs secret is not present
2019-03-11 01:25:25 -07:00
Bin Lu
cd0e86b4fc node-perf/tf-wide-deep: add support for Arm64
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-03-11 14:03:32 +08:00
Kubernetes Prow Robot
8dd09e0b36
Merge pull request #75208 from pjh/gce-windows-readme-update
Update GCE Windows README steps for running e2e tests.
2019-03-10 21:15:26 -07:00
d-kuro
4f301cc97a
Fix typo 2019-03-11 13:12:46 +09:00
liurui
0a1227c2b1 fix typo 2019-03-11 11:19:39 +08:00
Lubomir I. Ivanov
c5c4cd2580 kubeadm: print key inside the upload-certs phase of init
The standalone execution of upload-certs phase does not print
the key that that user should use for the newly uploaded encrypted
secret. Print this key in the upload-certs phase in both
standalone mode or if executed in the standard init workflow.

Make it possible to omit the printing if the user passes
--skip-certificate-key-print.

Also:
- Uppercase string in Printf call in copycerts.go
- Don't use V(1) for the "Skipping phase" message in uploadcerts.go
instead always print a message that the user case use
--experimental-upload-certs. This solves a problem if the user tried
the standalone phase but didn't pass --experimental-upload-certs.
2019-03-10 19:13:06 +02:00
Manjunath A Kumatagi
3818f64780 Refactor the node perf tests to run on non-amd64 cluster 2019-03-10 19:23:24 +05:30
andyzhangx
720a5e20d8 fix smb unmount issue on Windows
fix log warning

use IsCorruptedMnt in GetMountRefs on Windows

use errorno in IsCorruptedMnt check

fix comments: add more error code

add more error no checking

change year

fix comments
2019-03-10 02:13:16 +00:00
Kubernetes Prow Robot
01c9edf7fa
Merge pull request #75133 from pohly/storage-external-snapshot
e2e: external snapshotter
2019-03-09 16:29:26 -08:00
Kubernetes Prow Robot
92b66c5c02
Merge pull request #75151 from jennybuckley/fix-conversion-bug
Fix apply conversion bug
2019-03-09 15:15:26 -08:00
Kubernetes Prow Robot
faaec7f997
Merge pull request #75177 from mm4tt/node-problem-detector
Disable NodeProblemDector test in large clusters.
2019-03-09 11:31:29 -08:00
jennybuckley
2fdc7e1f35 add test to verify fix 2019-03-08 22:35:33 -08:00
jennybuckley
f9e57744d3 Fix version converter 2019-03-08 22:35:33 -08:00
Kubernetes Prow Robot
0b4275b6c7
Merge pull request #74760 from apelisse/add-mangerfield-flag
Add "fieldManager" to flag to PATCH/CREATE/UPDATE
2019-03-08 22:27:29 -08:00
Yecheng Fu
fa926ed6e0 Delay CSI client initialization 2019-03-09 13:45:03 +08:00
Kubernetes Prow Robot
b150560107
Merge pull request #74441 from Random-Liu/pod-log-directory
Add namespace and name into the CRI pod log directory
2019-03-08 20:43:30 -08:00
Kubernetes Prow Robot
968d833617
Merge pull request #75073 from grayluck/esipp
Allow session affinity a period of time to setup for new services.
2019-03-08 19:17:30 -08:00
Kubernetes Prow Robot
41b544bcf7
Merge pull request #75003 from tallclair/runtimeclass-beta
Promote RuntimeClass to beta
2019-03-08 18:02:12 -08:00
Antoine Pelisse
92d8b19c0f Generated files 2019-03-08 16:55:53 -08:00
Lantao Liu
7ffa7da112 Configure logrotate for pod logs. 2019-03-08 16:45:41 -08:00
Lantao Liu
0ac651bfc3 Include pod logs in the pod ephemeral storage.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-08 16:42:14 -08:00
Lantao Liu
f14c6c95d6 New pod log directory /var/log/pods/NAMESPACE_NAME_UID.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-08 16:42:14 -08:00