Commit Graph

80211 Commits

Author SHA1 Message Date
Odin Ugedal
65d93bbe48
Fix ordering settings in verify bazel
In coreutils LC_ALL=C is required to make sorting stable across
platoforms and locales.

$ echo "a-c\nabc" | LANG=C LC_ALL=C sort
a-c
abc

$ echo "a-c\nabc" | LANG=C sort
abc
a-c
2019-07-01 20:17:35 +02:00
Kubernetes Prow Robot
de8fb1c9f8
Merge pull request #79449 from neolit123/kubeadm-docker-validator
kubeadm: don't use the Docker SDK in util/system/docker_validator*
2019-07-01 11:07:32 -07:00
Kubernetes Prow Robot
f2c4237605
Merge pull request #74847 from draveness/feature/filter-active-pods
refactor: use controller.FilterActivePods in test/e2e/framework/util.go
2019-07-01 11:07:20 -07:00
Dan Williams
8739ade3fa kubelet: add CNI cache dir option and plumb through to CNI and kubenet
libcni 0.7.0 caches ADD operation results and allows the runtime to
retrieve these from the cache. In case the user wants a different
cache directory than the defaul, plumb that through like we do
for --cni-bin-dir and --cni-conf-dir.
2019-07-01 12:14:07 -05:00
Alexey Perevalov
a2ea2996f3 move to libcni 0.7.0
Previous commit "Use ip address from CNI output" introduces
ability to run pod which can havn't eth0. But also it
add problem: after kubelet restart, if we have already started
pod w/o eth0, kubelet can't find proper interface (it's
normal for vhostuser type of cni plugin when eth0 doesn't exist)
and kubelet restarts "broken" pod.
Fix of this issue requeres new feature of libcni - caching
results.

Looks like new libcni requires cniVersion in CNI output.
This patch specifies version both for CNI conf and CNI output.

Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>
2019-07-01 12:14:06 -05:00
Dan Williams
0e48ec31f3 vendor: update containernetworking/cni to v0.7.1 2019-07-01 12:13:13 -05:00
Kubernetes Prow Robot
1b259bf75a
Merge pull request #79599 from tedyu/cacher-clear-watchers
Clear valueWatchers instead of removing every entry using a loop
2019-07-01 09:43:47 -07:00
Kubernetes Prow Robot
f56b336976
Merge pull request #79592 from tedyu/ctrl-exp-mutex
Move population of expectedUIDs outside lock
2019-07-01 09:43:34 -07:00
Kubernetes Prow Robot
ed1f9748b1
Merge pull request #78727 from mborsz/script
Modify kube-up to support cluster without nodes.
2019-07-01 09:43:21 -07:00
Kubernetes Prow Robot
8756e2c5e4
Merge pull request #79588 from wojtek-t/deprecate_scalability_tests
Deprecate scalability tests (we use ClusterLoader already)
2019-07-01 07:24:00 -07:00
Kubernetes Prow Robot
c52df2a637
Merge pull request #79218 from neolit123/kubeadm-1.16-owners
kubeadm: update OWNERS for 1.16
2019-07-01 07:23:47 -07:00
Kubernetes Prow Robot
3f221551b6
Merge pull request #78728 from mborsz/firewall
Modify firewall rules names to make them shorter.
2019-07-01 07:23:34 -07:00
Kubernetes Prow Robot
92ef26d651
Merge pull request #77795 from nagexiucai/glusterfs--backup-volfile-servers--option-warning
Remove selected IP from backup-volfile-servers list to avoid warning in mount logs.
2019-07-01 07:23:21 -07:00
Maciej Borsz
5f10c284c8 Modify kube-up to support cluster without nodes. 2019-07-01 15:29:45 +02:00
Ted Yu
6db618fa42 Move population of expectedUIDs outside lock 2019-07-01 21:26:34 +08:00
Lubomir I. Ivanov
668d69799a kubeadm: prevent PSP blocking of upgrade image prepull
If the cluster has a PSP that blocks Pods from running as root
the DS that handles upgrade prepull will fail to create its Pods.

Workaround that by adding a PodSecurityContext with RunAsUser=999.
2019-07-01 16:15:54 +03:00
Kubernetes Prow Robot
b22e48f240
Merge pull request #79584 from tedyu/pv-ctrl-bind-vol
Drop unnecessary claim parameter from PersistentVolumeController#updateBindVolumeToClaim
2019-07-01 06:09:33 -07:00
Kubernetes Prow Robot
7db459a11b
Merge pull request #79498 from SataQiu/fix-kubeadm-20190628
kubeadm: fix bug for --cri-socket flag processing logic
2019-07-01 06:09:20 -07:00
wojtekt
a756e20cb5 Update autogenerated files 2019-07-01 15:02:49 +02:00
wojtekt
7497260e54 Move etcd/testing to etcd3/testing 2019-07-01 15:02:49 +02:00
Lubomir I. Ivanov
cb56f91cc6 kubeadm: don't use the Docker SDK in util/system/docker_validator*
Instead of creating a Docker client and fetching an Info object
from the docker enpoint, call the "docker info" command
and populate a local dockerInfo struct from JSON output.

Also
- add unit tests.
- update import boss and bazel.

This change affects "test/e2e_node/e2e_node_suite_test.go"
as it consumes this Docker validator by calling
"system.ValidateSpec()".
2019-07-01 15:18:37 +03:00
Ted Yu
a06daff032 Clear valueWatchers instead of removing every entry using a loop 2019-07-01 20:11:41 +08:00
draveness
83e0d99614 refactor: use controller.FilterActivePods in framework e2e test 2019-07-01 18:12:02 +08:00
Kubernetes Prow Robot
d48f123a40
Merge pull request #79591 from tedyu/ctrl-util-label
Simplify the check of presence of labels in createPods
2019-07-01 01:45:19 -07:00
Ted Yu
69aeabc397 Simplify the check of presence of labels in createPods 2019-07-01 15:32:28 +08:00
wojtekt
dcd064a482 Deprecate scalability tests 2019-07-01 09:15:15 +02:00
Ted Yu
a18633427b Drop unnecessary claim parameter from PersistentVolumeController#updateBindVolumeToClaim 2019-07-01 13:30:11 +08:00
Stephen Augustus
df3a7d4385 Update vendor
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-07-01 00:54:34 -04:00
Stephen Augustus
f33198b970 Update azure-sdk-for-go/services/network to 2018-08-01
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-07-01 00:54:09 -04:00
Stephen Augustus
97bc3a3484 Update vendor
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-07-01 00:25:22 -04:00
Stephen Augustus
a64cf7a1e2 Update azure-sdk-for-go/services/containerregistry to 2018-09-01
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-07-01 00:24:15 -04:00
Kubernetes Prow Robot
bf86300241
Merge pull request #74943 from JishanXing/bug-fix
Fix #74900 - kubectl logs --selector supports --tail=-1
2019-06-30 19:17:20 -07:00
Ted Yu
2dca643ca1 Check the correct value of Quantity in GetResourceRequest 2019-07-01 06:45:28 +08:00
Kubernetes Prow Robot
bc1360ab15
Merge pull request #79356 from prameshj/revert-78463-ilb-annotate
Revert "Skip ILB creation on GCE if neg annotation is present"
2019-06-30 10:23:20 -07:00
Kubernetes Prow Robot
28366a1db4
Merge pull request #79371 from alenkacz/av/unreserve-flake
Fix TestUnreservePlugin flake
2019-06-30 01:51:21 -07:00
Alena Varkockova
853a47c4ed Fix TestUnreservePlugin 2019-06-30 08:29:19 +02:00
Kubernetes Prow Robot
8865cb3c24
Merge pull request #78853 from tcmichael/bugfix
Fix a bug that StatefulSet applies the revision incorrectly
2019-06-29 20:43:21 -07:00
kanchairen
bf421ae560 Fix a bug that StatefulSet applies the revision incorrectly 2019-06-30 09:49:00 +08:00
Kubernetes Prow Robot
6a2d0f67d1
Merge pull request #79527 from wojtek-t/cleanup_etcd_dir_1
Cleanup etcd code
2019-06-29 07:37:22 -07:00
mattjmcnaughton
269cd63e15
Add mattjmcnaughton as sig-node-reviewer
Re discussions with dims@, dchen1107@, and derekwaynecarr@.

I meet the qualifications listed in
https://github.com/kubernetes/community/blob/master/community-membership.md.
2019-06-29 10:15:25 -04:00
wojtekt
cba13eb9ad Autogenerate code 2019-06-29 15:26:09 +02:00
Kubernetes Prow Robot
583d83a135
Merge pull request #79367 from sukeesh/sukeesh/updatedocsgo
Update doc.go in staging/src/k8s.io/
2019-06-29 04:41:22 -07:00
Kubernetes Prow Robot
3f2fdd2291
Merge pull request #79446 from wongma7/dhcp-option-set
Fix AWS DHCP option set domain names causing garbled InternalDNS or Hostname addresses on Node
2019-06-29 02:33:22 -07:00
Kubernetes Prow Robot
e4f1588352
Merge pull request #78484 from egernst/runtimeclass-admission
Runtimeclass admission
2019-06-28 23:35:24 -07:00
Kubernetes Prow Robot
5154a61325
Merge pull request #79374 from Huang-Wei/podpriority-cleanup
followup of 79262 to cleanup PodPriority leftover
2019-06-28 21:01:23 -07:00
Kubernetes Prow Robot
2837c32d60
Merge pull request #79543 from BenTheElder/bash-failure
fix hack/update-vendor.sh array expansion
2019-06-28 19:21:37 -07:00
Kubernetes Prow Robot
ad79598a36
Merge pull request #79172 from bclau/tests/windows-image-pulling-fix
tests: Fixes Windows image pulling tests
2019-06-28 19:21:25 -07:00
Kubernetes Prow Robot
a574bd63ed
Merge pull request #79442 from seans3/move-kubectl-validation
Move pkg/kubectl/validation to staging
2019-06-28 17:21:10 -07:00
Kubernetes Prow Robot
64262049c5
Merge pull request #78662 from andrewsykim/77523-follow-up
iptables proxier: fix comments for LB IP traffic from local address
2019-06-28 17:20:58 -07:00
Kubernetes Prow Robot
39c20fdcf1
Merge pull request #79530 from liggitt/remove-print-internal
Remove internal object printing from kubectl
2019-06-28 16:09:42 -07:00