Commit Graph

35017 Commits

Author SHA1 Message Date
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
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
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
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
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
Mike Dame
18ea637d09 update vendor 2019-06-27 15:12:55 -04:00
Mike Dame
5f7dbefa03 Move pkg/util/slice and update refs 2019-06-27 15:09:37 -04:00
Sean Sullivan
c32921672f Update BUILD files 2019-06-27 10:06:54 -07:00
Sean Sullivan
e3a74bafc8 Update imports for the files moved to staging 2019-06-27 09:53:13 -07:00
Sean Sullivan
6274ef995f Move pkg/kubectl/util/fieldpath to staging 2019-06-27 09:52:26 -07:00
wojtekt
e8ca50c43c Use coordination v1 API 2019-06-27 18:08:40 +02:00
Kubernetes Prow Robot
f20876908f Merge pull request #79341 from krzysied/kubelet_lease_fix
Handling OptimisticLockError in kubelet node lease controller
2019-06-27 05:53:24 -07:00
Krzysztof Siedlecki
d45197a8b0 handling OptimisticLockError in kubelet 2019-06-27 13:44:09 +02:00
Maciej Borsz
4d3db1873f Don't leak ssh connections
Without this fix, the underlying network connection is never closed.
2019-06-27 09:17:56 +02:00
Kubernetes Prow Robot
fd66d37b3a Merge pull request #79372 from RainbowMango/pr_fix_issue_78954_svn_controller_clean
Fix service load balancer may not be cleaned up on corner case of type change
2019-06-26 21:13:19 -07:00
Yu-Ju Hong
3fac48f86a kubelet: retry pod sandbox creation when containers were never created
If kubelet never gets past sandbox creation (i.e., never attempted to
create containers for a pod), it should retry the sandbox creation on
failure, regardless of the restart policy of the pod.
2019-06-26 18:19:27 -07:00
Hongcai Ren
9618d1d955 Fix service controller not release loadBalancer issue in corner case. 2019-06-27 09:12:16 +08:00
Sean Sullivan
85e83512b0 Updated BUILD dependency to use staging 2019-06-26 14:53:06 -07:00
Sean Sullivan
d31972a0e5 Removes unused BUILD file 2019-06-26 14:28:53 -07:00
Sean Sullivan
541cb300c7 Move pkg/kubectl/util/certificate to staging 2019-06-26 14:28:53 -07:00
Sally O'Malley
c4cb265e5c Updates to dependencies including go.mod, go.sum, and BUILD files 2019-06-26 15:59:30 -04:00