Commit Graph

116541 Commits

Author SHA1 Message Date
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
Ben Luddy
f489184219
Delete CRDs created during field validation tests. 2023-05-24 12:39:57 -04: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
andyzhangx
485d1631cd Remove Azure file in-tree storage plugin 2023-05-24 14:10:34 +00: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
Dan Winship
08ce580576 Add ProxyServer.platformSetup
Move the Linux-specific conntrack setup code into a new
"platformSetup" rather than trying to fit it into the generic setup
code.

Also move metrics registration there.
2023-05-23 16:17:04 -04:00
Benjamin Elder
e0b7f31ce6 use standard base image in dra dev
kind is on containerd 1.7.x now
2023-05-23 11:46:30 -07:00
Kubernetes Prow Robot
8b8dfcad12
Merge pull request #117586 from mimowo/preemption-for-critical-pods
Add DisruptionTarget condition when preempting for critical pod
2023-05-23 11:22:27 -07:00
Kubernetes Prow Robot
1dc8384cdd
Merge pull request #118185 from marosset/windows-fix-mem-limit-e2e-test
Fixing windows memory allocation e2e tests after a refactor
2023-05-23 10:24:38 -07:00
Kubernetes Prow Robot
74c66a8b39
Merge pull request #116231 from kannon92/kubelet-image-cleanup
Using parsers in applyDefaultImageTag and adding error test cases.
2023-05-23 10:24:27 -07:00
Kubernetes Prow Robot
12386e2de1
Merge pull request #114053 from brianpursley/fix-update-translations
hack/update-translations.sh: Improve backslash handling
2023-05-23 09:06:29 -07:00
Jan Šafránek
149f4878a7
Simplify DeferCleanup.
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2023-05-23 14:46:05 +02:00
Kubernetes Prow Robot
61d455ed11
Merge pull request #118200 from pohly/csi-storage-capacity-timeout
e2e: apply timeout for CSI Storage Capacity test only to node
2023-05-23 01:58:27 -07:00
Patrick Ohly
dbb6d25f13 e2e: apply timeout for CSI Storage Capacity test only to node
Applying it to the entire spec included cleaning up, which makes predicting the
acceptable duration harder because it includes code not owned by the test
itself. It's better to specify a timeout only for the test code itself.
2023-05-23 08:29:10 +02:00
Kubernetes Prow Robot
828495bcc0
Merge pull request #118061 from ty-dc/pr/runc
Bump runc to v1.1.7
2023-05-22 23:06:37 -07:00
Kubernetes Prow Robot
1cad20dece
Merge pull request #117935 from saschagrunert/cri-errors-additional
Allow runtimes to provide additional context on CRI pull errors
2023-05-22 23:06:26 -07:00
Mengjiao Liu
1c05cf1d51 kube-scheduler: NewFramework function to pass the context parameter
Co-authored-by: Aldo Culquicondor <1299064+alculquicondor@users.noreply.github.com>
2023-05-23 10:17:34 +08:00
Kubernetes Prow Robot
6d6d858ef2
Merge pull request #118191 from liggitt/local-up
fix using stale binaries in local-up-cluster
2023-05-22 18:16:20 -07:00
Jordan Liggitt
1b206399f6
fix using stale binaries in local-up-cluster 2023-05-22 20:03:58 -04:00
Kubernetes Prow Robot
b5ce9a576d
Merge pull request #117963 from humblec/gomega-euqal-1
e2e: use gomega.Expect instead of framework.ExpectEqual in  `kubectl`
2023-05-22 16:48:31 -07:00
Kubernetes Prow Robot
d2dc976247
Merge pull request #117591 from zshihang/master
graduate LegacyServiceAccountTokenTracking to GA
2023-05-22 16:48:20 -07:00
Kubernetes Prow Robot
2e632c9c28
Merge pull request #118187 from thockin/update-vendor_log_capture_cleanup
Fix update-vendor.sh logging
2023-05-22 15:51:06 -07:00
Tim Hockin
ece68cf833
Fix update-vendor.sh logging
Previously it would corrupt the log when it ran stuff like:
    go mod tidy >> "${LOG_FILE}" 2>&1
because this would reopen the file.  Also, if that failed, the `finish`
function would be called ALSO with output to the log.

Now we let &1 and &2 always be the log, and &11 and &22 are the real
stdout/stderr, which means we have to say that explicitly when we want
output.

No, I cannot do `OUT="&11"` - I would have to use `eval` to make that
work.
2023-05-22 14:51:30 -07:00
Mark Rossetti
cba8c1f5e2
Fixing windows memory allocation e2e tests after a refactor
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2023-05-22 13:36:21 -07:00
Benjamin Elder
96d48de9b9 add OWNERS for cmd/prune-junit-xml 2023-05-22 11:01:38 -07:00
Kubernetes Prow Robot
ce05a4f7fc
Merge pull request #118176 from humblec/agnhost-manifest
test/e2e: use agnhost latest version in the manifest
2023-05-22 10:43:11 -07:00
Kubernetes Prow Robot
27661b66cf
Merge pull request #118084 from enj/enj/f/cache_get_expired
kmsv2: ignore cache key expiration on reads
2023-05-22 10:42:59 -07:00
Kubernetes Prow Robot
ea028befc1
Merge pull request #118053 from aleskandro/fix-nil-affinity-update
Updating the nodeAffinity of gated pods having nil affinity should be allowed
2023-05-22 09:35:09 -07:00
Kubernetes Prow Robot
d9df6b0331
Merge pull request #117251 from linxiulei/wh
Make connection lost retryable in webhook
2023-05-22 09:34:58 -07:00