Commit Graph

124450 Commits

Author SHA1 Message Date
Lubomir I. Ivanov
40d185637c kubeadm: add UT for ClusterConfiguration.EncryptionAlgorithmType() 2024-06-11 12:39:24 +03:00
ZhangYu
190664f758 pkg/printers: drop deprecated pointer package
Signed-off-by: ZhangYu <zhang.yu61@zte.com.cn>
2024-06-11 17:14:15 +08:00
Lukasz Szaszkiewicz
0c96a00217 client-go/reflector: remove reflector_data_consistency_detector_test.go 2024-06-11 10:42:07 +02:00
Kubernetes Prow Robot
27bdade27f
Merge pull request #125432 from p0lyn0mial/upstream-watch-list-data-consistency-detector
client-go/consistencydetector: add CheckWatchListFromCacheDataConsistencyIfRequested
2024-06-11 01:22:25 -07:00
MinpengJin
bcd30b6998 Promote LogarithmicScaleDown to GA 2024-06-11 15:59:43 +08:00
Kensei Nakada
8392f7fbb0 remove unused NextPod() 2024-06-11 07:22:09 +00:00
Lukasz Szaszkiewicz
f6c68908ba client-go/reflector: use consistencydetector.IsDataConsistencyDetectionForWatchListEnabled 2024-06-11 09:17:14 +02:00
Lukasz Szaszkiewicz
f7f3809c51 client-go/consistencydetector: introduce CheckWatchListFromCacheDataConsistencyIfRequested 2024-06-11 09:17:10 +02:00
Sascha Grunert
ff95ae0d3c
Continue streaming kubelet logs when runtime is unavailable
Container runtimes are able to run existing containers even when their
main CRI server is not available for any reason. The call to the
container status RPC happens quite frequently during log parsing, means
that a single CRI interruption will also abort streaming the logs.

We now check that specific use case and continue following the log
streaming if the CRI is unavailable. We still abort the streaming
accordingly if the CRI comes back and the container status reports that
the workload has exited.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-06-11 09:10:02 +02:00
胡玮文
859bd02593 e2e: add TERM trap to pod sleep command
This should avoid the 30s delay caused by shell not responding to SIGTERM, and can only be killed by SIGKILL.

If the pod is deleted with the namespace during cleanup, this also makes cleanup faster, and frees up the resources for the next test cases faster.
2024-06-11 13:52:47 +08:00
Kubernetes Prow Robot
9d63e575f8
Merge pull request #124151 from ConnorJC3/add-vac-e2e
Add Happy Path VolumeAttributesClass CSI E2E Tests
2024-06-10 18:08:01 -07:00
Kubernetes Prow Robot
c49b140c45
Merge pull request #125175 from dejanzele/feat/count-terminating-for-failed-jobs
Count terminating pods when deleting active pods for failed jobs
2024-06-10 16:56:37 -07:00
Kubernetes Prow Robot
a7ca13ea29
Merge pull request #125363 from cpanato/update-go-images
[go] Bump images, dependencies and versions to go 1.22.4 and distroless iptables/setcap/debian-base
2024-06-10 15:07:47 -07:00
Ben Luddy
a246eb19e5
Decode CBOR time tags to interface{} as RFC 3339 timestamps. 2024-06-10 17:26:56 -04:00
Ben Luddy
2a31354e26
Reject NaN or infinite floating-point values in the CBOR serializer. 2024-06-10 16:49:16 -04:00
Kubernetes Prow Robot
6346b9d132
Merge pull request #125408 from benluddy/bump-cbor-v2.7.0
KEP-4222: Bump github.com/fxamacker/cbor/v2.
2024-06-10 13:36:40 -07:00
Connor Catlett
ea58abfd99
Add Happy Path VolumeAttributesClass CSI E2E Tests
Signed-off-by: Connor Catlett <conncatl@amazon.com>
2024-06-10 20:03:54 +00:00
Kubernetes Prow Robot
6e8e1f53b0
Merge pull request #125293 from sanposhiho/sched-perf-ds
scheduler_perf: measure the degradation of daemonset scheduling
2024-06-10 08:35:55 -07:00
Ben Luddy
b24defacc5
Allow decoding RFC 3339 CBOR strings to time.Time.
We had been relying on a bug in the library when it should have been rejected by default. That bug
has been fixed and a new option added to opt-in to the behavior we need.
2024-06-10 10:03:36 -04:00
Ben Luddy
c4279660ca
Bump fxamacker/cbor/v2 to v2.7.0-beta.
This library release makes a number of behaviors configurable in ways that are required for CBOR
support in Kubernetes.
2024-06-10 10:02:04 -04:00
Kubernetes Prow Robot
6ba9fa89fb
Merge pull request #125377 from wojtek-t/watchcache_resource_version_metric
Expose resource version metrics from watchcache
2024-06-10 03:31:29 -07:00
Kubernetes Prow Robot
b0263baae5
Merge pull request #125387 from TommyStarK/kubemark/remove-deprecated-otel-noop-tracer
kubemark: remove deprecated otel NewNoopTracerProvider
2024-06-10 02:10:16 -07:00
Itamar Holder
37d80518d2 skip swap stress tests if swap is not provisioned
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-06-10 10:05:17 +03:00
Kubernetes Prow Robot
d145bf0907
Merge pull request #125138 from AkihiroSuda/fix-125137
kubelet: fix `Turning off swap in unprivileged tmpfs mounts unsupported`
2024-06-09 19:43:11 -07:00
Kubernetes Prow Robot
e328c8fbf1
Merge pull request #125304 from p0lyn0mial/upstream-dynamic-client-uses-consistency-detector
dynamic-client: data consistency checker for list requests
2024-06-09 07:37:38 -07:00
Ayato Tokubi
53883e35c8 Fix E2E error message
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2024-06-09 00:36:04 +00:00
Quan Tian
9d71e5338d Remove unused sysctl parameter from nftables proxy
Signed-off-by: Quan Tian <quan.tian@broadcom.com>
2024-06-08 21:48:54 +08:00
Kubernetes Prow Robot
6b73cccb07
Merge pull request #125396 from Kavinraja-G/bugfix/inherit-cert-flags
Inherit certPhaseFlags when using SA key phase in Kubeadm
2024-06-08 01:21:17 -07:00
Kavin
dce2322933 Inherit certPhaseFlags for SA 2024-06-08 12:05:45 +05:30
Mauricio Poppe
2f26f088c9 Create NPD kubeconfig conditionally if the installation mode is standalone 2024-06-07 21:13:22 +00:00
Ed Bartosh
ee0340a828 e2e_node: add tests for 2 Kubelet plugins 2024-06-07 22:53:35 +03:00
Ed Bartosh
ce6faef8d8 e2e_node: change DRA test APIs to work with multiple plugins 2024-06-07 22:53:31 +03:00
Ed Bartosh
118158d8df e2e_node: DRA: test plugin failures 2024-06-07 22:51:53 +03:00
Ed Bartosh
c8c7ae85e5 e2e_node: DRA: add CountCalls API 2024-06-07 22:47:23 +03:00
Ed Bartosh
ffc407b4dd e2e_node: DRA: reimplement call blocking 2024-06-07 22:47:20 +03:00
Ed Bartosh
2ea2fb3166 e2e: test-driver: implement failure mode 2024-06-07 22:45:35 +03:00
Jiaming Xu
1d382e77e4 update container ubuntu sha256 2024-06-07 18:23:41 +00:00
TommyStarK
cce8551272
kube-apiserver: remove deprecated otel NewNoopTracerProvider
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2024-06-07 19:57:37 +02:00
TommyStarK
1dd17a8af7
kubemark: remove deprecated otel NewNoopTracerProvider
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2024-06-07 19:10:54 +02:00
Lubomir I. Ivanov
02ed1aee71 kubeadm: fix the generation of ECDSA keys in kubeconfig files
When the PublicKeysECDSA feature gate is used or the new
v1beta4.ClusterConfiguration.EncryptionAlgorithm field is used
with "ECDSA-P256" as value, make sure that this is reflected
in the "cert spec" used to generate private keys and they end
up as "EC keys".
2024-06-07 20:04:18 +03:00
Kubernetes Prow Robot
c6b5191c37
Merge pull request #122499 from mattcary/oref
Respect controllers on PVCs for retention policy
2024-06-07 09:33:04 -07:00
Joe Betz
f31afbbf8e Add marker struct test case 2024-06-07 11:11:24 -04:00
Kubernetes Prow Robot
51f89c3b2d
Merge pull request #125383 from p0lyn0mial/upstream-unstructured-testchecklistconsistency
client-go/consistencydetector: refactor TestCheckListFromCacheDataConsistencyIfRequestedInternalHappyPath to work with unstructured data
2024-06-07 07:50:55 -07:00
Lukasz Szaszkiewicz
79370c6d67 client-go/dynamic: use CheckListFromCacheDataConsistencyIfRequested 2024-06-07 16:10:13 +02:00
Lukasz Szaszkiewicz
a2a48a475b client-go/util/consistencydetector: extend TestCheckListFromCacheDataConsistencyIfRequestedInternalHappyPath to work with unstructured list 2024-06-07 15:47:41 +02:00
Lukasz Szaszkiewicz
c5904424b2 client-go/util/consistencydetector: refactor TestCheckListFromCacheDataConsistencyIfRequestedInternalHappyPath to work with unstructured data 2024-06-07 15:47:41 +02:00
Kubernetes Prow Robot
10d66ca416
Merge pull request #125381 from p0lyn0mial/upstream-add-support-for-list-inconsistency-detector-to-ci-jobs
cluster/gce: set KUBE_LIST_FROM_CACHE_INCONSISTENCY_DETECTOR when requested by a CI jobs
2024-06-07 06:25:49 -07:00
Kubernetes Prow Robot
96815d6dc8
Merge pull request #125379 from p0lyn0mial/upstream-unstructured-testdataconsistencychecker
client-go/consistencydetector: refactor TestDataConsistencyChecker to work with unstructured data
2024-06-07 06:25:43 -07:00
Kubernetes Prow Robot
169a952720
Merge pull request #125302 from karlkfi/karl-informer-watcher-test
Update TestNewInformerWatcher for WatchListClient
2024-06-07 04:52:20 -07:00
Lukasz Szaszkiewicz
c8971c456f client-go/consistencydetector: extend TestDataConsistencyChecker to test unstructured data 2024-06-07 13:20:56 +02:00