Commit Graph

116343 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
f7cfb5f02f
Merge pull request #118257 from pohly/dra-scheduler-plugin-loopvar-fix
dra scheduler plugin test: fix loopvar bug and "reserve" expected data
2023-05-26 06:06:53 -07:00
Kubernetes Prow Robot
58e6e903b7
Merge pull request #118272 from SataQiu/clean-e2e-framework-20230526
e2e-framework: code cleanup for mismatched comments
2023-05-26 02:50:52 -07:00
SataQiu
4d2ff08bfa e2e-framework: code cleanup for mismatched comments 2023-05-26 12:36:19 +08:00
Kubernetes Prow Robot
2e306e9632
Merge pull request #118268 from jingyuanliang/kpmem
Set kube-proxy memory request to 50Mi
2023-05-25 21:00:51 -07:00
Jingyuan Liang
4dfc684b34 Set kube-proxy memory request to 50Mi
With optional override using KUBE_PROXY_MEMORY_REQUEST following the
KUBE_PROXY_CPU_REQUEST pattern.
2023-05-26 01:01:33 +00:00
Kubernetes Prow Robot
d8e9a7b33a
Merge pull request #118017 from danwinship/kube-proxy-platform
merge duplicated linux/windows kube-proxy setup code
2023-05-25 16:39:02 -07:00
Kubernetes Prow Robot
cfeb83d56b
Merge pull request #116525 from ffromani/kubelet-podresources-endpoint-ga
node: podresources: graduate to GA
2023-05-25 16:38:50 -07:00
Kubernetes Prow Robot
3d27dee047
Merge pull request #118065 from BenTheElder/prune-junit-cleanup
prune-junit-xml cleanup
2023-05-25 11:34:54 -07:00
Kubernetes Prow Robot
ffc0346400
Merge pull request #118099 from ii/create-csidriver-test
Write e2e test for StorageV1CSIDriver Endpoints + 3 Endpoints
2023-05-25 08:45:03 -07:00
Kubernetes Prow Robot
36d81a5818
Merge pull request #118054 from johanoskarsson/johan_leader_election_lock_id_validate
Validate lock identity
2023-05-25 08:44:52 -07:00
Kubernetes Prow Robot
ef00ff2148
Merge pull request #118256 from aojea/svc_unavailable
e2e should retry if service is not available
2023-05-25 07:00:51 -07:00
Patrick Ohly
7a6b4a9215 dra scheduler plugin test: fix loopvar bug and "reserve" expected data
The `listAll` function returned a slice where all pointers referred to the same
instance. That instance had the value of the last list entry. As a result, unit
tests only compared that element.

During the reserve phase, the first claim gets reserved in two test
cases. Those two tests must expect that change. That hadn't been noticed before
because that first claim didn't get compared.
2023-05-25 15:10:05 +02:00
Kubernetes Prow Robot
8db4d63245
Merge pull request #118248 from aojea/fix_rs_test
e2e rc: if the pods are running but not ready the test will fail
2023-05-25 05:18:52 -07:00
Antonio Ojea
e31b2080f5 e2e framework retry on Service unavailable errors
the e2e framwork use active loops to wait for certain async operations,
these loops need to retry on some operations and fail in others.

For the functions that depend on some operations to happen, the
apiserver may return 503 errors until that specific service is
available, so we should retry on those too.

Change-Id: Ib3d194184f6385b9d3d151c7055f27c97c21c3ff
2023-05-25 11:22:45 +00:00
Kubernetes Prow Robot
6911d3b2b8
Merge pull request #118235 from kkkkun/set_watchlist_env
Lookup ENABLE_CLIENT_GO_WATCH_LIST_ALPHA in NewReflectorWithOptions
2023-05-25 02:42:51 -07:00
Antonio Ojea
a50549cc90 e2e rc: if the pods are running but not ready the test will fail
Change-Id: Ic9211f8117caa7c320e2fb0f8d668184450c1d90
2023-05-25 07:19:51 +00:00
Kubernetes Prow Robot
03ebd4b7ef
Merge pull request #116656 from HirazawaUi/fik-fd-leaks
Cleanup fd leaks and file removal cleanup
2023-05-24 22:50:50 -07:00
Kubernetes Prow Robot
bcb3d87117
Merge pull request #118070 from carlory/patch-001
legacy names of volume plugins have been gone a LONG time
2023-05-24 20:37:01 -07:00
Kubernetes Prow Robot
90ed8ba687
Merge pull request #118013 from neolit123/1.28-add-config-validate
kubeadm: add the "config validate" subcommand
2023-05-24 20:36:49 -07:00
Kubernetes Prow Robot
04d14ba389
Merge pull request #118242 from aojea/fix_e2e_rs
fix unknown field error in rs e2e
2023-05-24 17:14:50 -07:00
Antonio Ojea
a6003ae1e1 fix unknown field error in rs e2e
Change-Id: Ib45246b6f8266d571a41f1e760fa6f5aa88123ff
2023-05-24 22:56:14 +00:00
Kubernetes Prow Robot
61ca72b541
Merge pull request #118218 from tukwila/remove_skip_windows
remove t.skip windows condition when #116693 is merged
2023-05-24 15:44:50 -07:00
Kubernetes Prow Robot
bc6cbdabbe
Merge pull request #117852 from tenzen-y/replace-deprecated-sets
Job: Use generic Set in validation
2023-05-24 14:47:00 -07:00
Kubernetes Prow Robot
8cb4ff16fb
Merge pull request #117625 from skitt/intstr-fromint32-cli
CLI: use new intstr functions
2023-05-24 14:46:49 -07:00
Kubernetes Prow Robot
f99589b4f5
Merge pull request #118240 from Jefftree/bump-kube-openapi
Bump kube openapi
2023-05-24 13:18:49 -07:00
Jefftree
27057def05 Signature fix for registeropenapi 2023-05-24 19:00:15 +00:00
Jefftree
4373ae05f3 Update vendor 2023-05-24 18:55:36 +00:00
Kubernetes Prow Robot
3efd083b6c
Merge pull request #118012 from mengjiao-liu/runtime-framework-pass-context
kube-scheduler: NewFramework function to pass the context parameter
2023-05-24 11:50:49 -07:00
Lubomir I. Ivanov
72e4c9a82a kubeadm: add the "config validate" subcommand
The command can be used to validate an input --config and throw
warnings and errors.

Add a new argument strctErrors to the functions
documentMapTo{Init|Join}Configuration(). This allows
to return errors from the calls to VerifyUnmarshalStrict().

Add a new function verifyKnownGVKs() in config/common.go
that is used to verify if a list of GVKs in a config file is
known. This function is used by the "validate" and "migrate"
commands.

Both commands now throw errors for unknown APIs or fields.
2023-05-24 21:22:02 +03:00
Kubernetes Prow Robot
7024beeeeb
Merge pull request #117984 from champtar/kubeadm-init-speedup
kubeadm: speedup init by 0s or 20s
2023-05-24 09:09:01 -07:00
Arda Güçlü
2ea6896f90
Add warning log callback in client-go loading rules (#117233)
* Add warning log callback in client-go loading rules

This provides a way to consumers use their own custom warning
mechanisms instead default klog warning.

* Use typed error instead plain string

* Fix interface change in unit test
2023-05-24 09:08:50 -07:00
Kubernetes Prow Robot
ddf958ee06
Merge pull request #118097 from jsafrane/add-kind-e2e
Add test for starting kubelet with a CSI volume mounted
2023-05-24 06:24:50 -07:00
kkkkun
2eed9b4143 Should get ENABLE_CLIENT_GO_WATCH_LIST_ALPHA when new reflector
Signed-off-by: kkkkun <scuzk373x@gmail.com>
2023-05-24 21:10:01 +08:00
Kubernetes Prow Robot
e11c5284ad
Merge pull request #118229 from aroradaman/github-user-rename
proxy/ipvs: github user name change: daman1807 -> aroradaman
2023-05-24 05:25:03 -07:00
Kubernetes Prow Robot
74bd0ecdf4
Merge pull request #118223 from pohly/test-integration-vmodule-removal
integration: remove special verbosity for garbagecollector and graph_builder
2023-05-24 05:24:50 -07:00
Keita Mochizuki
0813904404
Fix: Restricted profile comply with PSS (#117543)
* restricted profile comply with PSA v1.27

* add test case

* Reflect review comments

* Reflect review comments 2

* Reflect review comments 3
2023-05-24 04:16:49 -07:00
Daman Arora
c68f858658 proxy/ipvs: github user name change: daman1807 -> aroradaman
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2023-05-24 16:00:20 +05:30
Kubernetes Prow Robot
b2522655b3
Merge pull request #117047 from charles-chenzz/add_continue
replace deprecated set.String in storage/validation
2023-05-24 02:48:49 -07:00
Stephen Heywood
05b3beb7f0 Create e2e test for CSIDriver endpoints
e2e test validates the following 3 endpoints
- deleteStorageV1CollectionCSIDriver
- patchStorageV1CSIDriver
- replaceStorageV1CSIDriver
2023-05-24 20:04:27 +12:00
Patrick Ohly
d459b4429f integration: remove special verbosity for garbagecollector and graph_builder
The setting for garbagecollector was added 7 years ago in 9ac91e5172 for
"debugging gc".  graph_builder was added 6 years in a98801c1 when restoring the
-vmodule parameter after some temporary removal, without an explanation.

It seems safe to assume that the garbage collector has been debugged
sufficiently...

These defaults cause performance overhead:
- Enabling -vmodule slows down all log calls because checking verbosity
  cannot take a simpler fast path.
- The amount of log output is much higher for those files.

The amount of log data also caused test output to get truncated, removing the
actual test failure explanation.
2023-05-24 10:02:53 +02:00
guangli.bao
931cc96b8d remote windows condition when #116693 is merged
Signed-off-by: guangli.bao <guangli.bao@daocloud.io>
2023-05-24 14:54:22 +08:00
Arda Güçlü
0bff705acd
Preserve code blocks in templates.Normalizer (#118029)
* Preserve code blocks in templates.Normalizer

Currently, if templates.LongDesc function is invoked multiple times
for a string including a code block, this code block is converted to
invalid code block.

The reason of this issue is that blackfriday package, which templates package uses, relies on
4 * indentation to detect code blocks. This PR always preserves
4 * indentation in code blocks to always detect it code blocks in also
post invocations.

* Add indentations to test for code blocks

* Use strings.repeat for repetition
2023-05-23 23:20:49 -07:00
Kubernetes Prow Robot
484645e817
Merge pull request #116659 from claudiubelu/skip-flaky-tests-2
unit tests: Skip flaky tests on Windows (part 2)
2023-05-23 20:04:48 -07:00
Kubernetes Prow Robot
e28866e976
Merge pull request #117393 from HirazawaUi/use-wait-replace-loop
Use wait to avoid blocking the SIGTERM handler
2023-05-23 19:07:00 -07:00
Kubernetes Prow Robot
de12f89cd4
Merge pull request #116994 from mmiranda96/fix/116505
Create local copy to avoid potential race condition
2023-05-23 19:06:49 -07:00
Kubernetes Prow Robot
7f8c4315dc
Merge pull request #118210 from BenTheElder/dra-build-normal-base
use standard base image in dra dev
2023-05-23 14:22:56 -07:00
Kubernetes Prow Robot
c136b4884d
Merge pull request #117017 from ike-ma/arm-ci
Setup e2e_node to support testing on ARM64
2023-05-23 14:22:49 -07:00
Kubernetes Prow Robot
551868d863
Merge pull request #118002 from ii/remove-get-endpoints
Remove Get * APIResources endpoints from the pending_eligible_endpoints.yaml file
2023-05-23 13:23:00 -07:00
Kubernetes Prow Robot
02acacba43
Merge pull request #118001 from ii/promote-apiresources-test
Promote e2e test for APIResources endpoints + 12 Endpoints
2023-05-23 13:22:48 -07:00
Dan Winship
6232ac734a Merge duplicated Linux/Windows kube-proxy setup code 2023-05-23 16:17:07 -04:00