Commit Graph

80110 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6fe4119998
Merge pull request #79467 from jsafrane/fix-mock-selinux
Run sidecars for csi-mock as privileged
2019-06-27 09:39:21 -07:00
wojtekt
e8ca50c43c Use coordination v1 API 2019-06-27 18:08:40 +02:00
Mike Spreitzer
3e898d6921 Fixed clock.fakeTimer.Stop and Reset
Fixed the way Stop identified the fakeClockWaiter to remove, and the
logic for the bool to return.

Fixed Reset to side-effect the waiter in the clock's slice rather than
the original copy.

Added a test func for FakeClock timers.

Fixed Reset too

Improved comments in clock.go to address reviewer comments

Hopefully the updated comments make clear the answers to recent
reviewer comments.
2019-06-27 11:41:46 -04:00
Kubernetes Prow Robot
8245461a8d
Merge pull request #79008 from jpbetz/fix-addlabel-mutation-example
Fix mutating webhook test image 'addlabel' to not clobber labels
2019-06-27 07:11:21 -07: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
Jan Safranek
d6077c717d Run sidecars for csi-mock as privileged
The driver and provisioner runs as privileged, so make all the other
sidecar containers privileged too.

This helps on system with SELinux, non-privileged container can't access
socket of a privileged one.
2019-06-27 13:39:14 +02:00
Kubernetes Prow Robot
376a2cb344
Merge pull request #78983 from mborsz/patch-3
Don't leak ssh connections
2019-06-27 01:27:20 -07: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
Claudiu Belu
54be382552 tests: Clarifies agnhost's entrypoint-tester's usage
Some of the entrypoint-tester related tests overrides agnhost's default entrypoint
with agnhost-2, and this function's args will only contain the subcommand's
args (./agnhost entrypoint-tester these args), but we need to print *all* the
args, which is why os.Args should be printed instead.
2019-06-26 22:14:28 -07:00
Claudiu Belu
af5c0c9e09 Centralizes images into agnhost (part 3)
Centralizes the following images into agnhost:

- audit-proxy
- crd-conversion-webhook
- entrypoint-tester
- inclusterclient
- iperf
- porter
- serve-hostname
2019-06-26 22:14:28 -07: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
He Xiaoxi
17ff2eda57 Bump gopkg.in/check to v1.0.0-20180628173108-788fd7840127
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2019-06-27 11:40:31 +08:00
He Xiaoxi
fb03e0c461 Bump objx to v0.2.0
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2019-06-27 11:33:27 +08:00
He Xiaoxi
899833a2be Bump easyjson to v0.0.0-20190614124828-94de47d64c63
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2019-06-27 11:18:09 +08:00
He Xiaoxi
696d065ccd Bump pty to v1.1.5
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2019-06-27 11:08:39 +08:00
Kubernetes Prow Robot
6b5cb97fba
Merge pull request #77397 from jsafrane/scheduler-benchmark-volumes
Add benchmark for scheduling of pods with PVs
2019-06-26 20:03:20 -07:00
He Xiaoxi
a670e582ab Bump govalidator to v0.0.0-20190424111038-f61b66f89f4a
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2019-06-27 11:00:41 +08:00
He Xiaoxi
a5a0526a55 Bump purell to v1.1.1
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2019-06-27 10:52:40 +08:00
He Xiaoxi
eb2a1c10fa Bump go-openapi dependencies to preferred version
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2019-06-27 10:42:28 +08:00
Kubernetes Prow Robot
cd89631620
Merge pull request #79424 from draveness/feature/remove-sharing-plugins-in-framework-tests
refactor: add reset method to all test plugins
2019-06-26 18:51:32 -07:00
Kubernetes Prow Robot
805c378e52
Merge pull request #79185 from seans3/move-kubectl-util
Move pkg/kubectl/util/certificate to staging
2019-06-26 18:51: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
James McClune
452c7be40e hack/boilerplate: added regex to strip Python shebang
Fixes Prow Build Error:
Boilerplate header is wrong for: /home/prow/go/src/k8s.io/kubernetes/hack/update_owners.py

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-06-26 21:10:44 -04:00
Aaron Crickenberger
0b57c3a021 Remove monopole from root OWNERS
I don't think this is needed anymore
2019-06-26 16:56:15 -07:00
Kubernetes Prow Robot
20b58990b9
Merge pull request #79441 from bclau/tests/agnhost-fix
tests: Fixes agnhost logs-generator usage
2019-06-26 15:33:23 -07:00
Gustavo Paiva
096bd5f5d8 block not allowed node labels on kubelet 2019-06-26 19:24:30 -03: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
Kubernetes Prow Robot
bb4d8d6495
Merge pull request #79207 from sallyom/move-pkg-kubectl-utils-resource-stg
Move pkg/kubectl/utils/{resource,qos} staging
2019-06-26 14:17:21 -07:00
Claudiu Belu
c752ea8134 tests: Replaces images used with agnhost (part 3)
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.

This PR replaces the usage of the following images with agnhost:

- audit-proxy
- crd-conversion-webhook
- entrypoint-tester
- inclusterclient
- iperf
- porter
- serve-hostname
2019-06-26 13:33:55 -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
3178e69b39
Merge pull request #79428 from deads2k/testversions
remove dead KUBE_TEST_API_VERSIONS from test-integration
2019-06-26 12:21:34 -07: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
Pat Christopher
8c819a2dc1 add defaul latest tag as well 2019-06-26 12:11:00 -07:00
Claudiu Belu
6b7a641c96 tests: Fixes agnhost logs-generator usage
Cobra flags have 2 dashes, not 1.
2019-06-26 11:38:38 -07:00
Kubernetes Prow Robot
5cd9faf74a
Merge pull request #79114 from roycaihw/crd-informer/delete-stale-strategy
crd-handler: re-create stale CR storage on update
2019-06-26 11:05:20 -07:00
Benjamin Elder
59c4eb2a38 fix hack/lib/version.sh shellcheck failures 2019-06-26 09:20:17 -07:00
Kubernetes Prow Robot
b7be36e464
Merge pull request #79412 from BenTheElder/not-so-fast
fix KubeletConfiguration apiVersion
2019-06-26 09:18:18 -07:00
David Eads
c1f8f6230b remove dead KUBE_TEST_API_VERSIONS from test-integration 2019-06-26 11:55:50 -04:00
draveness
40090e8563 refactor: add reset method to all test plugins 2019-06-26 23:06:34 +08: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
Jan Safranek
f6430c0159 Add benchmark for scheduling of pods with PVs 2019-06-26 14:07:17 +02: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