Commit Graph

124484 Commits

Author SHA1 Message Date
googs1025
529d13c746 refactor: kubelet preemption TestEvictPodsToFreeRequests() method 2024-08-13 08:41:07 +08:00
Wei Huang
f6a11da279
fix a scheduler preemption issue that victim is not patched properly 2024-08-12 15:25:10 -07:00
Peter Hunt
41e6162cc0 e2e/storage: update block device test to always specify a valid path
in the isEphemeral case, the pvcBlock doesn't have a filled in name, which means the DevicePath is "/mnt".

When using the OCI runtime runc, this is valid because runc sanitizes the path, mounting it in `/mnt` in the container.
However, the OCI runtime crun does not do this.

One can argue the validity of passing a path structured like a directory as a block device, but ultimately from what I can see
this wasn't intentional.

As such, fix it by setting the mount to be based on the first Volume name, which both cases should have filled out.

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-08-12 12:36:11 -04:00
Kubernetes Prow Robot
099a88370d
Merge pull request #126638 from soltysh/fix_wait
wait: don't lowercase condition in --for argument
2024-08-12 09:10:55 -07:00
Maciej Szulik
fad6c424ac
wait: don't lowercase condition in --for argument 2024-08-12 16:59:17 +02:00
Paco Xu
85c3c67094 fix a typo in kubeadm v1beta4 doc 2024-08-12 15:12:20 +08:00
xin.li
42e8446d7e kubeadm: increase ut coverage for util/version
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-08-09 09:23:10 +08:00
Hung Nguyen
eb16aa1d4a improve PVC Protection Controller's processing mechanism with sample performance test 2024-08-08 16:57:55 +00:00
Sascha Grunert
d850fb6756
kubeadm: don't warn if crictl binary does not exist
kubeadm does not rely on `crictl` any more, so we can now drop the
warning in 1.32 as outlined in:

https://github.com/kubernetes/kubeadm/issues/3064

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-08-08 15:28:31 +02:00
Adarsh-verma-14
838d7c9049 remove duplicate call for ServeMux 2024-08-07 02:56:49 +05:30
Antonio Ojea
5845492cb4 hostNetwork pods mount /etc/hosts without network
hostNetwork pods mount the /etc/hosts from the root namespaces, hence
does not depend on PodIPs to be populated to mount the /etc/hosts file
and add the argumentes specified in the Pod.Spec like hostAliases.
2024-08-06 16:56:57 +00:00
Will Daly
d59687c367 kube-proxy: initialization wait for node and serviceCIDR synced
Follow-on from https://github.com/kubernetes/kubernetes/pull/126532
to wait for pre-sync events delivered for the remaining two informers
in kube-proxy (node and serviceCIDR).
2024-08-06 09:01:42 -07:00
Kubernetes Release Robot
60c4c2b252 CHANGELOG: Update directory for v1.31.0-rc.1 release 2024-08-06 06:14:49 +00:00
Sergey Kanzhelev
5c5b86accc adding SergeyKanzhelev as SIG Node approver 2024-08-05 20:11:33 +00:00
杨军10092085
56bbae4807 Updated incorrect description of persistentVolumeClaimRetentionPolicy 2024-08-05 21:30:25 +08:00
SataQiu
506d5c8966 kubeadm: add a validation warning when the certificateValidityPeriod is more than the caCertificateValidityPeriod 2024-08-05 16:15:24 +08:00
googs1025
6427243676 use logger instead of new klog.FromContext(ctx) 2024-08-04 21:09:02 +08:00
Kubernetes Prow Robot
00236ae0d7
Merge pull request #126519 from dims/bjhaid-bjhaid-topology-verbosity-take-2
[kube-proxy] add log verbosity to endpoint topology hint loop - Take 2
2024-08-03 16:54:37 -07:00
Will Daly
5bd6cbba33 kube-proxy: initialization wait for service and endpoint handlers synced
Ensure kube-proxy waits for the services/endpointslices informer
caches to be synced *and* all pre-sync events delivered before
setting isInitialized=true. Otherwise, in clusters with many services,
some services may be missing from svcPortMap when kube-proxy starts
(e.g. during daemonset rollout). This can cause kube-proxy to temporarily
remove service DNAT rules and then skip cleanup of UDP conntrack entries
to a service VIP.

Resolves: https://github.com/kubernetes/kubernetes/issues/126468
2024-08-03 13:01:29 -07:00
Davanum Srinivas
4fc6d8daf5
[kube-proxy] add log verbosity to endpoint topology hint loop - Take 2
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-08-02 22:28:51 -04:00
Drew Sirenko
726734b0b0 Fix broken A/D Controller metrics test 2024-08-01 17:52:33 -04:00
Siyuan Zhang
35488ef5c7 Verify: add static analysis to verify new feature gates are added as versioned feature specs.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-08-01 13:52:32 -07:00
Kubernetes Prow Robot
dbc2b0a5c7
Merge pull request #126383 from Shubham82/correct_comment_for_StableLoadBalancerNodeSet
Update the Comment for StableLoadBalancerNodeSet Feature Gate.
2024-08-01 07:20:02 -07:00
Benjamin Elder
b33ef18bdf update coredns/corefile-migration to v1.0.23 to support coredns v1.11.3 2024-07-31 13:36:01 -07:00
Kubernetes Prow Robot
f8d5b2074c
Merge pull request #126489 from mehabhalodiya/bump-publishing-131
releng: update publishing bot rules for 1.31
2024-07-31 13:32:20 -07:00
Kubernetes Prow Robot
c19d9edfde
Merge pull request #126329 from serathius/concurrent-transformation-chan-of-chan
[chan of chan] Make object transformation concurrent to remove watch cache scalability issue for conversion webhook
2024-07-31 10:41:42 -07:00
mehabhalodiya
017d7b8387 releng: update publishing bot rules for 1.31
Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>
2024-07-31 22:40:42 +05:30
Marek Siarkowicz
bb686f2033 Make object transformation concurrent to remove watch cache scalability issue for conversion webhook
Test by enabling consistent list from cache in storage version migrator stress test that uses
conversion webhook that bottlenects events comming to watch cache.

Set concurrency to 10, based on maximum/average transform latency when
running stress test. In my testing max was about 60-100ms, while average
was 6-10ms.
2024-07-31 18:30:46 +02:00
Marek Siarkowicz
93a10a7569 Introduce ConcurrentWatchObjectDecode feature gate disabled by default 2024-07-31 18:30:45 +02:00
Lionel Jouin
4532d90068 DRA: Fix ResourceClaimTemplateSpec comment
ObjectMeta for the ResourceClaimTemplateSpec are copied into
ResourceClaim not PVC.

Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2024-07-31 17:53:47 +02:00
Kubernetes Prow Robot
eb729d1db7
Merge pull request #126469 from serathius/beta2
Move ConsistentListFromCache to Beta default again
2024-07-31 08:35:47 -07:00
Kubernetes Release Robot
9413cf204a CHANGELOG: Update directory for v1.31.0-rc.0 release 2024-07-31 10:16:15 +00:00
Patrick Ohly
d71d59b91e scheduler: document behavior of Error status returned by Filter
This behavior was useful for https://github.com/kubernetes/kubernetes/pull/125488 but
wasn't obvious when reading the documentation.
2024-07-31 08:55:46 +02:00
Kubernetes Prow Robot
2a1d4172e2
Merge pull request #126448 from BenTheElder/5k-mirror
kube-up.sh: drop unnecessary legacy mirror config, enable injecting registry mirror
2024-07-30 20:44:06 -07:00
Kubernetes Prow Robot
f9d2297298
Merge pull request #126470 from benluddy/apiservingwithroutine-alpha-disabled
Move APIServingWithRoutine to alpha and disabled by default.
2024-07-30 19:35:11 -07:00
xyz-li
e38b7dcaf7 integration/api: check field items in empty List
Signed-off-by: xyz-li <hui0787411@163.com>
2024-07-31 08:49:57 +08:00
Benjamin Elder
d0ced54c8a kube-up.sh: drop unnecessary legacy mirror config, enable injecting registry.k8s.io mirror 2024-07-30 17:30:33 -07:00
Marek Siarkowicz
2ca56aab87 Move ConsistentListFromCache to Beta default again
This reverts commit aeb51a16e3.
2024-07-30 22:49:47 +02:00
Kubernetes Prow Robot
974f3d3d8f
Merge pull request #126467 from serathius/fallback
Implement fallback for consistent reads from cache
2024-07-30 13:33:59 -07:00
Ben Luddy
c838004084
Move APIServingWithRoutine to alpha and disabled by default. 2024-07-30 16:33:31 -04:00
Marek Siarkowicz
35962561e4 Implement fallback for consistent reads from cache 2024-07-30 21:26:31 +02:00
Kubernetes Prow Robot
0fc1671031
Merge pull request #126446 from Jefftree/fix-leaderelection-flake-testcontroller
Use fake clock for controller/leaderelection:TestController
2024-07-30 02:16:01 -07:00
Dr. Stefan Schimanski
634c9cd135
Address comments
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-07-30 09:45:52 +02:00
Kubernetes Prow Robot
17d7d28620
Merge pull request #126431 from pacoxu/device-plugin-falures-pod-status
skip if ResourceHealthStatus is disabled
2024-07-29 19:22:55 -07:00
Anish Ramasekar
d8d0bbff2d
Run apiserver/oidc integration tests in parallel
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-07-29 16:58:47 -07:00
Kubernetes Prow Robot
b5b21717ca
Merge pull request #126427 from pacoxu/fix-TestUpdateAllocatedResourcesStatus
ignore order of containers status allocated resources
2024-07-29 15:54:07 -07:00
Benjamin Elder
8b69990643 kubeadm: bump coredns to 1.11.3 2024-07-29 13:43:04 -07:00
Benjamin Elder
5b8390956b kube-up.sh: bump coreDNS to 1.11.3 2024-07-29 13:42:58 -07:00
Jefftree
d092513685 Use fake clock for controller/leaderelection:TestController 2024-07-29 19:36:53 +00:00
Ed Bartosh
c5842ca4ad DRA: e2e_node: improve readability 2024-07-29 21:57:44 +03:00