Steve Kuznetsov
0bfeb72878
storage/etcd3: move reusable tests to importable files
...
These can't live in `_test.go` files, or others won't be able to re-use
them as you can't import from test files.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-05 09:29:12 -07:00
Steve Kuznetsov
117f674cab
storage/etcd3: factor tests to accept storage.Interface
...
This commit simply factors the test functionality into functions that
accept `storage.Interface`.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-05 09:27:49 -07:00
Kensei Nakada
4af3c5efeb
Skip adding data to avoid "json: unsupported value: NaN" panic when data is NaN
2022-05-05 16:11:22 +00:00
Claudiu Belu
47e7461209
Update test/e2e/windows/host_process.go
...
Co-authored-by: James Sturtevant <jsturtevant@gmail.com>
2022-05-05 18:34:17 +03:00
Kubernetes Prow Robot
d582814d5e
Merge pull request #109795 from photra/fix-broken-links
...
Fix broken links
2022-05-05 08:14:27 -07:00
Kubernetes Prow Robot
64d1acd21b
Merge pull request #109711 from MushuEE/patch-1
...
Update Metrics doc as there is a typo in package
2022-05-05 08:14:20 -07:00
Dan Winship
813aca47af
proxy/iptables: fix firewall rules with multiple LB IPs
...
The various loops in the LoadBalancer rule section were mis-nested
such that if a service had multiple LoadBalancer IPs, we would write
out the firewall rules multiple times (and the allowFromNode rule for
the second and later IPs would end up being written after the "else
DROP" rule from the first IP).
2022-05-05 10:58:09 -04:00
Dan Winship
df589b46a1
proxy/iptables: test multiple LoadBalancer IPs on one service
2022-05-05 10:58:09 -04:00
Dan Winship
709b4f696d
proxy/iptables: test LoadBalancerSourceRanges vs node IP
...
The LoadBalancer rules change if the node IP is in one of the
LoadBalancerSourceRange subnets, so make sure to set nodeIP on the
fake proxier so we can test this, and add a second source range to
TestLoadBalancer containing the node IP. (This changes the result of
one flow test that previously expected that node-to-LB would be
dropped.)
2022-05-05 10:58:07 -04:00
Aldo Culquicondor
51b1bb5ea7
Reduce number of repetitions and pods in TestPreemptionRaces
...
Change-Id: Id2c73be7be2536b02c804978d26d1e977a344399
2022-05-05 10:38:05 -04:00
xin.li
9d7012d164
modify error line
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-05-05 21:44:43 +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
Jordan Liggitt
6cdaecfe0a
Build in hermetic module mode
2022-05-05 08:47:33 -04:00
Jordan Liggitt
2a10ca650d
drop vendor from test targets
2022-05-05 08:47:33 -04:00
Jordan Liggitt
7227c442c0
drop vendor from makefile
2022-05-05 08:47:33 -04:00
Jordan Liggitt
39f5c13510
drop vendor from go install paths
2022-05-05 08:47:33 -04:00
Marcel Zięba
47257b7613
Reduce number of buckets in ttl controller for 2k+ nodes clusters
2022-05-05 12:26:36 +00: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
Wojciech Tyczyński
33dca56ba8
Destroy endpoints-reconciler lease storage on shutdown
2022-05-05 13:45:48 +02: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
Maciej Borsz
56769e794b
Improve Create/Update/Patch traces.
2022-05-05 07:44:37 +00:00
Patrick Ohly
8e56b1e18d
features: remove GA features
...
This removes all feature definitions that were marked for removal in 1.25, with
some exceptions:
- some features were marked for removal in 1.25 although they only graduated
to GA in 1.24 - that seems too soon, so the comment was updated instead
- CSIVolumeFSGroupPolicy and PodDisruptionBudget are still used in the code, so
removing them will be more work and was deferred
2022-05-05 09:38:19 +02:00
Patrick Ohly
85513e4bca
features: reduce risk of merge conflicts
...
Merge conflicts become less likely when:
- features are sorted alphabetically because
then changes are more likely to be done in
different parts of the files
- blank lines separate the hash entries because
gofmt then doesn't change the formating of
other entries when adding or removing one
Merge conflicts where pretty common shortly before a code freeze when everyone
added new features at the end of the files.
2022-05-05 08:22:16 +02: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
Han Kang
a569829f59
refactor watch cache metrics so that they are in a single place
...
Change-Id: I7874e90d4ec111e82450273f27f8e50556cb096a
2022-05-04 14:30:59 -07: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