Commit Graph

35036 Commits

Author SHA1 Message Date
Yuqi Wang
5927ec4f8b Fix default scheduler crash if scheduler extender filter returns a not found node 2019-08-14 10:38:42 +08:00
Kubernetes Prow Robot
38e8b8a9f6 Merge pull request #79583 from justaugustus/azure-api-updates
Azure API updates
2019-07-01 16:23:44 -07:00
Kubernetes Prow Robot
a5e3d74691 Merge pull request #79534 from odinuge/volume-util-fd
Fix possible fd leak and closing of dirs in doSafeMakeDir
2019-07-01 15:09:58 -07:00
Kubernetes Prow Robot
64a2be8e44 Merge pull request #79387 from tedyu/cont-helper-early
Restore early return for podSpecHasContainer
2019-07-01 15:09:45 -07:00
Kubernetes Prow Robot
dcd57c9e5e Merge pull request #79076 from draveness/feature/read-nodes-from-scheduler-cache
fix: predicates read nodes from scheduler cache
2019-07-01 15:09:33 -07:00
Kubernetes Prow Robot
da0f51ffed Merge pull request #78820 from haosdent/fix_typos
Fix typos.
2019-07-01 15:09:20 -07:00
Kubernetes Prow Robot
b4e3bd381b Merge pull request #79524 from bertinatto/add_missing_informer
Add missing CSINodeInformer when creating ConfigFactoryArgs
2019-07-01 12:53:33 -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
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
Ted Yu
6db618fa42 Move population of expectedUIDs outside lock 2019-07-01 21:26:34 +08: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
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
Ted Yu
a18633427b Drop unnecessary claim parameter from PersistentVolumeController#updateBindVolumeToClaim 2019-07-01 13:30:11 +08: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
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
wojtekt
cba13eb9ad Autogenerate code 2019-06-29 15:26:09 +02: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
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
Kubernetes Prow Robot
ca6113fb8b Merge pull request #78495 from odinuge/cgroups-hugetlb
Fix cgroup hugetlb size prefix for kB
2019-06-28 16:09:29 -07:00
Kubernetes Prow Robot
2501a9083d Merge pull request #68513 from codenrhoden/mount-refactor
Refactor util/mount interface in prep for moving out of k/k
2019-06-28 13:57:28 -07:00
Andrew Sy Kim
ba19451020 iptables proxier: fix comments for LB IP traffic from local address
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-06-28 16:42:01 -04:00
Kubernetes Prow Robot
d020a037b5 Merge pull request #79198 from damemi/kubectl-logs
Move pkg/kubectl/util/logs to staging
2019-06-28 12:43:07 -07:00
Odin Ugedal
4ee5fe23e8 Fix cgroup hugetlb size prefix for kB
Use the exported list from runc that uses "KB" and not "kB".

This issue breaks kubelet on AArch64 (arm 64).

var HugePageSizeUnitList = []string{"B", "KB", "MB", "GB", "TB", "PB"}

The hugetlb cgroup control files (introduced here in 2012:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=abb8206cb0773)
use "KB" and not "kB"
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/mm/hugetlb_cgroup.c?h=v5.0#n349).

The behavior in the kernel has not changed since the introduction, and
the current code using "kB" will therefore fail on devices with huge
pages smaller than 1MiB. This is the case for AArch64.

As seen from the code in "mem_fmt" inside hugetlb_cgroup.c, only "KB",
"MB" and "GB" are used, so the others may be removed as well.

Here is a real world example of the files inside the
"/sys/kernel/mm/hugepages/" directory:
- "hugepages-64kB"
- "hugepages-2048kB"
- "hugepages-32768kB"
- "hugepages-1048576kB"

And the corresponding cgroup files:
- "hugetlb.64KB._____"
- "hugetlb.2MB._____"
- "hugetlb.32MB._____"
- "hugetlb.1GB._____"

Signed-off-by: Odin Ugedal <odin@ugedal.com>
2019-06-28 21:28:26 +02:00
Odin Ugedal
2bcdb944f0 Update dependency opencontainer/runc 2019-06-28 21:23:05 +02:00
wojtekt
fd819f8fdc Move APIObjectVersioner 2019-06-28 21:16:49 +02:00
Sean Sullivan
9cef1fb27b Update dependencies BUILD/go.mod/go.sum 2019-06-28 11:56:18 -07:00
Jordan Liggitt
3e7f6e508a Add client-side status object handling 2019-06-28 11:55:31 -07:00
draveness
30b0f8bf3b fix: predicates read nodes from scheduler cache 2019-06-29 02:34:08 +08:00
Jordan Liggitt
cf3e75de70 Remove internal object printing from kubectl 2019-06-28 10:54:50 -07:00
Sean Sullivan
4a95e689c3 Updated import statements to reflect move to staging 2019-06-28 09:53:20 -07:00
Sean Sullivan
5eac54e755 Move pkg/kubectl/validation to staging 2019-06-28 09:53:20 -07:00
Odin Ugedal
626a0f7b4b Fix closing of dirs in doSafeMakeDir
This fixes the issue where "childFD" from syscall.Openat is assigned to
a local variable inside the for loop, instead of the correct one in the
function scope. This results in that when trying to close the "childFD"
in the function scope, it will be equal to "-1", instead of the correct
value.
2019-06-28 18:21:12 +02:00
Kubernetes Prow Robot
fa65154a58 Merge pull request #78412 from draveness/feature/assign=start-time-for-test-pod
fix: assign default value for pod.Status.StartTime in TestSelectNodes…
2019-06-28 08:05:39 -07:00
Fabio Bertinatto
dfc78caa21 Add missing CSINodeInformer when creating ConfigFactoryArgs 2019-06-28 13:32:03 +02:00
Kubernetes Prow Robot
4745946525 Merge pull request #79345 from liggitt/kubectl-printing
Add meta Table tests, fix --watch-only with single item
2019-06-27 20:09:33 -07:00
Kubernetes Prow Robot
e0af9cf491 Merge pull request #79203 from damemi/kubectl-slice
Move pkg/kubectl/util/slice to staging
2019-06-27 18:53:20 -07:00
Kubernetes Prow Robot
dfb7748542 Merge pull request #78347 from obitech/fix_golint_pkg_kubelet_prober
Fix golint issues in pkg/kubelet/{prober,secret}
2019-06-27 17:43:21 -07:00
Kubernetes Prow Robot
f3a03f71af Merge pull request #79473 from wojtek-t/coordination_v1
Use coordination v1 API
2019-06-27 15:30:14 -07:00
Kubernetes Prow Robot
b51f62186a Merge pull request #79451 from yujuhong/fix-pod-restarts
kubelet: retry pod sandbox creation when containers were never created
2019-06-27 15:30:01 -07:00
Kubernetes Prow Robot
814052aaff Merge pull request #79193 from seans3/move-kubectl-util-fieldpath
Move pkg/kubectl/util/fieldpath to staging
2019-06-27 15:29:22 -07:00
Kubernetes Prow Robot
9c8827f564 Merge pull request #78914 from liggitt/pod-spec-defaults
Add tests to detect default changes to podspec and podspectemplate defaults
2019-06-27 14:11:21 -07:00
Jordan Liggitt
617309cbce Add tests for podspec and podtemplatespec default changes 2019-06-27 12:56:43 -07:00
Mike Dame
f11e120978 update vendor 2019-06-27 15:18:46 -04:00
Mike Dame
a710a83aa9 Move pkg/util/logs to staging and update ref 2019-06-27 15:15:55 -04:00