Commit Graph

119367 Commits

Author SHA1 Message Date
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
Monis Khan
86a258b13a
kmsv2: ignore cache key expiration on reads
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-05-22 11:51:23 -04:00
Humble Chirammal
89439b570f test/e2e: use agnhost latest version in the manifest
https://github.com/kubernetes/kubernetes/pull/118125

The image has got promoted via:

https://github.com/kubernetes/k8s.io/pull/5310

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-22 19:59:30 +05:30
Kubernetes Prow Robot
da0a1a05b9
Merge pull request #118125 from humblec/json-serializerwithoptions
test/e2e: Use json.NewSerializerWithOptions in place of json/yaml newSerializers
2023-05-22 07:12:32 -07:00
Jan Safranek
b30720fc9f Add test for starting kubelet with a CSI volume mounted
To test https://github.com/kubernetes/kubernetes/issues/117745,
restart kubelet with a CSI volume mounted *and* the API server running as a
static pod.

The test heavily uses `kind` containers and the fact that it uses the API
server as a static pod.
2023-05-22 15:31:40 +02:00
Humble Chirammal
ad9e264c3c test/e2e: Use json.NewSerializerWithOptions in place of json/yaml newSerializers.
condidering NewSerializer* funcs are deprecated with
NewSerializerWithOptions(), the test functions are adjusted to the same.

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-22 18:44:30 +05:30
huiwq1990
048938f1d8 hpa: cleanup currentReplicas code
Signed-off-by: huiwq1990 <huiwq1990@163.com>
2023-05-22 20:37:49 +08:00
Kubernetes Prow Robot
6356023cb4
Merge pull request #118171 from tklauser/ipam-remove-comments
registry/core/service: remove incorrect comments
2023-05-22 04:30:30 -07:00
Tobias Klauser
0f5535ea25
registry/core/service: remove incorrect comments
These interface methods are not only used for testing. Remove the
incorrect comments.
2023-05-22 12:35:43 +02:00
Kubernetes Prow Robot
b31774d39b
Merge pull request #118124 from humblec/kubeadm-etcd
test/e2e: remove redundunt type conversion, unused variable...etc
2023-05-22 01:08:22 -07:00
Kubernetes Prow Robot
3903a7e1f0
Merge pull request #118164 from pohly/scheduler_perf_results
scheduler-perf: inject "benchmark" as name into JSON result filename
2023-05-22 00:06:20 -07:00
champly
72f89b6375 kubelet: fix comment typo 2023-05-22 14:36:57 +08:00
Patrick Ohly
2db577a560 scheduler-perf: inject "benchmark" as name into JSON result filename
This is required because an empty name is no longer supported: the
perf-dashboard is run with --allow-parsers-matching-all-tests=false with causes
perfdash to skip current configuration for BenchmarkPerfResults as it does not
have name
set (4674704f45/perfdash/metrics-downloader.go (L165-L167)).

The perf-dash config needs to be updated accordingly.
2023-05-22 08:07:15 +02:00
Kubernetes Prow Robot
1dba84be8a
Merge pull request #118156 from HirazawaUi/update-webhook-test-to-go-1.21
Update webhook test code to golang 1.21
2023-05-21 09:52:19 -07:00
Devesh Goyal
0789bbe9f7
Update k8s.po
Fixed typo mistake
2023-05-21 19:33:33 +05:30
HirazawaUi
b6364dddfe update webhook test to go 1.21 2023-05-21 21:32:45 +08:00
Kubernetes Prow Robot
badcf9ab46
Merge pull request #118150 from neolit123/1.28-fix-pointer-comp-test
kubeadm: remove function pointer comparison in phase test
2023-05-20 23:10:18 -07:00
Kubernetes Prow Robot
c7c41d27b4
Merge pull request #117834 from NoicFank/cleanup-scheduler-node-must-not-nil-in-snapshot
cleanup useless null pointer check about nodeInfo.Node() from snapshot for in-tree plugins
2023-05-20 15:16:18 -07:00
Lubomir I. Ivanov
d8db9640fa kubeadm: remove function pointer comparison in phase test
TestBindToCommandArgRequirements has a .Pointer()
comparison that is not guaranteed to pass given
the reflected functions are closures.

This test is consistently failing on Go 1.21 rc1.
Remove said comparison from the test.
2023-05-20 23:03:45 +03:00
Eric Lin
2658a2b627 Make connection lost retryable in webhook
When a http2 connection dies due to ping timeout, http2 client gets an
error of "http2: client connection lost". This is similar to
ConnectionReset case so it should be retryable.

Signed-off-by: Eric Lin <exlin@google.com>
2023-05-20 19:02:55 +00:00
dingzhu lurong
ed26fcf5b8 cleanup useless null pointer check about nodeInfo.Node() from snapshot for in-tree plugins 2023-05-20 22:53:43 +08:00
Ike Ma
e21cf9a54e Setup e2e_node to support testing on ARM64
* Enable dockerized build with --use-dockerized-build=true
* Build and create test artifacts for ARM64 with --target-build-arch=arm64
* Prepull multi-arch ready container image
* Download ARM64 binaries/packages if running on ARM64 machine
2023-05-20 00:07:44 +00:00
Kubernetes Prow Robot
6d09ab86c2
Merge pull request #118093 from Icarus9913/fix/wk/apiserver
fix apiserver InstallAPIGroups slices out of range
2023-05-19 16:28:17 -07:00
Kubernetes Prow Robot
60e747896a
Merge pull request #118141 from dims/grab-logs-from-all-the-containers-when-DNS-related-tests-fail
Grab logs from all the containers when DNS related tests fail
2023-05-19 15:30:19 -07:00
Davanum Srinivas
ec8d94f205
Grab logs from all the containers when DNS related tests fail
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-05-19 17:23:13 -04:00
Shihang Zhang
182cd425d3 graduate LegacyServiceAccountTokenTracking to GA 2023-05-19 10:33:34 -07:00
Kubernetes Prow Robot
589d6f3886
Merge pull request #117630 from skitt/intstr-fromint32-cluster-lifecycle
Cluster lifecycle: use new intstr functions
2023-05-19 08:50:30 -07:00
Kubernetes Prow Robot
b9c7726046
Merge pull request #118033 from mimowo/job-controller-cleanup
Cleanup the Job controller handling of terminating pods
2023-05-19 06:50:30 -07:00
Marcel Zieba
337728b025
Improve backoff policy in reflector.
Before, we've used two separate backoff managers for List and Watch
calls, now they share single backoff manager.
2023-05-19 15:47:11 +02:00
Michal Wozniak
0fe27a06f9 Cleanup the Job controller handling of terminating pods 2023-05-19 09:52:08 +02:00
Humble Chirammal
c74790e266 remove redundunt type conversion, unused variable...etc
`Framework` variable has been removed from test/*
unwanted `[]byte` conversion has been removed
import alias has been avoided

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-05-19 11:16:11 +05:30
Kubernetes Prow Robot
15a1f9a39d
Merge pull request #117921 from kkkkun/clean-up-etcd-version
clean up unsupport etcd version
2023-05-18 20:30:28 -07:00
Icarus9913
07c9455360 fix apiserver InstallAPIGroups slices out of range
Signed-off-by: Icarus9913 <icaruswu66@qq.com>
2023-05-19 09:53:42 +08:00
Kubernetes Prow Robot
6aa4261405
Merge pull request #118119 from liggitt/grpc-gateway-v1
Mark grpc-gateway v1 as an unwanted dependency
2023-05-18 16:16:33 -07:00
Bogesz
12f8eeaf9b
fixed typo in get-kube.sh 2023-05-19 00:47:29 +02:00
Jordan Liggitt
aa11cc6969
Mark grpc-gateway v1 as an unwanted dependency 2023-05-18 17:41:13 -04:00
Kubernetes Prow Robot
b2a1855f2c
Merge pull request #118088 from danwinship/kube-proxy-belated-cleanup
belated cleanup of some kube-proxy stuff for old versions
2023-05-18 13:18:34 -07:00