Commit Graph

108094 Commits

Author SHA1 Message Date
Antonio Ojea
0dbb9f4a8f integration: migrate scoring tests 2022-05-06 11:27:15 +02:00
Antonio Ojea
63d64b7108 integration: migrate preemption tests 2022-05-06 11:27:15 +02:00
Antonio Ojea
6a64e24cfa integration: migrate plugings tests 2022-05-06 11:27:15 +02:00
Antonio Ojea
69acad2c15 integration: migrate extender tests 2022-05-06 11:27:15 +02:00
Antonio Ojea
3bb965b651 merge test integration scheduler util 2022-05-06 11:27:11 +02:00
Antonio Ojea
ad765c1801 integration: scheduler: migrate PDB from v1beta1 to v1 2022-05-06 10:24:47 +02:00
Priyanka Saggu
31a5e8a027
add workaround fix for incorrect license URL 2022-05-06 13:19:24 +05:30
Kubernetes Prow Robot
7141b6d58d
Merge pull request #109840 from neolit123/1.25-fix-master-taint-re-add
kubeadm: only taint CP nodes when the legacy "master" taint is present
2022-05-05 21:31:03 -07:00
Kubernetes Prow Robot
5e9a6a256e
Merge pull request #109464 from liggitt/gomodule-install
Use module mode when building/installing
2022-05-05 16:28:52 -07:00
Kubernetes Prow Robot
4bec6b34ef
Merge pull request #107122 from songlh/fixing-5
fixing the panic in TestVersion
2022-05-05 16:28:41 -07:00
Kubernetes Prow Robot
313d9fb0b1
Merge pull request #109311 from my-git9/creatego
Modify function parameters
2022-05-05 13:50:41 -07:00
Lubomir I. Ivanov
b1f3034051 kubeadm: only taint CP nodes when the legacy "master" taint is present
During upgrade when a CP node is missing the old / legacy "master"
taint, assume the user has manually removed it to allow
workloads to schedule.

In such cases do not re-taint the node with the new "control-plane"
taint.
2022-05-05 23:39:23 +03:00
Daniel Smith
1dabd7be5c generated files 2022-05-05 20:12:51 +00:00
Daniel Smith
331525670b Remove ClusterName 2022-05-05 20:12:50 +00:00
Kubernetes Prow Robot
71df3e819b
Merge pull request #109545 from sanposhiho/fix-nun-on-scheduler_perf
Skip adding data to avoid "json: unsupported value: NaN" panic when data is NaN
2022-05-05 11:53:45 -07:00
Steve Kuznetsov
4ff560e4fa
storage/testing: wire things back together with imports
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-05 11:32:20 -07:00
Quan Tian
b501b8c9c0 Fix OpenAPI loading error caused by empty APIService
SpecAggregator's GetAPIServiceNames method returned empty APIService
name by mistake, causing OpenAPI controller handling an invalid
APIService continuously.

Signed-off-by: Quan Tian <qtian@vmware.com>
2022-05-06 02:01:48 +08:00
Kubernetes Prow Robot
751e9c0f5b
Merge pull request #109825 from alculquicondor/reduce-tests
Reduce number of repetitions and pods in TestPreemptionRaces
2022-05-05 10:50:29 -07:00
Kubernetes Prow Robot
f853a05e24
Merge pull request #109534 from ii/promote-job-lifecycle-test
Promote Batchv1JobLifecycleTest +4 Endpoints
2022-05-05 10:50:21 -07:00
Yibo Zhuang
bc8f3198d5 cleanup: move scheduler plugin tests to use PodWrapper
Move scheduler plugin unit tests use testing PodWrapper
where applicable to reduce duplicating pod creation
code and shorten number of lines.

Signed-off-by: Yibo Zhuang <yibzhuang@gmail.com>
2022-05-05 10:48:55 -07:00
Yibo Zhuang
fd08d47d8b cleanup: move scheduler tests to use PodWrapper
Move to use testing PodWrapper where applicable to
reduce duplicating pod creation code and shorten
number of lines.

Adding additional wrapper functions in PodWrapper
to ensure it covers all pod spec under tests.

Signed-off-by: Yibo Zhuang <yibzhuang@gmail.com>
2022-05-05 10:48:26 -07:00
Kubernetes Prow Robot
522cd18f87
Merge pull request #109779 from marseel/reduce_buckets_for_ttl_controller
Reduce number of buckets in ttl controller for 2k+ nodes clusters
2022-05-05 09:45:00 -07:00
Kubernetes Prow Robot
6966988ba2
Merge pull request #109760 from wojtek-t/fix_leaking_reconciler_storage
Fix leaking reconciler storage
2022-05-05 09:44:52 -07:00
Kubernetes Prow Robot
ac61dc624c
Merge pull request #109626 from logicalhan/watch-cache-metrics
refactor watch cache metrics so that they are in a single place
2022-05-05 09:44:43 -07:00
Kubernetes Prow Robot
8041606dfa
Merge pull request #109557 from mborsz/traces
Improve Create/Update traces.
2022-05-05 09:44:32 -07:00
Kubernetes Prow Robot
0bd2847019
Merge pull request #109435 from pohly/feature-gates-sorting
1.25: feature gate cleanup
2022-05-05 09:44:20 -07:00
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
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