Commit Graph

48967 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
b529e6ff1c
Merge pull request #122622 from nayihz/cleanup_comment
swap originalPod and modifiedPod to match the comments
2024-01-06 14:20:50 +01:00
nayihz
edff1c3b2f swap originalPod and modifiedPod to match the comments. 2024-01-06 19:07:18 +08:00
Kubernetes Prow Robot
d4678c79e7
Merge pull request #122600 from lzhecheng/credentialprovider-plugin-use-error-is
Use errors.Is() to handle err returned by LookPath()
2024-01-05 20:22:48 +01:00
Kubernetes Prow Robot
d39f401767
Merge pull request #122090 from carlory/remove-intree-vsphere
remove the deprecated in-tree vsphere volume's code
2024-01-05 16:52:22 +01:00
Kubernetes Prow Robot
d250588077
Merge pull request #121825 from carlory/clean-113
remove duplicated check in operator_generator.go
2024-01-05 16:52:13 +01:00
Zhecheng Li
af6e653f17 Use errors.Is() to handle err returned by LookPath()
Signed-off-by: Zhecheng Li <zhechengli@microsoft.com>
2024-01-05 05:07:28 +00:00
Kubernetes Prow Robot
09a5049ca7
Merge pull request #122570 from bzsuni/ut/networking/servicecidr
KEP-1880 Add ut for pkg/registry/networking/servicecidr
2024-01-04 22:03:32 +01:00
Kubernetes Prow Robot
6427e2c9c8
Merge pull request #122578 from carlory/lock-default-ConsistentHTTPGetHandlers
lock GA feature-gate ConsistentHTTPGetHandlers to default
2024-01-04 18:00:52 +01:00
Kubernetes Prow Robot
0babde6bac
Merge pull request #122475 from pacoxu/patch-9
fix nil pointer dereference when EventedPLEG is enabled
2024-01-04 18:00:43 +01:00
Kubernetes Prow Robot
c0dc42073d
Merge pull request #122373 from danwinship/linux-proxy
Properly build-tag the Linux kube-proxy backend code
2024-01-04 18:00:34 +01:00
Kubernetes Prow Robot
a21487f78b
Merge pull request #122138 from ii2day/ga/remove_KubeletPodResourcesGetAllocatable
Remove GA featuregate about KubeletPodResourcesGetAllocatable in 1.30
2024-01-04 17:59:57 +01:00
Kubernetes Prow Robot
744b2db652
Merge pull request #122135 from Rei1010/sidecarContainerToBeta
Add SidecarContainers feature beta version
2024-01-04 17:59:48 +01:00
Kubernetes Prow Robot
2b1ccec47e
Merge pull request #122087 from fatsheep9146/fix-kubelet-trace-broke
fix kubelet trace broke in 1.28
2024-01-04 17:59:39 +01:00
Kubernetes Prow Robot
e1576c8e43
Merge pull request #121924 from saschagrunert/leaky
Remove `leaky` package and move `PodInfraContainerName` to staging
2024-01-04 17:59:30 +01:00
Kubernetes Prow Robot
c96d7a5b5a
Merge pull request #121774 from charles-chenzz/increase_timeout_in_dra_shouldTimeOut
increase timeout in fakeDraDriverGrpcServer to fix flake
2024-01-04 17:59:12 +01:00
Kubernetes Prow Robot
2efed1f1cb
Merge pull request #120291 from lzhecheng/fix-credentialprovider-win-bin-path
Fix Windows credential provider cannot find binary
2024-01-04 17:58:54 +01:00
Kubernetes Prow Robot
f12529c2f2
Merge pull request #118756 from sxllwx/bugfix/cascade-ctx
namespace-controller: Correctly cascade ctx when making API calls
2024-01-04 17:58:45 +01:00
Kubernetes Prow Robot
014149d66e
Merge pull request #121565 from srivastav-abhishek/logs_test_datarace
[FLAKE] Fixed UT pkg/kubelet/kuberuntime/logs/TestReadRotatedLog caused due to data race
2024-01-04 16:49:23 +01:00
bzsuni
289bd72631 Add ut for pkg/registry/networking/servicecidr
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-01-04 23:09:29 +08:00
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
55c5db172e lock GA feature-gate ConsistentHTTPGetHandlers to default 2024-01-04 15:12:08 +08: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
Paco Xu
feb833f129
fix nil pointer dereference when EventedPLEG is enabled 2023-12-25 16:09:30 +08: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