AllenZMC
711896b68b
Check for errors ahead of time
...
Signed-off-by: AllenZMC <zhongming.chang@daocloud.io>
2022-06-23 23:26:17 +08:00
Kubernetes Prow Robot
99de67958d
Merge pull request #109798 from liggitt/psp
...
Remove PodSecurityPolicy admission plugin
2022-05-05 06:40:32 -07:00
Kubernetes Prow Robot
8f7e80cd89
Merge pull request #109483 from cyclinder/fix_healthz
...
kube-proxy: fix healthz return unexpect code 200
2022-05-05 06:40:19 -07:00
Kubernetes Prow Robot
b81a2a7373
Merge pull request #109792 from my-git9/csi-test2
...
modify link
2022-05-05 05:02:31 -07:00
Kubernetes Prow Robot
50e1f70027
Merge pull request #109782 from danwinship/no-local-endpoints-metric
...
Don't increment "no local endpoints" metric when there are no remote endpoints
2022-05-05 05:02:20 -07:00
Kubernetes Prow Robot
b7c4d243de
Merge pull request #109804 from cici37/celUpdate
...
Bump cel-go to v0.11.2
2022-05-05 01:44:01 -07:00
Kubernetes Prow Robot
78f3b812ff
Merge pull request #109803 from liggitt/api-fixture-data
...
v1.24.0 API fixture data
2022-05-05 01:43:53 -07:00
Kubernetes Prow Robot
6aa4c92403
Merge pull request #109772 from robscott/robscott-sig-net-approvers
...
Adding myself to sig-network reviewers and approvers
2022-05-05 01:43:45 -07:00
Kubernetes Prow Robot
f0928952d7
Merge pull request #109770 from fromanirh/e2e-node-device-plugin-skip
...
e2e: node: explicit skip for device plugin tests
2022-05-05 01:43:37 -07:00
Kubernetes Prow Robot
77c37da7fc
Merge pull request #109764 from saikat-royc/fix-delete-timeout
...
honor the framework delete timeout for pv
2022-05-05 01:43:29 -07:00
Kubernetes Prow Robot
f40f078590
Merge pull request #109759 from wojtek-t/cleanup_integration_tests
...
Minor cleanup to use t.Run() in test/integration
2022-05-05 01:43:22 -07:00
Kubernetes Prow Robot
e514c5d79c
Merge pull request #109755 from p0lyn0mial/harden-test-service-account
...
hardens integration serviceaccount tests
2022-05-05 01:43:14 -07:00
Kubernetes Prow Robot
f1ad477c88
Merge pull request #109751 from SataQiu/clean-kubeadm-20220502
...
kubeadm: replace *clientset.Clientset with clientset.Interface for join phase
2022-05-05 01:43:06 -07:00
Kubernetes Prow Robot
43575888fd
Merge pull request #109750 from aojea/spdy_tls
...
spdyroundtripper: don't need to verify server hostname twice
2022-05-05 01:42:59 -07:00
Kubernetes Prow Robot
794d3ab686
Merge pull request #109740 from AllenZMC/fix_test_iptables
...
Optimize test cases for iptables
2022-05-05 01:42:51 -07:00
Kubernetes Prow Robot
b5d494cdee
Merge pull request #109738 from AllenZMC/fix
...
Optimize test cases for ipvs
2022-05-05 01:42:43 -07:00
Tim Allclair
07c34eb400
[E2E] Refactor pod polling functions (WaitForX) ( #109704 )
...
* Clean up WaitFor Pod functions
* Handle retryable errors when polling
* Log more context on timeout
* #squash Address PR feedback
2022-05-05 01:42:32 -07:00
Kubernetes Prow Robot
a685faa798
Merge pull request #109607 from liggitt/drop-unused-third-party
...
Drop unused golang/template package and funcs
2022-05-05 01:42:20 -07:00
Kubernetes Prow Robot
9ac6b3af5f
Merge pull request #109697 from BenTheElder/fix-coverage-go118
...
fix e2e coverage package for go 1.18
2022-05-04 21:18:19 -07:00
cici37
a3587c12da
Update go-control-plane, cncf/xds/go, cncf/udpa/go and remove unused versions
2022-05-04 18:45:22 -07:00
cici37
334d8fb7a2
Update GRPC
2022-05-04 18:41:20 -07:00
cici37
e8f6184d86
Update genproto and antlr.
2022-05-04 18:37:30 -07:00
cici37
a86dd29157
Bump cel-go to v0.11.2
2022-05-04 18:32:06 -07:00
Kubernetes Prow Robot
cb7beb5912
Merge pull request #109440 from liggitt/gomod-1.18
...
update go.mod files to go 1.18
2022-05-04 18:16:19 -07:00
Kubernetes Prow Robot
6445efb341
Merge pull request #109344 from stbenjam/host-port-fixes
...
Replace use of Sprintf with net.JoinHostPort
2022-05-04 15:28:19 -07:00
Jordan Liggitt
94035cff0e
Remove v1.22.0 API fixture data
2022-05-04 17:32:48 -04:00
Jordan Liggitt
b127b2735b
Add v1.24.0 fixture data
2022-05-04 17:32:29 -04:00
Kubernetes Prow Robot
6b988c516e
Merge pull request #109268 from liggitt/pruning-metadata
...
ServerSideFieldValidation: Fix bug treating metadata fields as unknown fields
2022-05-04 14:14:19 -07:00
Kubernetes Prow Robot
4dacd5113d
Merge pull request #109231 from pbeschetnov/rc-logs
...
Only log requests for configured consumptions in ResourceConsumer
2022-05-04 13:02:19 -07:00
Jordan Liggitt
fba69f7eb9
Change test/cmd to test deprecations using a CRD
2022-05-04 16:00:57 -04:00
Jordan Liggitt
a44192b955
Remove PodSecurityPolicy cluster config
2022-05-04 16:00:56 -04:00
Jordan Liggitt
410ac59c0d
Remove PodSecurityPolicy admission plugin
2022-05-04 16:00:56 -04:00
Kubernetes Prow Robot
889e60ab33
Merge pull request #109124 from daschott/daschott/winkernel-perf-fix
...
winkernel proxier cache HNS data to improve syncProxyRules performance
2022-05-04 11:47:14 -07:00
Kubernetes Prow Robot
7477e1c91a
Merge pull request #109735 from my-git9/kubernetesurl
...
update k8s url
2022-05-04 09:49:50 -07:00
Dan Winship
84ad54f0e5
Don't increment "no local endpoints" metric when there are no remote endpoints
...
A service having no _local_ endpoints when it does have remote
endpoints is different from a service having no endpoints at all.
2022-05-04 12:38:17 -04:00
xin.li
ba654e0dad
modify link
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-05-05 00:19:02 +08:00
Francesco Romani
19ae360af9
e2e: node: inline getSampleDevicePluginPod
...
Starting golangci-lint >= 1.45, the tool is complaining
about the function being unused:
```bash
test/e2e_node/device_plugin_test.go:82:6: func `getSampleDevicePluginPod` is unused (unused)
func getSampleDevicePluginPod() *v1.Pod {
^
Please review the above warnings. You can test via "./hack/verify-golangci-lint.sh"
If the above warnings do not make sense, you can exempt this warning with a comment
(if your reviewer is okay with it).
In general please prefer to fix the error, we have already disabled specific lints
that the project chooses to ignore.
See: https://golangci-lint.run/usage/false-positives/ }
```
thing is the code is not changed lately, and manual inspection trivially
confirms it is used.
Older versions of golangci-lint (tested with
```
golangci-lint has version 1.41.1 built from a2074809 on 2021-06-19T16:01:50Z
```)
indeed do NOT complain about the function, so this seems a golangci-lint
bug.
To move forward, we can disable the warning, but this leaves a sour
taste.
Instead, since the function is pretty trivias, was used just once and the caller
was undoing some of the work done by the function, we just inline it,
which solves the linter warning and makes the code a bit better.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-05-04 17:05:00 +02:00
Kubernetes Prow Robot
1234d061c0
Merge pull request #109727 from Huang-Wei/cleanup-sched-heap
...
sched: remove unused code in heap.go
2022-05-04 08:01:51 -07:00
Jordan Liggitt
9e1064a26b
Regenerate vendor
2022-05-04 10:27:41 -04:00
Jordan Liggitt
1176b7ca28
Update go.mod files to go1.18, update license vendor script
2022-05-04 10:22:27 -04:00
Kubernetes Prow Robot
39021f66ef
Merge pull request #109715 from yibozhuang/volumerestrictions-refactor
...
Remove parallel node processing in PreFilter stage in volumerestrictions scheduler plugin
2022-05-04 06:49:51 -07:00
Kubernetes Prow Robot
2fd498f620
Merge pull request #109430 from soltysh/export_kustomize_version
...
Export function returning kustomize version
2022-05-04 04:57:51 -07:00
Kubernetes Prow Robot
094a33ad80
Merge pull request #109342 from bertinatto/custom-timeout-storage-e2e-cleanup
...
test/e2e/storage: replace hardcoded value with custom timeout in cleanup routine
2022-05-04 03:45:52 -07:00
Stephen Benjamin
b351745c1c
Replace use of Sprintf with net.JoinHostPort
...
On IPv6 clusters, one of the most frequent problems I encounter is
assumptions that one can build a URL with a host and port simply by
using Sprintf, like this:
```go
fmt.Sprintf("http://%s:%d/foo ", host, port)
```
When `host` is an IPv6 address, this produces an invalid URL as it must
be bracketed, like this:
```
http://[2001:4860:4860::8888]:9443
```
This change fixes the occurences of joining a host and port with the
purpose built `net.JoinHostPort` function.
I encounter this problem often enough that I started to [write a linter
for it](https://github.com/stbenjam/go-sprintf-host-port ). I don't
think the linter is quite ready for wide use yet, but I did run it
against the Kube codebase and found these. While the host portion in
some of these changes may always be an FQDN or IPv4 IP today, it's an
easy thing that can break later on.
2022-05-04 06:37:50 -04:00
Kubernetes Prow Robot
3bef1692ef
Merge pull request #109696 from Huang-Wei/rm-sched-perf-legacy
...
Cleanup legacy scheduler perf tests
2022-05-04 02:35:43 -07:00
Kubernetes Prow Robot
b593ed3118
Merge pull request #109659 from heqg/structuredLog01
...
Log StructuredLog: spelling formatting
2022-05-04 02:35:34 -07:00
Kubernetes Prow Robot
82ccfb4d2e
Merge pull request #109657 from claudiubelu/gce-containerd-update
...
GCE Windows: Copy the CNI binaries from the right folder
2022-05-04 02:35:26 -07:00
Kubernetes Prow Robot
c1ad54dfe3
Merge pull request #109649 from pohly/e2e-feature-gates
...
e2e: move feature gate support from test/e2e to test/e2e_node
2022-05-04 02:35:18 -07:00
Kubernetes Prow Robot
1ad0940732
Merge pull request #109623 from stevekuznetsov/skuznets/clarify-list-flow
...
storage/etcd3: clarify the pagingation flow in LIST
2022-05-04 02:35:10 -07:00
Kubernetes Prow Robot
ebd5c8c446
Merge pull request #109618 from stevekuznetsov/skuznets/common-storage-test-setup
...
storage/etcd3: continue unifying test setup
2022-05-04 02:35:02 -07:00