Commit Graph

73414 Commits

Author SHA1 Message Date
Jordan Liggitt
cb76da9fd7 Validate PSP allowedProcMountTypes 2018-12-29 00:18:01 -05:00
John Schnake
23a7538c4d e2e: Fallback to internal IPs when using SSH in tests
Some tests which utilized SSH to run commands on nodes would
first look for external IPs but fall back to internal IPs
since those could be reachable by the testing program.

This change adds that same fallback logic to another method
used to find the appropriate SSH address for each node.

Fixes #68747
2018-12-28 20:35:35 -06:00
Kubernetes Prow Robot
9cdfdba14c
Merge pull request #71924 from yujuhong/node-binaries
GCE: enable downloading and staging of the node binaries
2018-12-28 18:07:26 -08:00
Kubernetes Prow Robot
cd06791709
Merge pull request #72396 from y-taka-23/register-plugins
Register plugins with the scheduling framework properly
2018-12-28 16:59:51 -08:00
Kubernetes Prow Robot
18464d472a
Merge pull request #71599 from bouk/fake-eviction
client-go/testing: Straighten out fake implementation of Evictions
2018-12-28 14:48:59 -08:00
Patrick Ohly
98ba1d8519 e2e/storage: reset driver config in the test suite
PR #70862 made each driver responsible for resetting its config, but
as it turned out, one place was missed in that PR: the in-tree gcepd
sets a node selector. Not resetting that caused other tests to fail
randomly depending on test execution order.

Now the test suite resets the config by taking a copy after setting up
the driver and restoring that copy before each test.

Long term the intention is to separate the entire test config from the
static driver info (https://github.com/kubernetes/kubernetes/issues/72288),
but for now resetting the config is the fastest way to fix the test flake.

Fixes: #72378
2018-12-28 22:44:09 +01:00
Kubernetes Prow Robot
7d8554643e
Merge pull request #72367 from rojkov/fix-golint-warnings
kubeadm: fix golint warnings for redundant ifs
2018-12-28 12:03:15 -08:00
Kubernetes Prow Robot
b89ab2c0c3
Merge pull request #72299 from bart0sh/PR0046-kubeadm-add-CurrentKubernetesVersion
kubeadm: add CurrentKubernetesVersion
2018-12-28 12:03:05 -08:00
Kubernetes Prow Robot
d6e0d5a9e8
Merge pull request #71929 from tanshanshan/schedulerlittle10
add description about namespace for  pod in log
2018-12-28 10:52:12 -08:00
Kubernetes Prow Robot
2cc92a09fd
Merge pull request #72399 from bart0sh/PR0049-kubeadm-app-util-system-fix-golint-warnings
kubeadm: fix golint warnings in package_validator
2018-12-28 09:44:31 -08:00
Kubernetes Prow Robot
8858b514a9
Merge pull request #72398 from bart0sh/PR0048-kubeadm-app-util-system-use-T.Run
kubeadm: use T.Run API in app/util/system
2018-12-28 09:44:20 -08:00
Kubernetes Prow Robot
7c112762b0
Merge pull request #72406 from wojtek-t/speedup_listers
Speedup listers for empty selectors
2018-12-28 08:17:06 -08:00
wojtekt
91e7f466b9 Speedup listers for empty selectors 2018-12-28 16:01:16 +01:00
Kubernetes Prow Robot
a9c7dfba51
Merge pull request #72368 from gaorong/kubemark-makefile
fix kubemark makefile
2018-12-28 04:06:36 -08:00
Ed Bartosh
60fc0bf75b kubeadm: fix golint warnings in package_validator
Fixed the following golint warnigns:
 - package_validator.go:68:1: receiver name should not be an underscore, omit the name if it is unused
 - package_validator.go:89:1: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self"
 - package_validator.go:96:1: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self"
 - package_validator.go:119:1: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self"
2018-12-28 13:38:10 +02:00
Ed Bartosh
e6c3ab013c kubeadm: use T.Run API in app/util/system
Used T.Run API for kubeadm tests in app/util/system
2018-12-28 13:09:07 +02:00
TAKAHASHI Yuto
ec6a9881a4 Register plugins with the scheduling framework properly 2018-12-28 19:10:01 +09:00
Mason Kwok
3453da220e AllowedProcMountTypes - Update DropDisabled[Alpha]Fields behaviour 2018-12-28 15:30:10 +08:00
Kubernetes Prow Robot
a6ba2ebf85
Merge pull request #72376 from liggitt/filter-ns-debugging
Filter resources logged by e2e ns debugging
2018-12-27 22:38:56 -08:00
Ivan Kurnosov
6c82998e71
Updated a link to the latest changelog 2018-12-28 15:05:09 +13:00
Kubernetes Prow Robot
456ffa0453
Merge pull request #72375 from sbezverk/containers_volumedevices
VolumeDevices validation and tests
2018-12-27 17:39:05 -08:00
Kubernetes Prow Robot
66bf481114
Merge pull request #72382 from liggitt/volumescheduling-ga
Stop checking VolumeScheduling feature gate
2018-12-27 15:54:18 -08:00
Walter Fender
97426ce7a5 Adding cheftako to reviewers
Also adding as an owners to pkg/cloudprovider.
2018-12-27 15:25:20 -08:00
Vy Ta
ecee40158c Adding Feature tag 2018-12-27 15:55:10 -07:00
Vy Ta
8d3ea6590d Adding diff summary 2018-12-27 15:51:44 -07:00
Vy Ta
906aceb89a Making requested changes 2018-12-27 15:46:26 -07:00
Jordan Liggitt
73dcfe12da Stop checking VolumeScheduling feature gate 2018-12-27 17:45:45 -05:00
Serguei Bezverkhi
5bf84db713 VolumeDevices validation and tests
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-27 17:31:10 -05:00
Kubernetes Prow Robot
c20aca07aa
Merge pull request #72371 from sbezverk/volume_sizelimit
EmptyVolume SizeLimit validation and tests
2018-12-27 14:08:42 -08:00
Sen Lu
6b7ccc9aaa always use golint from vendor 2018-12-27 12:05:45 -08:00
Kubernetes Prow Robot
ffc675163d
Merge pull request #70968 from Huang-Wei/move-e2e-tests-to-correct-sig
move resource_quota e2e tests to apimachinery folder
2018-12-27 11:54:14 -08:00
Jordan Liggitt
78c987751c Filter resources logged by e2e ns debugging 2018-12-27 14:35:11 -05:00
Wei Huang
5492e2f8c3
move resource_quota e2e test to apimachinery folder 2018-12-27 10:45:41 -08:00
Kubernetes Prow Robot
36049ef914
Merge pull request #72366 from bart0sh/PR0047-kubeadm-test-cmd-use-T.Run
kubeadm: use T.Run API in test/cmd
2018-12-27 10:44:02 -08:00
Serguei Bezverkhi
4ad98db3c0 EmptyVolume SizeLimit validation and tests
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-27 13:07:26 -05:00
Walter Fender
f192657380 Add gauge metric for master of leader election.
Fixes #71730
0 indicates standby, 1 indicates master, label indicates which lease.
Tweaked name and documentation
Factored in Mike Danese feedback.
Removed dependency on prometheus from client-go using adapter.
Centralized adapter import.
Fixed godeps
Fixed boilerplate.
Put in fixes for caesarxuchao
2018-12-27 09:40:33 -08:00
gaorong
f745dd2881 fix kubemark makefile 2018-12-27 21:57:53 +08:00
Dmitry Rozhkov
0bf0b3ef1a kubeadm: fix golint warnings for redundant ifs
When golint is run against kubeadm it reports severel warnings like

    redundant if ...; err != nil check, just return error instead.

Fix the warnings by just returning error.
2018-12-27 15:37:39 +02:00
Ed Bartosh
639101289c kubeadm: use T.Run API in test/cmd
Used T.Run API for kubeadm tests in cmd/kubeadm/test/cmd/

This should improve testing output and make it more visible
which test is doing what.
2018-12-27 15:22:32 +02:00
Kubernetes Prow Robot
bb7973a34c
Merge pull request #72361 from DataDog/lbernail/netlink-mutex
[kube-proxy/ipvs] Protect Netlink calls with a mutex
2018-12-27 03:17:20 -08:00
Bobby (Babak) Salamat
5581497846 Add a test that reproduces the race condition between setting nominated node name of a pod and scheduling cycle of other pods 2018-12-27 02:15:59 -08:00
Laurent Bernaille
1412d53b62 [kube-proxy/ipvs] Protect Netlink calls with a mutex 2018-12-27 10:53:27 +01:00
Ed Bartosh
e6937ec27f kubeadm: add CurrentKubernetesVersion
Replaced hardcoded "v0.13.0" strings with CurrentKubernetesVersion variable.

This should help with a regular release version bumps.
2018-12-27 11:29:59 +02:00
Kubernetes Prow Robot
aee1ab34ab
Merge pull request #72260 from bsalamat/fix_waiting_pods
Add pods in the backoff queue to the list of pending pods
2018-12-27 00:03:18 -08:00
Vikranth Thati
15c7e93f14 Use pkg/util/json Marshal and Unmarshal instead of 'encoding/json' to preserve numbers, rather than casting to float64 automatically. 2018-12-27 12:31:45 +05:30
Kubernetes Prow Robot
81a1f12dab
Merge pull request #70277 from kdada/master
Fix goroutine leak of wait.poller
2018-12-26 22:29:47 -08:00
Jordan Liggitt
9186a81489 Prune apps/v1 resources 2018-12-27 00:44:09 -05:00
Kubernetes Prow Robot
68451f301b
Merge pull request #72291 from msau42/fix-subpath-orphan
Fix subpath issues with orphaned pod cleanup
2018-12-26 19:48:27 -08:00
Kubernetes Prow Robot
915c81f17e
Merge pull request #72348 from liggitt/addon-followup
Fixup apps/v1 addon manifests
2018-12-26 18:38:11 -08:00
Kubernetes Prow Robot
d61286987d
Merge pull request #72251 from sbezverk/VolumeMode
VolumeMode - Update DropDisabled[Alpha]Fields behaviour
2018-12-26 16:20:36 -08:00