tanjunchen
587dbc2fed
remove TODO in test/e2e/framework/auth/helpers
2019-12-31 11:20:31 +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
caiweidong
6410ac3173
Return when removePod failed
2019-12-31 10:11:12 +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
mattjmcnaughton
92940fa80d
Remove recorder.PastEventf
method
...
The `recorder.PastEventf` method wasn't actually working as advertised.
It was supposed to accept a timestamp, which would be used when
generating the event. However, as the
[source code](https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/client-go/tools/record/event.go#L316 )
shows, this `timestamp` was never actually used.
In other words, `PastEventf` is identical to `Eventf`.
We have two options: one would be to fix `PastEventf` so that it works
as advertised. The other would be to delete `PastEventf` and only
support `Eventf`.
Ultimately, I could only find one use of `PastEventf` in the code base,
so I propose we just delete `PastEventf` and convert all uses to
`Eventf`.
2019-12-30 12:00:23 -05: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
ialidzhikov
f438def93d
Update to golang@1.13.5
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-12-30 13:17:17 +02: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
ialidzhikov
12ebe54fc4
publishing: Update to go@1.13.4 for kubernetes-1.16
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-12-29 23:34:32 +02: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
Wei Huang
78352240f6
Move podtopologyspread priority logic to its Score plugin
2019-12-28 19:29:37 -08:00
Kubernetes Prow Robot
33bba19372
Merge pull request #86553 from ajayktkp/kubeadm-1985
...
validation.go: don't clamp the CIDR size calculations
2019-12-28 16:27:38 -08:00
Kubernetes Prow Robot
14c42b98b4
Merge pull request #86688 from tanjunchen/use-alias-kubeadmutil
...
alias kubeadmutil for k8s.io/kubernetes/cmd/kubeadm/app/util
2019-12-28 13:45:38 -08:00
Kubernetes Prow Robot
481db52294
Merge pull request #86634 from tanjunchen/remove-unused-code-test-e2e-apps-deployment
...
remove unused code in test/e2e/apps/deployment
2019-12-28 10:29:39 -08:00
Kubernetes Prow Robot
f796b750c6
Merge pull request #86681 from Huang-Wei/interpodaffinity-typo
...
Fix a typo in interpodaffinity score plugin
2019-12-28 08:23:38 -08:00
Sally O'Malley
35dea07ad6
silence usage when pass bad cmd options
2019-12-28 10:43:33 -05:00
Kubernetes Prow Robot
0a496e3860
Merge pull request #86685 from yangl900/stop-retry-bad-request
...
Azure cloud provider should not retry on bad request
2019-12-28 04:17:39 -08:00
Anders Liu
6359080d4f
fix: test failures
2019-12-28 00:06:56 -08:00
Anders Liu
ece8aefe1f
fix: azure error should not retry on bad reqeust
2019-12-28 00:02:56 -08:00
Kubernetes Prow Robot
d605766c89
Merge pull request #86662 from draveness/feature/cloud-specific-predicates
...
feat(scheduling): implement azure, cinder, ebs and gce as filter plugin
2019-12-27 22:23:38 -08:00
Wei Huang
b3bebddb30
Fix a typo in interpodaffinity score plugin
2019-12-27 20:23:28 -08:00
Kubernetes Prow Robot
de3be348a6
Merge pull request #86640 from tanjunchen/move-code-test/e2e/framework/job
...
move funcs from test/e2e/framework/job to test/e2e/apps
2019-12-27 19:47:51 -08:00
Kubernetes Prow Robot
8bf6504661
Merge pull request #86583 from libnux/change_random_fully_log_level
...
Change log level to 3 when --random-fully is not supported
2019-12-27 19:47:39 -08:00
draveness
320ac4e277
feat(scheduling): implement azure, cinder, ebs and gce as filter plugin
2019-12-28 11:46:40 +08:00
Kubernetes Prow Robot
f1cbbda291
Merge pull request #86650 from RainbowMango/pr_testapi_cleanup
...
Cleanup testapi after it has been removed
2019-12-27 14:05:38 -08:00
Antonio Ojea
31e59fd5e3
Add ipv6 examples for network policy API
...
Add IPv6 examples to the network policy API
2019-12-27 22:47:20 +01:00