Commit Graph

34999 Commits

Author SHA1 Message Date
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
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
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
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
Sally O'Malley
7e253e1d0e Move pkg/kubectl/util/resource to staging 2019-06-26 15:59:30 -04:00
Kubernetes Prow Robot
672631f0dc Merge pull request #79205 from sallyom/mv-kubectl-util-qos-stg
Move pkg/kubectl/util/qos to staging
2019-06-26 12:21:21 -07:00
Kubernetes Prow Robot
eed7af6e41 Merge pull request #79370 from mborsz/node
Use watch in TaintManager
2019-06-26 06:49:17 -07:00
Sally O'Malley
7ac89bfe4c Updates to dependencies including go.mod, go.sum, and BUILD files 2019-06-26 08:51:27 -04:00
Sally O'Malley
8d70e1b25a Removes unused BUILD file 2019-06-26 08:51:27 -04:00
Sally O'Malley
acd3b91f9e Move pkg/kubectl/util/qos to staging 2019-06-26 08:51:27 -04:00
Maciej Borsz
98e9c78c13 Migrate TaintManager to use watch for listing pods instead of expensive
listing pods call.
2019-06-26 13:35:59 +02:00
Peter Swica
d8362f7508 Moving pkg/kubectl/util/storage to staging 2019-06-26 00:11:16 -04:00
Kubernetes Prow Robot
dc9174818d Merge pull request #79191 from seans3/move-kubectl-util-event
Move pkg/kubectl/util/event to staging
2019-06-25 18:15:39 -07:00
Kubernetes Prow Robot
41b817b92f Merge pull request #79038 from yastij/move-jws
move jws to k8s.io/cluster-bootstrap
2019-06-25 17:01:29 -07:00
Kubernetes Prow Robot
22fb6fd174 Merge pull request #77595 from bertinatto/volume_limits
Volume Scheduling Limits
2019-06-25 17:01:16 -07:00
Sean Sullivan
949060dac0 Dependency changes 2019-06-25 15:22:20 -07:00
Sean Sullivan
f7a443f316 Update imports after moving util/event to staging 2019-06-25 14:57:00 -07:00
Sean Sullivan
d4a5b75a67 Move pkg/kubectl/util/event into staging 2019-06-25 14:55:21 -07:00
Kubernetes Prow Robot
70b1c43657 Merge pull request #79201 from damemi/kubectl-rbac
Move pkg/kubectl/util/rbac to staging
2019-06-25 14:47:28 -07:00