Commit Graph

120484 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e2a6ce713c
Merge pull request #122415 from pohly/dra-scheduler-deallocation-fix
dra scheduler: fix incorrect tracking of claim candidates for reallocation
2023-12-25 10:45:00 +01:00
SataQiu
41a508f538 kubeadm: print supported shell types in error message for 'kubeadm completion' 2023-12-25 17:28:34 +08:00
kerthcet
bd269e06ba feat: support annotation in nodewrapper
Signed-off-by: kerthcet <kerthcet@gmail.com>
2023-12-25 16:34:10 +08:00
Paco Xu
feb833f129
fix nil pointer dereference when EventedPLEG is enabled 2023-12-25 16:09:30 +08:00
Kubernetes Prow Robot
b9e0714722
Merge pull request #122356 from my-git9/ut-etcd-32
kubeadm: increase ut coverage for util/etcd
2023-12-25 06:25:07 +01:00
xin.li
430fd83454 kubeadm: increase ut coverage for util/etcd
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-12-25 11:14:05 +08:00
carlory
3b67181c93 remove GA featuregate RemoveSelfLink 2023-12-25 00:29:38 +08:00
Kubernetes Prow Robot
341052f4c7
Merge pull request #122458 from rjsadow/ginkgo-dryrun
Fix dry-run flag in go-runner and run_e2e.sh scripts
2023-12-23 13:00:45 +01:00
rjsadow
719844e196
Fix dry-run flag in go-runner and run_e2e.sh scripts
Signed-off-by: rjsadow <richard.j.sadowski@gmail.com>
2023-12-23 05:50:16 -05:00
Kubernetes Prow Robot
a2bd70da5e
Merge pull request #122440 from aauren/fix/make_ipvs_detection_override
Allow proxy-type override on e2e services test suite
2023-12-23 00:36:09 +01:00
Aaron U'Ren
d849c625ec
Remove kube-proxy proxy detection & increase timeout
Removes kube-proxy specific proxy type detection and globally increases
the timeout for session affinity testing so that it works for more
use-cases by default (noteably including IPVS)
2023-12-22 15:32:36 -06:00
Kubernetes Prow Robot
98601e2ec5
Merge pull request #122443 from sanposhiho/nit-comment
scheduler: update an old comment
2023-12-22 16:44:38 +01:00
Kubernetes Prow Robot
84d0b0506b
Merge pull request #122194 from aojea/e2enpd
Tag e2e NodeProblemDetector accordenly
2023-12-22 16:44:28 +01:00
Kubernetes Prow Robot
40c729c680
Merge pull request #122436 from pohly/log-warn-context
hack/tools: bump logtools to v0.8.0
2023-12-22 14:32:38 +01:00
Kubernetes Prow Robot
784c7cec63
Merge pull request #122050 from danwinship/proxy-change-tracker-cleanup-1
proxy service/endpoints change tracker cleanups
2023-12-22 14:32:28 +01:00
Antonio Ojea
86873d3335 NodeProblemDetector tags
Change-Id: I9b9848f468f9333b6169bdf5ffd850d762f639bb
2023-12-22 11:25:07 +00:00
Kubernetes Prow Robot
5104e65661
Merge pull request #122447 from ardaguclu/fix-debug-attach
Initialize default attach func regardless of the value of flag
2023-12-22 10:31:21 +01:00
carlory
f8f24cf8e7 ValidateVolumeAttributesClassUpdate also validates new vac 2023-12-22 15:52:04 +08:00
Arda Güçlü
acbbaddada Initialize default attach func regardless of the value of flag 2023-12-22 09:50:48 +03:00
Kubernetes Prow Robot
0f60241eae
Merge pull request #122441 from superbrothers/update-help-kubectl-delete-interactive
Update the help mesage of interactive flag in kubectl delete
2023-12-22 06:25:48 +01:00
Kensei Nakada
041efcd1d4 scheduler: update an old comment 2023-12-22 02:01:13 +00:00
Kubernetes Prow Robot
c8c845ae08
Merge pull request #122435 from aleksandra-malinowska/scheduler-first-fit-3
Scheduler first fit
2023-12-21 18:24:04 +01:00
Dan Winship
1c089afcf3 Fix a set type 2023-12-21 09:44:08 -05:00
Dan Winship
147114e648 Update some change tracker doc comments
In particular, fix the description of ServiceChangeTracker.Update's
return value, and point out that it's different from
EndpointsChangeTracker.EndpointSliceUpdate's (though fortunately, in a
way that doesn't matter for any existing code).
2023-12-21 09:44:08 -05:00
Dan Winship
a8a12be3d3 Rename cache's endpointSliceInfo/endpointInfo to endpointSliceData/endpointData
EndpointSliceCache was using the name "endpointInfo" to refer to two
different data types (most egregiously in addEndpoints(), which had a
variable named `endpoint` of type `*endpointInfo` and a variable named
`endpointInfo` of type `Endpoint`).

Continue using "endpointInfo" in places that refer to proxy.Endpoint /
BaseEndpointInfo, since that's consistent with other code, but rename
the local "cache of the Endpoints field of an EndpointSlice" type from
"endpointInfo" to "endpointData". Likewise, rename endpointSliceInfo
to endpointSliceData, for consistency.
2023-12-21 09:44:08 -05:00
Dan Winship
764cb0457f Move some code around in servicechangetracker.go/endpointschangetracker.go
Put the ServiceChangeTracker and EndpointsChangeTracker definitions at
the top of the files, and put the ServicePortMap and EndpointsMap
definitions before their methods.

(No code changes.)
2023-12-21 09:44:04 -05:00
Dan Winship
a73b275031 Split ServicePort/Endpoint from ServiceChangeTracker/EndpointsChangeTracker
Move the ServicePort/BaseServicePortInfo types to serviceport.go.
Move the Endpoint/BaseEndpointInfo types to endpoint.go.

To avoid confusion with the new filenames, rename service.go to
servicechangetracker.go and endpoints.go to endpointschangetracker.go.

(No code changes; this just moves some code from types.go and
services.go to serviceport.go, and some code from types.go and
endpoints.go to endpoint.go.)
2023-12-21 09:38:25 -05:00
Dan Winship
ede0dc1d07 Make newBaseServiceInfo a function rather than a method
(in preparation for moving it)
2023-12-21 09:38:25 -05:00
Dan Winship
0779042a6f Remove a useless "_" assignment to appease the linter
(This would become an error rather than a warning once we try to move
this code to another file.)

Also rename an "ok" variable to "exists" since that what it really
means.
2023-12-21 09:38:24 -05:00
Dan Winship
452fcc5fd6 Remove some dead code in service.go
ServicePortMap.merge had a giant comment explaining its return value,
but nothing ever used that return value.

ServicePort had an InternalTrafficPolicy() method, but nothing used it
(because it was redundant with InternalPolicyLocal().)
2023-12-21 09:38:24 -05:00
Patrick Ohly
51f3b705c6 hack/tools: bump logtools to v0.8.0
This adds support for marking functions and methods as "don't use in code which
supports contextual logging".
2023-12-21 15:12:40 +01:00
Kubernetes Prow Robot
bfcf8d3966
Merge pull request #122434 from pohly/dra-e2e-per-node-resources
dra e2e: unify per-node resource specification
2023-12-21 15:03:49 +01:00
Kubernetes Prow Robot
d5c6efa39e
Merge pull request #122423 from neolit123/1.30-add-test-for-hostaliases-with-hostnetwork
test/e2e: add kubelet test for hostAliases with hostNetwork=true
2023-12-21 13:50:55 +01:00
Kazuki Suda
90e68e3a02
Update the help mesage of interactive flag in kubectl delete 2023-12-21 21:46:31 +09:00
Aleksandra Malinowska
f89c744b7b Only run Prioritize() for extenders with prioritizeVerb configured 2023-12-21 13:42:27 +01:00
Aleksandra Malinowska
cd3f7a31e8 Add unit tests for no score plugin scenario 2023-12-21 13:42:21 +01:00
Aleksandra Malinowska
7abba24231 Fix existing unit test (add no op scoring plugin) 2023-12-21 13:30:01 +01:00
Aleksandra Malinowska
e19be41f58 Don't evaluate extra nodes if there's no score plugin defined 2023-12-21 13:29:46 +01:00
Patrick Ohly
4ede571f8b dra e2e: unify per-node resource specification
When using a builder pattern for the actual callback, some common
code can be moved into a single function.
2023-12-21 12:43:28 +01:00
Lubomir I. Ivanov
bc83cea0eb test/e2e: add kubelet test for hostAliases with hostNetwork=true
Support for this was added in 1.8 by PR 50646 but there
is no e2e test.
2023-12-21 13:41:19 +02:00
Kubernetes Prow Robot
0cabb55f7c
Merge pull request #122315 from fazledyn-or/Fix_Inappropriate_Logic
Fixed Inappropriate Logical Expression
2023-12-21 10:31:20 +01:00
Kubernetes Prow Robot
6eeb48cd7f
Merge pull request #122401 from jongwooo/hotfix/correct-typo-from-gingko-to-ginkgo
Correct typo from 'gingko' to 'ginkgo'
2023-12-21 06:42:10 +01:00
Kubernetes Prow Robot
0d530551bc
Merge pull request #122393 from mzaian/etcd-3511
etcd: Update to version 3.5.11
2023-12-21 06:41:55 +01:00
Kubernetes Prow Robot
c6f4ff6df8
Merge pull request #122385 from SataQiu/fix-global-flag-20231219
kubeadm: hide unwanted global klog flags
2023-12-21 05:30:53 +01:00
fazledyn-or
d317b01244 Fixed Inappropriate Logical Expression
The length of `finalInterceptors` will always be a
non-zero value. In that case, the comparison will
always return a True value, making the comparison
meaningless.

Signed-off-by: fazledyn-or <ataf@openrefactory.com>
2023-12-21 09:44:20 +06:00
Kubernetes Prow Robot
247ea2046d
Merge pull request #122204 from danwinship/proxy-pending-changes
Fix race condition in iptables partial sync handling
2023-12-20 19:22:17 +01:00
Kubernetes Prow Robot
8a4403a9e5
Merge pull request #122412 from MadhavJivrajani/bump-go-tools
[go1.22] .*: bump golang.org/x/tools to v0.16.1
2023-12-20 18:07:30 +01:00
Kubernetes Prow Robot
f68a965e5a
Merge pull request #122032 from carlory/remove-fg-APISelfSubjectReview
remove feature-gate APISelfSubjectReview in 1.30
2023-12-20 16:46:53 +01:00
Kubernetes Release Robot
4658f76945 CHANGELOG: Update directory for v1.26.12 release 2023-12-20 13:26:54 +00:00
Kubernetes Release Robot
c0e9fddfd9 CHANGELOG: Update directory for v1.28.5 release 2023-12-20 13:23:33 +00:00