Commit Graph

79991 Commits

Author SHA1 Message Date
Jiaying Zhang
edcfdc4cbf Enable cadvisor ProcessMetrics collecting. 2019-06-13 16:21:24 -07:00
Andrew Sy Kim
bb95143369 ipvs: fix string check for IPVS protocol during graceful termination
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-06-13 19:03:58 -04:00
Claudiu Belu
e3774b85b2 tests: Combine Linux / Windows image pulling tests
Because Linux images cannot run on Windows and vice-versa, separate
tests were added for both OSes, only separated by a [LinuxOnly] tag
in their names.

Based on the given --node-os-distro, we can select which image to
use when spawning the pod.
2019-06-13 15:57:59 -07:00
Claudiu Belu
bd8cb8fae0 tests: Replaces images used with agnhost (part 1)
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:

- fakegitserver
- hostexec
- liveness
- logs-generator
- no-snat-test
- no-snat-test-proxy
- port-forward-tester
2019-06-13 15:05:50 -07:00
Claudiu Belu
b633031ec5 tests: Sets MaximumNArgs for agnhost subcommands to 0
The subcommands rely on flags, not args. Because of this, the
cobra.MaximumNArgs should be set 0.
2019-06-13 14:58:34 -07:00
Claudiu Belu
bad9e15509 Updates agnhost README and Dockerfile files
logs-generator used to be configured through env variables, but with
the image centralization, that changed to flags.

This commit updates the agnhost README to reflect that.
2019-06-13 14:58:33 -07:00
Claudiu Belu
64c69094d3 Updates agnhost image version in documentation
The version was bumped to 2.1, not 1.1.

Co-Authored-By: Aaron Crickenberger <spiffxp@google.com>
2019-06-13 14:58:22 -07:00
Claudiu Belu
76550ea8b8 test images: Centralizes images into agnhost (part 1)
Centralizes the following images into agnhost:

- fakegitserver
- hostexec
- liveness
- logs-generator
- no-snat-test
- no-snat-test-proxy
- port-forward-tester
2019-06-13 14:51:39 -07:00
jennybuckley
c71583a313 Don't dereference nil pointer in conflicts 2019-06-13 14:43:12 -07:00
Claudiu Belu
99e2646067 test images: Refactors agnhost image
Refactors the functions used in agnhost into different modules,
based on their functionality, leaving only the main in the base
folder.

Future commits will add several functionalities to agnhost, so
this change will be necessary to keep it clean.
2019-06-13 14:24:15 -07:00
Kubernetes Prow Robot
25a701db68
Merge pull request #78984 from dims/fix-ciphersuites_flag_test-failure
Fix failure in ciphersuites_flag_test
2019-06-13 08:04:21 -07:00
Jordan Liggitt
04b6f1ea03 Fix spurious .sock files running envelope unit tests 2019-06-13 10:52:59 -04:00
Davanum Srinivas
e07bd594da
Fix failure in ciphersuites_flag_test
Change-Id: I5cd0d7f21cad13712c3ad22d433124532a837f37
2019-06-13 09:42:51 -04:00
Lah123
c86b6d1ec5
Correct a typo
From concurrrent to concurrent
2019-06-13 14:29:11 +02:00
Dr. Stefan Schimanski
e2c6bc35a9 hack/make-rules/test.sh: run all staging unit tests 2019-06-13 14:07:37 +02:00
daihao
6c0e35d7b2 do not delete pods whose deletiontimestamp != nil 2019-06-13 17:47:52 +08:00
Josh Samuels
62b8b1702c Replaced klog with an error wrapper 2019-06-12 23:15:13 -07:00
yue9944882
35aee3c154 homogenize min-request-timeout for cr handler 2019-06-13 13:48:59 +08:00
Claudiu Belu
8fc07ea929 Centralizes images into agnhost (part 2)
Centralizes the following images into agnhost:

- net
- netexec
- nettest
- webhook

Adds logging persistent flags, which are used by some tests.
2019-06-12 21:31:37 -07:00
Jintao Zhang
37f091eadf update to go 1.12.6
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-06-13 10:49:57 +08:00
Javier Pérez Hernández
da05effe4b get-kube-binaries: use GCE token to fetch artifacts from GCS
Change-Id: Ibbb61470d6a6bcd70b33cc326d425e3c382317cf
2019-06-12 17:13:59 -07:00
Kubernetes Prow Robot
4f29960cb2
Merge pull request #78915 from ereslibre/retry-configmap-get-on-unauthorized
kubeadm: Add ability to retry ConfigMap get if certain errors happen
2019-06-12 13:00:19 -07:00
Kubernetes Prow Robot
4847e7fa8d
Merge pull request #78923 from rajansandeep/revertcm
[kubeadm] Add the upstream option in CoreDNS configmap
2019-06-12 09:56:14 -07:00
Rafael Fernández López
26c9965a97
kubeadm: Add ability to retry ConfigMap get if certain errors happen
During the control plane joins, sometimes the control plane returns an
expected error when trying to download the `kubeadm-config` ConfigMap.
This is a workaround for this issue until the root cause is completely
identified and fixed.

Ideally, this commit should be reverted in the near future.
2019-06-12 17:49:27 +02:00
Kubernetes Prow Robot
9b15a5b070
Merge pull request #78931 from krzysied/revert-78465-bump-klog
Revert "Bump klog to v0.3.2"
2019-06-12 05:03:29 -07:00
SataQiu
f90e228e79 [e2e] move Failf from e2e/framework to e2e/framework/log 2019-06-12 19:00:15 +08:00
Krzysztof Siedlecki
7dcec919a2
Revert "Bump klog to v0.3.2" 2019-06-12 10:27:41 +02:00
Sandeep Rajan
77466d4a65 [kubeadm] Add the upstream option in CoreDNS configmap 2019-06-11 21:19:43 -04:00
Kubernetes Prow Robot
56b40066d5
Merge pull request #78920 from rajansandeep/addupstream
Add `upstream` option to CoreDNS ConfigMap
2019-06-11 18:13:28 -07:00
Anago GCB
a8b6cf287b Update CHANGELOG-1.15.md for v1.15.0-rc.1. 2019-06-11 23:12:06 +00:00
Sandeep Rajan
5e265e046c add upstream to CoreDNS ConfigMap 2019-06-11 18:38:46 -04:00
Kubernetes Prow Robot
0a9373b89a
Merge pull request #78885 from liggitt/procmount-1.15
1.15: Fix incorrect procMount defaulting
2019-06-11 13:46:18 -07:00
Kevin Wiesmüller
49abd3b3ab add more tests on clearing managedFields 2019-06-11 20:30:53 +02:00
Ted Yu
f3c90b058c Do not add non-PersistentVolume to return value for pvAssumeCache#ListPVs 2019-06-11 10:27:26 -07:00
Ted Yu
320dc6c54c Return early when mount ref is determined 2019-06-10 20:40:40 -07:00
Josh Samuels
4b29036db9 Inverted error handling to ensure server-side apply does not fall back on client-side apply when there is an error 2019-06-10 20:33:59 -07:00
Kubernetes Prow Robot
8de1569dda
Merge pull request #78876 from dougm/vsphere-token
vSphere: allow SAML token delegation
2019-06-10 19:24:16 -07:00
Jordan Liggitt
899d00a529 Fix incorrect procMount defaulting 2019-06-10 22:01:54 -04:00
Doug MacEachern
55ef6ecda9 vSphere: allow SAML token delegation
Issue #77360
2019-06-10 16:07:31 -07:00
David Zhu
f3e7eeca8c Add more backward compatible access mode logic to remove ReadOnlyMany access mode when ReadWriteOnce,ReadOnlyMany specified 2019-06-10 15:34:45 -07:00
Abdullah Gharaibeh
a61a437ef2 prefilter extension point implementation. 2019-06-10 17:01:50 -04:00
Kubernetes Prow Robot
d873167e8f
Merge pull request #78866 from losipiuk/lo/k8s-1.15
Update Cluster Autoscaler version to 1.15.0
2019-06-10 13:47:08 -07:00
Monis Khan
dd4f53cd45
cache mutation detector: use correct diff function
The cache mutation detector must use a diff function that is
designed to show differences that cause reflect.DeepEqual to return
false.

Signed-off-by: Monis Khan <mkhan@redhat.com>
2019-06-10 15:47:51 -04:00
Han Kang
d41b998b43 fix stability level annotation for counter vec
add corresponding test cases
2019-06-10 11:18:57 -07:00
Richard Chen
687291c0bd Update gpu device plugin to better support Vulkan workloads 2019-06-10 11:15:54 -07:00
Łukasz Osipiuk
94c80b1afc Update Cluster Autoscaler version to 1.15.0 2019-06-10 20:08:59 +02:00
Kubernetes Prow Robot
32ec6c212e
Merge pull request #78691 from rajansandeep/revertto131
Revert CoreDNS to 1.3.1 in kube-up
2019-06-10 10:55:10 -07:00
Dr. Stefan Schimanski
e521fb8fe7 apiextensions: simplify default value pruning test 2019-06-10 19:46:57 +02:00
Dr. Stefan Schimanski
1c061bb401 apiextensions: only clone on !s.XEmbeddedResource 2019-06-10 19:46:57 +02:00
Dr. Stefan Schimanski
a03330fbeb apiextensions: add unit test for x-kubernetes-preserve-unknown-fields with additionalProperties 2019-06-10 19:46:57 +02:00