Commit Graph

120549 Commits

Author SHA1 Message Date
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
58d023e178
Merge pull request #121894 from thockin/build_trimpath
build: use -trimpath in non-DBG mode
2023-12-29 04:38:51 +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
1b6b3ba013
Merge pull request #122346 from Jefftree/patcher-fix-openapigetter-nil
Make Patcher tolerant of OpenAPIGetter being nil
2023-12-27 22:01:30 +01: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
f55d18a1cf
Merge pull request #122470 from thockin/fix_openapi_chdir
Fix update-openapi-spec to not change caller CWD
2023-12-27 00:12:31 +01:00
Tim Hockin
e3686246ea
Fix update-openapi-spec to not change caller CWD 2023-12-25 13:59:10 -08:00
Kubernetes Prow Robot
735804dc81
Merge pull request #122477 from SataQiu/fix-20231225
kubeadm: print supported shell types in error message for 'kubeadm completion'
2023-12-25 17:21:58 +01:00
Kubernetes Prow Robot
a56093db9f
Merge pull request #121958 from neolit123/1.30-remove-kubelet-and-func
kubeadm: drop concurrency when waiting for kubelet /healthz
2023-12-25 15:52:25 +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
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