Kubernetes Prow Robot
692be54671
Merge pull request #122508 from carlory/fix-122337
...
remove wrong warning event (FileSystemResizeFailed) for pod
2024-01-04 14:42:49 +01:00
Kubernetes Prow Robot
a65dcd616e
Merge pull request #122086 from bzsuni/ga/ExpandedDNSConfig
...
Remove GA featuregate about ExpandedDNSConfig in 1.30
2024-01-04 14:42:42 +01:00
carlory
55e1646fa4
removed the deprecated azureFile in-tree storage plugin
2024-01-04 14:41:33 +08:00
Kubernetes Prow Robot
8609b8c22c
Merge pull request #119779 from sanposhiho/prefilterexec
...
run all PreFilter when the preemption will happen later in the same scheduling cycle
2024-01-03 16:16:09 +01:00
Kubernetes Prow Robot
c015565db3
Merge pull request #122449 from carlory/kep-3751-api-changes
...
ValidateVolumeAttributesClassUpdate also validates new vac object.
2024-01-03 10:29:48 +01:00
Kubernetes Prow Robot
1850794626
Merge pull request #122139 from bzsuni/ga/KubeletPodResources
...
Remove GA featuregate about KubeletPodResources in 1.30
2024-01-02 19:56:33 +01:00
Kubernetes Prow Robot
adc256ff04
Merge pull request #122409 from Rei1010/removeKubeletPodResourcesGetAllocatable
...
Remove GA feature gate LegacyServiceAccountTokenTracking in 1.30
2024-01-02 18:04:35 +01:00
Kensei Nakada
09abd6be5a
address reviews
2024-01-02 02:10:41 +00:00
Kensei Nakada
5ab2317947
run all PreFilter when the preemption will happen later in the same scheduling cycle
2024-01-01 09:44:06 +00:00
Kubernetes Prow Robot
3be9a8cc73
Merge pull request #122351 from sanposhiho/doc-update-for-add
...
doc: make it clear that how newly scheduled Pods are interpreted in cluster events
2023-12-31 08:04:43 +01:00
Kensei Nakada
e1e035e3a8
doc: make it clear that newly scheduled Pods are Pod/Add events
2023-12-31 05:58:12 +00:00
Kubernetes Prow Robot
63eb5028ba
Merge pull request #122339 from carlory/warnning-on-relaim-policy
...
warning on relaim policy when it is Recycle
2023-12-29 04:39:14 +01:00
Kubernetes Prow Robot
7a8aa1b533
Merge pull request #118391 from testwill/downwardapi
...
chore: io/ioutil deprecated
2023-12-29 00:52:25 +01:00
Kubernetes Prow Robot
5cf72fbfae
Merge pull request #121713 from carlory/adc
...
adc remove redundant check
2023-12-28 21:47:19 +01:00
carlory
5607349e39
remove wrong warning event (FileSystemResizeFailed) during a pod creation when it uses a readonly volume.
2023-12-28 17:49:02 +08:00
Kubernetes Prow Robot
afa3f114d6
Merge pull request #117024 from sanposhiho/nodeaffinity-pre-score-skip
...
feature(NodeAffinity): return Skip in PreScore when nothing to do in Score
2023-12-27 16:53:51 +01:00
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
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
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
carlory
f8f24cf8e7
ValidateVolumeAttributesClassUpdate also validates new vac
2023-12-22 15:52:04 +08:00
Kensei Nakada
041efcd1d4
scheduler: update an old comment
2023-12-22 02:01:13 +00: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
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
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
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
Patrick Ohly
b0d4a8cd6d
dra scheduler: fix incorrect tracking of claim candidates for reallocation
...
When dealing with unschedulable pods, the intent was to deallocate only claims
which are allocated and use delayed allocation. That if check wasn't handled
correctly, causing also claims with immediate allocation to be considered as
candidates.
Found during code reading, probably has never occurred in practice yet.
2023-12-20 09:04:01 +01:00
wen.rui
4a7592f8a4
Remove GA feature gate LegacyServiceAccountTokenTracking in 1.30
2023-12-20 13:41:10 +08:00
Kubernetes Prow Robot
0a54839370
Merge pull request #122387 from kerthcet/cleanup/change-error
...
More understandable error for scheduler configuration validation
2023-12-20 06:19:37 +01:00
kerthcet
1f3e668e18
Use semantic comparation for API
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-12-20 10:23:29 +08:00
Dan Winship
626f349fef
Drop PendingChanges methods from change trackers, move into UpdateResults
...
This fixes a race condition where the tracker could be updated in
between us calling .PendingChanges() and .Update().
2023-12-19 18:27:33 -05:00
Dan Winship
5d0656b1f6
Squash some unnecessarily-chained methods in the change trackers
...
ServicePortMap.Update() and EndpointsMap.Update() were just a tiny
wrappers around the corresponding apply() methods, which had no other
callers. So squash them together.
(Also fix the variable naming in ServicePortMap.Update() to match
other methods.)
2023-12-19 18:27:33 -05:00
Kubernetes Prow Robot
755b4e2bc4
Merge pull request #121576 from huww98/opti-aswp
...
ad controller: optimize populateActualStateOfWorld
2023-12-19 17:43:45 +01:00
kerthcet
538248df0d
More understandable error for scheduler configuration validation
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-12-19 19:13:30 +08:00
Kubernetes Prow Robot
b5ba7bc4f5
Merge pull request #122126 from liggitt/duplicate-warning
...
Update duplicate env var warning
2023-12-19 04:37:27 +01:00
Kubernetes Prow Robot
2b5c0c281d
Merge pull request #122310 from weilaaa/use_buildin_max_min_instead
...
use build-in max and min func to instead of k8s.io/utils/integer funcs
2023-12-18 19:25:34 +01:00
Kubernetes Prow Robot
d74705119d
Merge pull request #122334 from carlory/fix-118893-4
...
NodeUnschedulable: scheduler queueing hints
2023-12-18 18:13:52 +01:00
Kubernetes Prow Robot
9dc0dbe878
Merge pull request #122195 from nayihz/feat_queuinghints
...
podtopologyspread: scheduler queueing hints
2023-12-18 16:58:12 +01:00
Kubernetes Prow Robot
56d0da546a
Merge pull request #121950 from sanposhiho/doc-postfilter
...
fix(framework): elaborate the document on PostFilter
2023-12-18 16:57:49 +01:00
Jordan Liggitt
b6e34187ca
Update duplicate env var warning
2023-12-18 10:06:30 -05:00
Kensei Nakada
1d0453127d
feature(NodeAffinity): return Skip in PreScore when nothing to do in Score
2023-12-18 12:00:10 +00:00