Commit Graph

79870 Commits

Author SHA1 Message Date
Rostislav M. Georgiev
4ac6d7f501 kubeadm: Replace ValidateDNS1123Subdomain
ValidateDNS1123Subdomain is a simple wrapper around IsDNS1123Subdomain, however
it's the only reason for us to pull k8s.io/kubernetes/pkg/apis/core/validation
as a dependency.
To avoid unnecessary dependencies, replace the use of ValidateDNS1123Subdomain
with IsDNS1123Subdomain.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-06-14 14:40:14 +03:00
Kubernetes Prow Robot
70b46ca5fb
Merge pull request #78529 from cwdsuzhou/remove_verbose_err
Remove dead codes
2019-06-14 04:09:13 -07:00
Kubernetes Prow Robot
b2be0753dd
Merge pull request #78493 from tedyu/ignore-pod-kill-err
Continue admitting the pod regardless of return value from killPodFunc
2019-06-14 04:09:00 -07:00
Kubernetes Prow Robot
4108333bcf
Merge pull request #78476 from mysunshine92/fix-typo-anti
fix typo in /test/integration
2019-06-14 04:08:48 -07:00
Kubernetes Prow Robot
928a642ffd
Merge pull request #78459 from davidz627/fix/skipXFS
Skip GCE PD in-tree plugin tests if fstype is xfs and node distro is not ubuntu or custom
2019-06-14 04:08:35 -07:00
Rostislav M. Georgiev
c394d0fd80 kubeadm: Don't use RBAC helpers
RBAC construction helpers are part of the Kubernetes internal APIs. As such,
we cannot use them once we move to staging.
Hence, replace their use with manual RBAC rule construction.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-06-14 14:08:31 +03:00
Kubernetes Prow Robot
5777fdfe31
Merge pull request #78105 from cwdsuzhou/narrow_down_lock
Narrow down the lock
2019-06-14 04:08:23 -07:00
andyzhangx
4a37d04f52 fix: make azure disk URI case insensitive 2019-06-14 10:43:35 +00:00
Sally O'Malley
a953d1542c
Modify klog Warning 'The resourceVersion for the provided watch is too old' to Info.
This warning comes from Reflector watchHandler, from the apiserver error that
indicates a watch was restarted.  This happens when etcd drops the connection
and resources are relisted.  This informs the user that the watchers are
operating properly, so should be logged as Info rather than Warning.
2019-06-14 06:12:51 -04:00
Kubernetes Prow Robot
81e6441d49
Merge pull request #78413 from qingsenLi/k8s190528-2
fix a mistake in CHANGELOG-1.14.md
2019-06-14 02:51:17 -07:00
Kubernetes Prow Robot
aa125b4dd5
Merge pull request #78390 from bclau/test-images/centralize-images-to-agnhost-part-2
Centralizes images into agnhost (part 2)
2019-06-14 02:51:04 -07:00
Kubernetes Prow Robot
08922a1399
Merge pull request #78148 from endyman/fix-golint-test/e2e/storage/utils
fix golint errors in test/e2e/storage/utils
2019-06-14 02:50:51 -07:00
Kubernetes Prow Robot
bab3634adf
Merge pull request #78144 from lubinsz/pr_bazel_etcdmaster
Bug fix: remove etcd related issues in bazel-test-integration
2019-06-14 02:50:38 -07:00
Kubernetes Prow Robot
eae93f9c7a
Merge pull request #76513 from vladimirvivien/create-update-delete-dynamic-example
Create-update-delete-deployment example using dynamic package
2019-06-14 02:50:25 -07:00
Kubernetes Prow Robot
d8695d06b7
Merge pull request #78005 from ahg-g/ahg-perfilter
prefilter extension point implementation for the scheduler
2019-06-14 00:29:13 -07:00
Kubernetes Prow Robot
d30fbab4b8
Merge pull request #77915 from SataQiu/fix-golint-util-20190515
Fix golint failures of pkg/util/parsers pkg/util/sysctl pkg/util/system
2019-06-14 00:29:00 -07:00
Kubernetes Prow Robot
e2c5243d77
Merge pull request #77840 from mgdevstack/master-registry-utils
Add references of registry and image from imageutils
2019-06-14 00:28:47 -07:00
Kubernetes Prow Robot
dbd3f5b7c5
Merge pull request #77673 from bjhaid/cleanup_pkg_cloudprovider_providers_openstack
Clean up pkg/cloudprovider/providers/openstack.
2019-06-14 00:28:34 -07:00
Kubernetes Prow Robot
042b0d7e60
Merge pull request #77540 from SataQiu/fix-apiserver-20190507
Mark deprecated kubelet-read-only-port
2019-06-14 00:28:21 -07:00
caiweidong
017aad3b60 Remove returned value of func handleCreateEvent 2019-06-14 15:27:59 +08:00
Kubernetes Prow Robot
b8ba75bcd9
Merge pull request #77526 from alejandrox1/framework_util_pod_refactor
Refactored pod-related functions from framework/util.go
2019-06-13 23:06:19 -07:00
Zhen Wang
8f40368fb6 Clean up node-problem-detector configuration for GCI 2019-06-13 21:43:05 -07:00
Kubernetes Prow Robot
0c9964fac3
Merge pull request #76160 from JacobTanenbaum/BaseServiceInfo-cleanup
enforce the interface relationship between ServicePort and BaseServiceInfo
2019-06-13 20:37:13 -07:00
Kubernetes Prow Robot
3b9c761212
Merge pull request #75928 from falcon78921/wip-k8s-cleanup
hack: refactored code in update_owners.py
2019-06-13 20:37:00 -07:00
Kubernetes Prow Robot
0f5650d68b
Merge pull request #75859 from k-toyoda-pi/fix_shellcheck_failure_make-rules
fix shellcheck failures in /hack/make-rules/test.sh
2019-06-13 20:36:47 -07:00
Kubernetes Prow Robot
3a598d7f92
Merge pull request #75234 from andyzhangx/corrupt-mnt-fix
fix pod stuck issue due to corrupt mnt point in flexvol plugin
2019-06-13 20:36:34 -07:00
Kubernetes Prow Robot
69d2e4304a
Merge pull request #75128 from bclau/tests/hostpath-privileged-false
tests: creates HostPath pods as unprivileged
2019-06-13 20:36:21 -07:00
Josh Samuels
1ec87e2220 Updated code with gofmt 2019-06-13 19:27:06 -07:00
Kubernetes Prow Robot
16bc6c1d02
Merge pull request #74982 from mgdevstack/promote-dns-hostname
Promote DNS e2e verifying DNS resolution for hostname and subdomain
2019-06-13 19:13:11 -07:00
Kubernetes Prow Robot
a09be8e53a
Merge pull request #74833 from javier-b-perez/cluster-get-bin
get-kube-binaries: use GCE token to fetch artifacts from GCS
2019-06-13 19:12:58 -07:00
Kubernetes Prow Robot
8305729d7a
Merge pull request #74635 from xychu/fix-with-assert
Fix shellchecks follow the `${var:?}` pattern
2019-06-13 19:12:45 -07:00
Kubernetes Prow Robot
a52e08a2df
Merge pull request #74018 from JoeWrightss/patch-1
remove redundant words 'the' in comment
2019-06-13 19:12:32 -07:00
Kubernetes Prow Robot
c6bc1639c3
Merge pull request #72178 from dims/remove-ovirt-photon-cloudstack-cloud-providers
Remove ovirt/cloudstack/photon cloud providers
2019-06-13 19:12:19 -07:00
Kubernetes Prow Robot
62eae8d058
Merge pull request #70639 from mgdevstack/promote-security-context
Promote security context NodeConformance tests to Conformance suite
2019-06-13 17:48:20 -07:00
Peter Swica
ae386f3143 kubectl config set hangs on some invalid property names #415 2019-06-13 20:29:39 -04:00
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