Commit Graph

86950 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
8727eef79c
Merge pull request #85836 from YangLu1031/master
Add instructions about how to bring up e2e test cluster
2020-01-02 14:31:41 -08:00
Kubernetes Prow Robot
c72d5fd255
Merge pull request #86693 from sallyom/silence-usage-on-error
silence usage when required flag is not passed
2020-01-02 08:47:40 -08:00
Kubernetes Prow Robot
09cb73a554
Merge pull request #86705 from neolit123/1.18-fix-ca-whitespace-comparison
kubeadm: tolerate whitespace when validating user CA PEMs
2019-12-31 23:35:40 -08:00
Kubernetes Prow Robot
2099c00290
Merge pull request #86745 from Aresforchina/fix-staticcheck-test01
Fix staticcheck failures of test/integration/replicationcontroller
2019-12-31 20:31:39 -08:00
Kubernetes Prow Robot
26b52e84a4
Merge pull request #86230 from hex108/skip_schedule
Scheduler handles pod annotation updates during scheduling more gracefully
2019-12-31 17:03:40 -08:00
Kubernetes Prow Robot
6b5cf90ecd
Merge pull request #86598 from zhlhahaha/e2e_kubeadm_1410_2
Remove todos for verification of “allowed to post CSR” and "allowed to auto approve CSR" for bootstraptoken group
2019-12-31 15:43:39 -08:00
Kubernetes Prow Robot
4058cdcc2a
Merge pull request #86750 from RainbowMango/pr_postpone_swap_warning
Postpone flag warning log to just before it be used
2019-12-31 12:25:40 -08:00
Kubernetes Prow Robot
8743d98431
Merge pull request #86725 from notpad/feature/scheduler
Move resource-based priority functions to their Score plugins
2019-12-31 09:37:40 -08:00
notpad
7f79516705 Move resource-based priority functions to their Score plugins 2019-12-31 23:50:11 +08:00
Kubernetes Prow Robot
d9b5a40463
Merge pull request #86723 from RainbowMango/pr_metrics_cleanup
Metrics stability framework cleanup
2019-12-31 07:23:40 -08:00
Kubernetes Prow Robot
63411a137f
Merge pull request #86732 from oomichi/move-WaitForFailure
Move WaitForFailure() to the test
2019-12-31 05:15:39 -08:00
RainbowMango
36cbce1182 Postpone flag warning log to just before it be used. 2019-12-31 20:05:53 +08:00
Aresforchina
bf47d14c27 Fix staticcheck failures of test/integration/replicationcontroller 2019-12-31 17:16:01 +08:00
Kubernetes Prow Robot
f5034a6e4a
Merge pull request #86719 from feiskyer/azure-retry
Add backoff retries and client config for Azure cloud provider
2019-12-31 01:00:17 -08:00
Kubernetes Prow Robot
55b692fa48
Merge pull request #86661 from yuxiaobo96/e2e-cleanup-replicaset
e2e:remove func of framework/replicaset to e2e/upgrades/apps/replicas…
2019-12-31 01:00:04 -08:00
Kubernetes Prow Robot
b765dd9e81
Merge pull request #86657 from yuxiaobo96/e2e-cleanup-autoscaling
e2e:remove unused func in /test/e2e/framework/autoscaling/autoscaling…
2019-12-31 00:59:51 -08:00
Kubernetes Prow Robot
5da9113fd8
Merge pull request #85078 from k-toyoda-pi/add_apierrs_aliase
Add apierrors as alias for k8s.io/apimachinery/pkg/api/errors
2019-12-31 00:59:39 -08:00
Kubernetes Prow Robot
36db62cd73
Merge pull request #86737 from oomichi/add-test-title-in-TestPreemption
Output test description in TestPreemption
2019-12-30 23:15:39 -08:00
Jun Gong
706e90a033 Skip scheduling the pod if it has been assumed and the pod updates could be skipped. 2019-12-31 14:21:41 +08:00
Kubernetes Prow Robot
822a2de262
Merge pull request #86731 from oomichi/use-DeleteSync
Remove Delete/CreateSyncInNamespace()
2019-12-30 20:39:46 -08:00
Kubernetes Prow Robot
d0c719dbd9
Merge pull request #86716 from SataQiu/staticcheck-20191230
Fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume
2019-12-30 20:39:39 -08:00
Kubernetes Prow Robot
adf056230a
Merge pull request #86733 from oomichi/add-debugging-msg
Add debugging message to know the pod status
2019-12-30 18:53:39 -08:00
Howard Zhang
006980c160 Remove Todos for CSR checking
Remove Todos for verification of “allowed to
post CSR” and "allowed to auto approve CSR"
for bootstraptoken group, as these privilege
bindings are not managed by kubeadm source
code

Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2019-12-31 09:49:00 +08:00
Kubernetes Prow Robot
26d491f413
Merge pull request #86736 from oomichi/add-error-TestPreemption
Add error handling for Register() call
2019-12-30 16:57:39 -08:00
Kenichi Omichi
00abe6d505 Output test description in TestPreemption
Now we are facing flake test of TestPreemption due to less available
node. TestPreemption consists of multiple test cases and the resource
is shared in them.
At this time, we cannot see what test cases run before the flake
happens. So it is better to know that to distinguish the cleanup of
pods is not completed or not.
2019-12-31 00:14:03 +00:00
Kenichi Omichi
43d9748d3a Add error handling for Register() call
Register() can return an error as [1], so this adds the error handling.

[1]: f772c9017c/pkg/scheduler/framework/v1alpha1/registry.go (L56)
2019-12-30 23:35:26 +00:00
Kenichi Omichi
253a85db16 Move WaitForFailure() to the test
WaitForFailure() is used at a single e2e test.
So this moves the function to the specific test file for the cleanup.
2019-12-30 23:16:24 +00:00
Kubernetes Prow Robot
f772c9017c
Merge pull request #86609 from Pensu/kubeadm-ci-master
Fixing regex for kubernetes version in kubeadm
2019-12-30 14:29:39 -08:00
Lubomir I. Ivanov
453ac809c1 kubeadm: tolerate whitespace when validating user CA PEMs
The function validateKubeConfig() can end up comparing
a user generated kubeconfig to a kubeconfig generated by kubeadm.

If a user kubeconfig has a CA that is base64 encoded with whitespace,
if said kubeconfig is loaded using clientcmd.LoadFromFile()
the CertificateAuthorityData bytes will be decoded from base64
and placed in the v1.Config raw. On the other hand a kubeconfig
generated by kubeadm will have the ca.crt parsed to a Certificate
object with whitespace ignored in the PEM input.

Make sure that validateKubeConfig() tolerates whitespace differences
when comparing CertificateAuthorityData.
2019-12-30 22:16:41 +02:00
Kenichi Omichi
99c2e74a23 Add debugging message to know the pod status
The log of a flake test says
"Pod did not start running: timed out waiting for the condition"
but it is hard to know what is actual status of the pod.
So this adds debugging message to know that.
2019-12-30 19:46:15 +00:00
Kenichi Omichi
52ddae0267 Remove Delete/CreateSyncInNamespace()
DeleteSyncInNamespace() was used at an e2e node test and DeleteSync()
only. In addition, the part of the e2e node test can be replaced with
DeleteSync(). CreateSyncInNamespace() is the same thing and can be
replaced with CreateSync(). So this replaces these functions and
removes them for the cleanup.
2019-12-30 18:59:42 +00:00
Kubernetes Prow Robot
a1364be012
Merge pull request #86521 from jfbai/exclude-system-previledged-group-requests-from-dropped-requests
Count dropped requests except system previledged group requests.
2019-12-30 09:09:39 -08:00
Kubernetes Prow Robot
e94f2b5642
Merge pull request #86618 from yutedz/fld-info-empty
Come out of loop when omitempty is true
2019-12-30 07:53:40 -08:00
Peeyush Gupta
49884bca30 Fixing regex for kubernetes version in kubeadm 2019-12-30 21:12:24 +05:30
RainbowMango
81c6989ccc Clean up unused variable from unit test. 2019-12-30 21:40:14 +08:00
朱正浩,Zhu Zhenghao
2b304bf5e2 fix static check failures in component-base/metrics 2019-12-30 21:40:07 +08:00
Kubernetes Prow Robot
f7e9a7c194
Merge pull request #86713 from liggitt/fix-gce-unit-test
Fix unit test to run in non-gce environments
2019-12-30 05:13:40 -08:00
Kubernetes Prow Robot
a443014dfc
Merge pull request #86621 from yuzhiquan/patch-pod
refactor (pod log) container valiate
2019-12-30 02:41:39 -08:00
yuzhiquan
ca69051475 refactor(pod log):refactor for container valiate, little cleanup
bug(pod log):TestCheckLogLocation should point out pod name

modify container if statement

fix typo
2019-12-30 16:16:45 +08:00
Kubernetes Prow Robot
9b59ba4ef8
Merge pull request #81895 from praseodym/fix-staticcheck-test/images
Fix staticcheck failures for test/images
2019-12-30 00:09:39 -08:00
Kubernetes Prow Robot
1e7c07ac4e
Merge pull request #86655 from k-toyoda-pi/add_alias_apierrors_endpointslice
Add alias of api/errors in endpointslice.go
2019-12-29 21:59:39 -08:00
Pengfei Ni
31d6cc5792 Switch to new ClientConfig for Azure cloud provider 2019-12-30 05:56:36 +00:00
SataQiu
8c77b96b75 fix staticcheck failures of test/integration/scale test/integration/serviceaccount test/integration/serving test/integration/volume 2019-12-30 13:35:13 +08:00
Pengfei Ni
7382a7c801 Add backoff retry which implements autorest.SendDecorator interface 2019-12-30 04:49:00 +00:00
Kubernetes Prow Robot
6d53021196
Merge pull request #86511 from aojea/v6example
Add ipv6 examples for network policy API
2019-12-29 19:39:39 -08:00
Jordan Liggitt
80e3cc3629 Fix unit test to run in non-gce environments 2019-12-29 22:28:41 -05:00
Pengfei Ni
210f1a904d Move client config to a separate package 2019-12-30 03:13:47 +00:00
Kubernetes Prow Robot
bd239d42e4
Merge pull request #86452 from lelenanam/lbbug
Fix ensureStaticIP if name for existed address was changed
2019-12-29 10:15:38 -08:00
Kubernetes Prow Robot
886cf062a4
Merge pull request #86684 from Huang-Wei/eps-move-prio
Move podtopologyspread priority logic to its Score plugin
2019-12-28 23:47:38 -08:00
Kubernetes Prow Robot
a097243cba
Merge pull request #86062 from haosdent/clean-e2e-framework-gpu
e2e: move funs of framework/gpu to e2e_node
2019-12-28 21:23:39 -08:00