Commit Graph

123081 Commits

Author SHA1 Message Date
Lubomir I. Ivanov
40d185637c kubeadm: add UT for ClusterConfiguration.EncryptionAlgorithmType() 2024-06-11 12:39:24 +03: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
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
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
Lukasz Szaszkiewicz
1aa6797b74 cluster/gce: set KUBE_LIST_FROM_CACHE_INCONSISTENCY_DETECTOR when requested by a CI jobs
When the KUBE_LIST_FROM_CACHE_INCONSISTENCY_DETECTOR environment variable was set
then clients (client-go, dynamic-client) perform a data consistency check
for requests that have a high chance of being served from the watch-cache.

The consistency check is meant to be enforced only in the CI, not in production.
The check ensures that data retrieved by a list api call from the watch-cache
is exactly the same as data received by the list api call from etcd.

Note that this function will panic when data inconsistency is detected.
 This is intentional because we want to catch it in the CI.

Note that the new env var is set in the same places
the ENABLE_CACHE_MUTATION_DETECTOR is set.
2024-06-07 13:08:30 +02:00
Kubernetes Prow Robot
cf4e4c049e
Merge pull request #125284 from bzsuni/update/dns/v1.23.1
Update kube-dns and nodelocaldns to 1.23.1
2024-06-07 03:44:01 -07:00
Lukasz Szaszkiewicz
d535f55ef9 client-go/consistencydetector: refactor TestDataConsistencyChecker to work with unstructured data 2024-06-07 10:59:18 +02:00
Kubernetes Prow Robot
3532601ad8
Merge pull request #124963 from p0lyn0mial/upstream-data-consistency-checker-for-list-requests
client-go: data consistency checker for list requests
2024-06-07 00:33:04 -07:00
Kubernetes Prow Robot
eef6c6082d
Merge pull request #124642 from wojtek-t/resilient_watchcache_initialization
Implement ResilientWatchCacheInitialization
2024-06-06 18:38:14 -07:00
Kubernetes Prow Robot
f057f2de1c
Merge pull request #124956 from TommyStarK/remove-deprecated-otel-noop-tracer
cmd/kubelet: remove deprecated otel NewNoopTracerProvider
2024-06-06 17:05:34 -07:00
Kubernetes Prow Robot
009a291573
Merge pull request #124677 from HirazawaUi/add-const-ContainerStatusUnknown
kubelet: Use constant replace same value variables of the ContainerStateTerminated Reason field
2024-06-06 17:05:23 -07:00
Kubernetes Prow Robot
cfd949e321
Merge pull request #124942 from AxeZhan/getFinishTimeFromContainers
[Sidecar Containers] Sidecar containers finish time needs to be accounted for in job controller
2024-06-06 12:23:05 -07:00
Kubernetes Prow Robot
c707c43466
Merge pull request #125365 from dims/remove-vestiges-of-providerless-tag
Remove vestiges of providerless tag
2024-06-06 10:19:56 -07:00
Davanum Srinivas
60fe406f67
remove vestiges of providerless tag
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-06-06 12:18:38 -04:00
Kubernetes Prow Robot
4e2a6201a4
Merge pull request #125356 from p0lyn0mial/upstream-improve-testdrivechecklistfromcache-test
improve TestDriveCheckListFromCacheDataConsistencyIfRequested
2024-06-06 09:16:38 -07:00
Kubernetes Prow Robot
e702c2e0b6
Merge pull request #124574 from zhangweikop/master
enable kubelet server to dynamically load tls certificate files
2024-06-06 09:16:29 -07:00
Wojciech Tyczyński
2854d84056 Fix ChangeCRD test 2024-06-06 15:59:03 +02:00
Kubernetes Prow Robot
c8a51aaffc
Merge pull request #125358 from saschagrunert/staging-readme
Add `k8s.io/cri-client` to `staging/README.md`
2024-06-06 06:27:22 -07:00
Sascha Grunert
c08e3aff65
Add k8s.io/cri-client to staging/README.md
The new repo was missing from the list, so now it has been added.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-06-06 13:23:09 +02:00
Lukasz Szaszkiewicz
448180db60 make update 2024-06-06 10:31:58 +02:00
Lukasz Szaszkiewicz
7c03e3774d client-gen: rework list and use CheckListFromCacheDataConsistencyIfRequested 2024-06-06 10:31:45 +02:00
Lukasz Szaszkiewicz
82794c4963 fix TestDriveCheckListFromCacheDataConsistencyIfRequested 2024-06-06 10:27:23 +02:00
AxeZhan
d97282052e check sidecar featuregate in getFinishedTime 2024-06-06 15:46:41 +08:00
Wei Zhang
af2b0bdb05 add test 2024-06-06 03:07:40 +00:00
Wei Zhang
1b303fe5da enable kubelet server to dynamically load tls certificate files 2024-06-06 03:07:16 +00:00
Wei Zhang
171882b33b add feature gate ReloadKubeletServerCertificateFile 2024-06-05 23:26:11 +00:00
Kubernetes Prow Robot
9e2075b3c8
Merge pull request #125189 from mimowo/improve-ready-comment
Improve the Job API comment for ready field
2024-06-05 11:37:07 -07:00
Kubernetes Prow Robot
d8b33e32b1
Merge pull request #125168 from kaisoz/jobreadypods-fg-removal
Remove the `JobReadyPods` feature flag
2024-06-05 11:36:58 -07:00
Kubernetes Prow Robot
a2911e06a7
Merge pull request #125078 from Jefftree/patch-1
Ignore sample-controller binary
2024-06-05 06:53:01 -07:00
Kubernetes Prow Robot
dae37c2164
Merge pull request #125335 from p0lyn0mial/upstream-consistency-decector-handles-legacy-case
client-go/consistencydetector: handles the watch cache legacy case
2024-06-05 05:37:20 -07:00
Lukasz Szaszkiewicz
fe8a2d222c client-go/consistencydetector: handles the watch cache legacy case 2024-06-05 11:56:28 +02:00
Kubernetes Prow Robot
e67f889edc
Merge pull request #125015 from aroradaman/proxy-localhost-nodeports-metric
Kube-Proxy: Track packets accepted on localhost nodeports
2024-06-04 18:49:11 -07:00
Kubernetes Prow Robot
1166d30e19
Merge pull request #125329 from aojea/logreconciler
Reduce noise on integration tests disabling kube-apiserver endpoints reconciler
2024-06-04 16:12:26 -07:00
Antonio Ojea
6552f2710f use default flags for apiserver on integration tests 2024-06-04 22:09:35 +00:00
Antonio Ojea
a1e43b420c define some default kube-apiserver flags for tests disabling unneded controllers 2024-06-04 22:09:35 +00:00
Kubernetes Prow Robot
a080057dab
Merge pull request #125154 from alvaroaleman/rename
Sample Controller: Use one variable for key throughout
2024-06-04 12:53:25 -07:00
Kubernetes Prow Robot
7e88a33c7b
Merge pull request #120396 from wangwei10061/master
Fix wrong annotations in defaults.go
2024-06-04 12:53:19 -07:00
Kubernetes Prow Robot
9c4181e234
Merge pull request #119786 from bzsuni/ut/pkg/kubelet/util
[UT] add ut for pkg/kubelet/util
2024-06-04 11:23:28 -07:00
Kubernetes Prow Robot
5d88b0e08f
Merge pull request #124381 from alexzielenski/cel/allOf-validation
apiextensions-apiserver: Support CEL and additionalProperties used inside `allOf`
2024-06-04 10:14:10 -07:00
Kubernetes Prow Robot
ae5543e4c8
Merge pull request #125303 from AxeZhan/evaluatedNodes
[Scheduler] Change back to original way of calculating EvaluatedNodes.
2024-06-04 06:33:13 -07:00
Kubernetes Prow Robot
e6d641651a
Merge pull request #124692 from linxiulei/watchlist_opt
cacher: apply key for initial events
2024-06-04 04:22:20 -07:00
Kubernetes Prow Robot
0122991a3c
Merge pull request #125294 from hbostan/master
Add a new workqueue to endpointslice controller for updating topology cache and checking node topology distribution.
2024-06-04 02:44:23 -07:00
Eric Lin
d9c6c8aa50 cacher: apply key for initial events
For case of SendInitialEvents, a buffer of objects is created. That
process takes a significant amount of memory and CPU when the resource
is of a large volume. Many objects may be not relevant when key is provided.
This commit applies key when composing the buffer for SendInitialEvents.

Signed-off-by: Eric Lin <exlin@google.com>
2024-06-04 09:20:10 +00:00
Wojciech Tyczyński
a8ef6e9f01 Implement ResilientWatchCacheInitialization 2024-06-04 10:36:46 +02:00
hbostan
db827e67fc Add a new workqueue to endpointslice controller for updating topology
cache and checking node topology distribution.
2024-06-04 08:33:32 +00:00