Commit Graph

78421 Commits

Author SHA1 Message Date
Dr. Stefan Schimanski
6f519f5f52 apiextensions: add NonStructuralSchema condition to API 2019-05-09 17:52:03 +02:00
Dr. Stefan Schimanski
f9dc278e75 apiextensions: add structural schema intermediate types 2019-05-09 17:52:03 +02:00
SataQiu
e28c7b1b59 skip cri detection for kubeadm token create 2019-05-09 23:44:17 +08:00
Àbéjídé Àyodélé
25df4e69a5 Clean up pkg/apis.
These are based on recommendation from
[staticcheck](http://staticcheck.io/).
2019-05-09 15:25:41 +00:00
Àbéjídé Àyodélé
04be2c4162 Clean up pkg/api.
These are based on recommendation from
[staticcheck](http://staticcheck.io/).
2019-05-09 15:23:41 +00:00
Àbéjídé Àyodélé
109f1c479e Clean up kube-proxy.
These are based on recommendation from
[staticcheck](http://staticcheck.io/).

- Removes dead type/function along with the import that the function
introduced.
- Removes unused struct fields.
- Removes select nested in a tight for loop, the select does not have a
default, so it will be blocking.
2019-05-09 14:39:03 +00:00
Shovan Maity
25dec55d61 Update client-go example README.md (fix typo)
Signed-off-by: Shovan Maity <shovan.maity@mayadata.io>
2019-05-09 19:30:43 +05:30
Kubernetes Prow Robot
524169fe1c
Merge pull request #77005 from k-toyoda-pi/e2e_add_check_pod_in_job
[e2e] add pod status check after job completes in job test
2019-05-09 06:20:48 -07:00
JulienBalestra
27cccad822 Kubelet provides an updated and complete status of local-static Pods 2019-05-09 14:56:31 +02:00
Yassine TIJANI
f6087365e9 check if Memory is not nil for container stats 2019-05-09 14:53:38 +02:00
Kubernetes Prow Robot
b9bde60cfd
Merge pull request #77490 from feiskyer/azure-lb-route-race
Fix race conditions for Azure loadbalancer and route updates
2019-05-09 02:46:49 -07:00
Dr. Stefan Schimanski
d8a9dfacbf apiextensions: add structural x-kubernetes-* fields to validation schemas 2019-05-09 11:28:33 +02:00
SataQiu
d46bd0dc7a make KubernetesDir a true constant 2019-05-09 17:16:59 +08:00
Kubernetes Prow Robot
e9af72c6e9
Merge pull request #77630 from feiskyer/cluster-name-tag
Fix public IPs issues when multiple clusters are sharing the same resource group
2019-05-09 00:30:47 -07:00
Matt Matejczyk
b4a8beb037 Revert #77552 now the #77580 has been merged
The https://github.com/kubernetes/kubernetes/pull/77552 was a temporary workaround that is no longer needed now as https://github.com/kubernetes/kubernetes/pull/77580 got in.
2019-05-09 09:03:34 +02:00
Patrick Ohly
093027c891 e2e/storage: ensure that also external storage classes are unique
One previously undocumented expectation is that
GetDynamicProvisionStorageClass can be called more than once per test
and then each time returns a new, unique storage class. The in-memory
implementation in driveroperations.go:GetStorageClass ensured that,
but loading from a .yaml file didn't. This caused the multivolume tests
to fail when applied to an already installed GCE driver with the
-storage.testdriver parameter.
2019-05-09 08:53:25 +02:00
Kubernetes Prow Robot
ed239cefa6
Merge pull request #77483 from andyzhangx/azuredisk-waitforattach
remove VM API call dependency in azure disk WaitForAttach
2019-05-08 23:07:01 -07:00
Kubernetes Prow Robot
6ced4fe2cb
Merge pull request #76475 from s-ito-ts/shellcheck_hack_verify
fix shellcheck failures in /hack/verify-[a-g]*.sh.
2019-05-08 23:06:48 -07:00
Kubernetes Prow Robot
ee0038adaa
Merge pull request #77425 from figo/e2e
Modify apimachinery,apps,instrumentation tests to import framework/log
2019-05-08 21:48:47 -07:00
Kubernetes Prow Robot
548bf0afe5
Merge pull request #77580 from liggitt/fix-list-interface
Fix unstructured list interface compatibility, fix kubectl paging
2019-05-08 20:13:26 -07:00
Kubernetes Prow Robot
bec5345cc6
Merge pull request #77569 from yuwenma/patch-5
Bump metrics-server version to v0.3.3
2019-05-08 20:13:13 -07:00
Kubernetes Prow Robot
c2966f7c29
Merge pull request #77537 from cwdsuzhou/use_key_in_lugins
Use key in probedPlugin
2019-05-08 20:13:01 -07:00
Kubernetes Prow Robot
7f86cb140f
Merge pull request #72167 from brahmaroutu/conformance_context
Comment association to ConformanceIt block should be validated properly.
2019-05-08 20:12:48 -07:00
Youbing Li
359d0e31ea Fixes 77527 - Update Makefile about the usage of building unstripped binaries 2019-05-08 22:51:11 -04:00
Abdullah Gharaibeh
7b127311a4 Make thread-safe the prebind callback of stateful plugin in scheduler framework. 2019-05-08 22:19:21 -04:00
Kubernetes Prow Robot
5f91b68d09
Merge pull request #76852 from christopherhein/bug/component-base-kep-link
Fixes component base README.md KEP link
2019-05-08 18:50:48 -07:00
Wei Huang
c4df3a2c44
prevent predicatesOrdering from escaping from UT
- sets `predicatesOrdering` back to original value in UT
2019-05-08 18:05:34 -07:00
Zihong Zheng
e6287c61e6 Add OWNERS file for gce/manifests 2019-05-08 17:39:23 -07:00
Kubernetes Prow Robot
5bd88c85bf
Merge pull request #77568 from yujuhong/catch-exception
GCE/Windows: ignore stopping errors for stackdriver
2019-05-08 17:15:38 -07:00
Kubernetes Prow Robot
b6887e3915
Merge pull request #77530 from seans3/unexport-print-table
Unexport PrintTable function
2019-05-08 17:15:26 -07:00
Kubernetes Prow Robot
eda5a296a8
Merge pull request #77513 from ereslibre/upload-cluster-configuration-after-upgrade
kubeadm: upload the `ClusterConfiguration` during the upgrade
2019-05-08 17:15:13 -07:00
Kubernetes Prow Robot
baa2030683
Merge pull request #77509 from ahg-g/faster_scheduler
Faster scheduler
2019-05-08 17:15:00 -07:00
Kubernetes Prow Robot
60a4c3c003
Merge pull request #76603 from changyaowei/generic_ut_fix
fix  TestEventChannelFull random fail
2019-05-08 17:14:47 -07:00
hui luo
4d4e4f4056 Modify apimachinery,apps,instrumentation tests to import framework/log
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages
2019-05-08 16:46:39 -07:00
Han Kang
cf17869b61 add sig-instrumentation to owners in component-base/metrics 2019-05-08 16:38:39 -07:00
John Belamaric
4f3653f026 Add johnbelamaric as conformance test reviewer 2019-05-08 16:37:25 -07:00
Christoph Blecker
31ffa88a14
Update to go 1.12.5 2019-05-08 15:43:01 -07:00
Kubernetes Prow Robot
71bbabc36b
Merge pull request #77486 from jiatongw/logf/kubectl
Modify e2e/kubectl tests to import e2elog.Logf
2019-05-08 14:32:45 -07:00
Kubernetes Prow Robot
19431e0168
Merge pull request #77037 from logicalhan/counter-wrapper
Add wrappers for prometheus.Counter/CounterVec and prometheus.Registry
2019-05-08 14:32:32 -07:00
Kubernetes Prow Robot
805b6cbf83
Merge pull request #76976 from zhan849/aws-get-zone
AWS EBS provisioner should get node zone info from k8s
2019-05-08 14:32:18 -07:00
Kubernetes Prow Robot
0adbd6989d
Merge pull request #76385 from sttts/sttts-kube-aggregator-openapi-fix-existing
kube-aggregator: update existing openapi spec info if pre-existing
2019-05-08 14:32:05 -07:00
Kubernetes Prow Robot
df117c7625
Merge pull request #73637 from ramnar/branch_bug_fix
Removes deprecated label kubernetes.io/cluster-service in yaml files of kubernetes add-ons. Bug fix #72757
2019-05-08 14:31:51 -07:00
Ted Yu
85fc089855 Use map to check whether stack trace is needed
Signed-off-by: Ted Yu <yute@vmware.com>
2019-05-08 14:31:50 -07:00
Kubernetes Prow Robot
b3875556b0
Merge pull request #77336 from johnSchnake/refactorFrameworkSSH
Move ssh code to new package
2019-05-08 13:06:47 -07:00
Kubernetes Prow Robot
09c4e10333
Merge pull request #74021 from andrewsykim/move-features-component-base
Move feature gate package from k8s.io/apiserver to k8s.io/component-base
2019-05-08 13:06:34 -07:00
Han Kang
6d839235c2 handle global registry version loading more than once (with different versions) 2019-05-08 10:54:20 -07:00
Kenichi Omichi
436544488b Add ExpectError() to e2e test framework
There is a lot of gomega.Expect(err).To(gomega.HaveOccurred()) callers
which expect an error happens in e2e tests.
However these test code seems confusing because the code readers
need to take care of To() or NotTo() on each test scenario.
This adds ExpectError() for more readable test code.
In addition, this applies ExpectError() to e2e provisioning.go as a
sample.
2019-05-08 17:40:12 +00:00
Daniel (Shijun) Qian
5268f69405 fix duplicated imports of k8s code (#77484)
* fix duplicated imports of api/core/v1

* fix duplicated imports of client-go/kubernetes

* fix duplicated imports of rest code

* change import name to more reasonable
2019-05-08 10:12:47 -07:00
Kubernetes Prow Robot
f7d92fb963
Merge pull request #77427 from draveness/feature/use-logf-in-log-pkg
refactor: use e2elog.Logf instead of framework.Logf
2019-05-08 10:12:34 -07:00
John Schnake
338bc3ce42 Move framework ssh code to new package
The framework/ssh.go code was heavily used throughout the framework
and could be useful elsewhere but reusing those methods requires
importing all of the framework.

Extracting these methods to their own package for reuse.

Only a few methods had to be copied into this package from the
rest of the framework to avoid an import cycle.
2019-05-08 11:00:36 -05:00