Commit Graph

120746 Commits

Author SHA1 Message Date
ahmad.zo
9d4997ea69 change the extractEnum function to add limit, intent and add tests for new behaviours 2024-01-31 13:54:53 +03:30
ahmad.zo
0283498ab4 fix gofmt error 2024-01-30 11:23:41 +03:30
ahmad.zo
0c7281624e change style of enums 2024-01-30 10:01:12 +03:30
ah8ad3
c222db1429 fixes kubectl explain to shows enum for field types if they were defined 2024-01-29 19:51:35 +03:30
ah8ad3
2216361c59 fixes kubectl explain to shows enum for field types if they were defined 2024-01-29 19:27:27 +03:30
Kubernetes Prow Robot
bb3030bf0e
Merge pull request #121995 from carlory/fix-getDeviceNameFromMount
fix incorrect getDeviceNameFromMount comment
2024-01-29 05:40:53 -08:00
Kubernetes Prow Robot
9e34bac02a
Merge pull request #119395 from carlory/patch-expand-001
getPersistentVolume remove reduant deep copy
2024-01-29 05:40:40 -08:00
Kubernetes Prow Robot
0e945e5cec
Merge pull request #123020 from pacoxu/dup-blanks
[nit]kubeadm: remove extra space in log
2024-01-29 02:01:26 -08:00
Paco Xu
8bc63027d9 remove extra space in log 2024-01-29 16:34:44 +08:00
Kubernetes Prow Robot
eb0fcf9e21
Merge pull request #123007 from sanposhiho/correct-doc
fix(scheduler/metrics) correct the documentation on `plugin_evaluation_total`
2024-01-28 20:36:01 -08:00
Kubernetes Prow Robot
27ad20db35
Merge pull request #123005 from danwinship/minor-proxy-cleanup
Minor proxy cleanup
2024-01-28 08:44:38 -08:00
Dan Winship
da05076868 Reorganize a bit of winkernel proxier setup
Rather than doing winkernel-specific parsing of generic config data in
cmd/kube-proxy, do it in pkg/proxy/winkernel.
2024-01-28 09:30:51 -05:00
Dan Winship
33bd5fb3c4 Remove unused param to winkernel proxier
The winkernel code was originally based on the iptables code but never
made use of some parts of it. (e.g., it logs a warning if you didn't
set `--cluster-cidr`, even though it doesn't actually use
`--cluster-cidr` if you do set it.)
2024-01-28 09:30:51 -05:00
Kensei Nakada
a62579a5eb fix(scheduler/metrics) correct the documentation on plugin_evaluation_total 2024-01-28 02:59:17 +00:00
Kubernetes Prow Robot
c606448922
Merge pull request #122996 from Huang-Wei/cleanup-dra-postfilter
DRA: always returns Unschedulable in PostFilter
2024-01-27 08:19:44 -08:00
Kubernetes Prow Robot
7abf6770fd
Merge pull request #122147 from pohly/kubelet-context-support
kubelet: enhance context support
2024-01-27 05:16:17 -08:00
Kubernetes Prow Robot
2363cdcc39
Merge pull request #122886 from jiahuif-forks/feature/cel/mutating-library
[CEL Library] Unstructured Object Construction Support
2024-01-26 22:33:11 +01:00
Kubernetes Prow Robot
02aaad0de9
Merge pull request #121876 from pohly/dra-reserve-during-pod-binding
dra: reserve + publish during pod binding
2024-01-26 19:58:01 +01:00
Wei Huang
ceabc4aba8
DRA: always returns Unschedulable in PostFilter 2024-01-26 09:44:00 -08:00
Kubernetes Prow Robot
7811ba3d4d
Merge pull request #122872 from tnqn/fix-ClusterIPOutOfRange-warning
Reduce verbose logs in MetaAllocator
2024-01-26 17:53:16 +01:00
Kubernetes Prow Robot
c4feb19195
Merge pull request #122878 from liggitt/typecheck-kube-proxy-darwin
Re-allow building kube-proxy on all platforms
2024-01-26 16:32:12 +01:00
Kubernetes Prow Robot
053acbed90
Merge pull request #122724 from nayihz/feat_nft_nodeport_addr
change --nodeport-addresses behavior to default to primary node ip only
2024-01-26 16:32:03 +01:00
Patrick Ohly
6cf4203751 dra scheduler: reformat code
By continuing with the next item in the if clause, the else is no longer needed
and indention can be reduced.
2024-01-26 10:58:03 +01:00
Patrick Ohly
a809a6353b scheduler: publish PodSchedulingContext during PreBind
Blocking API calls during a scheduling cycle like the DRA plugin is doing slow
down overall scheduling, i.e. also affecting pods which don't use DRA.

It is easy to move the blocking calls into a goroutine while the scheduling
cycle ends with "pod unschedulable". The hard part is handling an error when
those API calls then fail in the background. There is a solution for that
(see https://github.com/kubernetes/kubernetes/pull/120963), but it's complex.

Instead, publishing the modified PodSchedulingContext can also be done
later. In the more common case of a pod which is ready for binding except for
its claims, that'll be in PreBind, which runs in a separate goroutine already.

In the less common case that a pod cannot be scheduled, that'll be in
Unreserve which is still blocking.
2024-01-26 10:58:03 +01:00
Patrick Ohly
5d1509126f dra: patch ReservedFor during PreBind
This moves adding a pod to ReservedFor out of the main scheduling cycle into
PreBind. There it is done concurrently in different goroutines. For claims
which were specifically allocated for a pod (the most common case), that
usually makes no difference because the claim is already reserved.

It starts to matter when that pod then cannot be scheduled for other reasons,
because then the claim gets unreserved to allow deallocating it. It also
matters for claims that are created separately and then get used multiple times
by different pods.

Because multiple pods might get added to the same claim rapidly independently
from each other, it makes sense to do all claim status updates via patching:
then it is no longer necessary to have an up-to-date copy of the claim because
the patch operation will succeed if (and only if) the patched claim is valid.

Server-side-apply cannot be used for this because a client always has to send
the full list of all entries that it wants to be set, i.e. it cannot add one
entry unless it knows the full list.
2024-01-26 10:58:03 +01:00
Kubernetes Prow Robot
7340ce932b
Merge pull request #122978 from SataQiu/fix-20240126
kubeadm: fix the error check bug in certlist test
2024-01-26 10:10:00 +01:00
Kubernetes Prow Robot
e023511deb
Merge pull request #122920 from danwinship/knftables-migration
Update knftables, with new sigs.k8s.io module name
2024-01-26 07:14:16 +01:00
Kubernetes Prow Robot
3c0816c33d
Merge pull request #122949 from rashansmith/update-1.30-rn.team
Update CHANGELOG OWNERS to reflect 1.30 Release Notes team
2024-01-26 05:34:40 +01:00
Jordan Liggitt
6a60a1ddad
Mark conntrack/fake as linux-only, add non-OS doc.go 2024-01-25 23:15:49 -05:00
Kubernetes Prow Robot
e327eb3295
Merge pull request #122901 from pacoxu/fix-kubeadm-existing-crb-2
kubeadm: don't fail post upgrade for already existing error
2024-01-26 04:25:40 +01:00
SataQiu
5ab9f3d15f kubeadm: fix the err check bug in certlist test 2024-01-26 11:01:03 +08:00
Kubernetes Prow Robot
d3479eeeac
Merge pull request #122941 from bart0sh/PR130-cleanup-boilerplate_test
Fix and cleanup boilerplate_test.py
2024-01-26 00:56:35 +01:00
Kubernetes Prow Robot
3da22db11c
Merge pull request #121499 from matte21/add-comments-to-cpu-accumulator
Improve understandability of kubelet's cpu accumulator code
2024-01-26 00:56:21 +01:00
Dan Winship
ebba2d4472 Move some code in the proxiers
For no real reason, the core Proxier definitions weren't at the start
of the files.

(This just moves code around. It doesn't change anything.)
2024-01-25 18:41:58 -05:00
Dan Winship
536364266c Sort messy kube-proxy imports 2024-01-25 18:41:55 -05:00
Jiahui Feng
c89dcf52b1 convert the expectedValues to be cel.Val. 2024-01-25 13:52:39 -08:00
Jiahui Feng
d699163802 extra case for affirmative has(map) test. 2024-01-25 13:39:16 -08:00
Kubernetes Prow Robot
5cef5f1a57
Merge pull request #122973 from dims/missed-a-spot-testing-verify-licenses.sh
Missed a spot! testing verify-licenses.sh
2024-01-25 22:33:35 +01:00
Davanum Srinivas
139c6daf30
Missed a spot! testing verify-licenses.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-01-25 15:26:43 -05:00
Kubernetes Prow Robot
f7f1ea6fa2
Merge pull request #122750 from Richabanker/metrics-slis-test
Add process_start_time_seconds to metrics/slis endpoint for all components
2024-01-25 19:51:03 +01:00
Kubernetes Prow Robot
6c493a1ef9
Merge pull request #122969 from kerthcet/fix/claim
[DRA] Fix indexing the error value in unavailableClaim
2024-01-25 17:34:11 +01:00
kerthcet
7801173f6e get the error claim in dra
Signed-off-by: kerthcet <kerthcet@gmail.com>
2024-01-25 23:22:50 +08:00
Kubernetes Prow Robot
6892e38362
Merge pull request #122963 from SataQiu/fix-20240125
Enable testing import check for kubeadm binary
2024-01-25 16:01:52 +01:00
Kubernetes Prow Robot
192e53590e
Merge pull request #122956 from dims/fix-license-verification-script
Fix license verification script
2024-01-25 16:01:45 +01:00
Kubernetes Prow Robot
c156f4c4b4
Merge pull request #122616 from neolit123/1.30-v1beta4-image-pull-serial
kubeadm: add support for parallel image pulls in v1beta4
2024-01-25 16:01:38 +01:00
Kubernetes Prow Robot
7944ebe481
Merge pull request #122827 from rexagod/add-rex
sig-instrumentation: add rexagod to other groups
2024-01-25 14:13:24 +01:00
Davanum Srinivas
89db64e053
collect generated files and logs
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-01-25 07:23:31 -05:00
SataQiu
39afee443f enable testing import check for kubeadm binary 2024-01-25 19:56:42 +08:00
Paco Xu
ec1516b45d kubeadm: don't fail post upgrade in EnsureAdminClusterRoleBindingImpl if the error is crb already exists 2024-01-25 18:15:29 +08:00
Kubernetes Prow Robot
4163ce5017
Merge pull request #119200 from eiffel-fl/francis/sysadmin-debug-profile
kubectl debug: add sysadmin profile
2024-01-25 10:12:39 +01:00