Dan Winship
0298e04ea0
Updates to BoundedFrequencyRunner
...
- Use structured logging.
- Use t.Helper() in unit tests.
- Improve some comments.
- Remove an unnecessary check/panic.
Co-authored-by: Antonio Ojea <aojea@google.com >
2025-07-01 08:54:14 -04:00
Antonio Ojea
6da9d363f3
Copy BoundedFrequencyRunner to kube-proxy
2025-07-01 08:53:54 -04:00
Kubernetes Prow Robot
0b8133816b
Merge pull request #131477 from pohly/golangci-lint@v2
...
golangci-lint v2
2025-05-02 23:03:55 -07:00
Jordan Liggitt
6bb6c99342
Drop null creationTimestamp from test fixtures
2025-05-02 15:38:40 -04:00
Kubernetes Prow Robot
9549613361
Merge pull request #131584 from wjiec/chore/ingress-validating
...
Remove redundant Required validation for IngressRules
2025-05-02 09:15:56 -07:00
Kubernetes Prow Robot
e61430919e
Merge pull request #131431 from black-dragon74/apps-v1b2-typo
...
api: Fix typo in word "immediately"
2025-05-02 06:44:04 -07:00
jayson wang
49f765e2b3
Remove redundant Required validation for IngressRules
2025-05-02 20:56:29 +08:00
Matthieu MOREL
4adb58565c
chore: bump golangci-lint to v2
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-05-02 12:51:02 +02:00
Niraj Yadav
2e98d87c56
api: Fix typo in word "immediately"
...
In v1beta2 apps types, "immediately" is misspelled as
"immediatedly", this patch corrects that typo.
Signed-off-by: Niraj Yadav <niryadav@redhat.com >
2025-05-02 10:48:46 +05:30
Kubernetes Prow Robot
6c05c5e16e
Merge pull request #131564 from logica0419/kubeapiserver-string-concat
...
Add missing space in string concatenation (kubeapiserver)
2025-05-01 09:17:55 -07:00
Kubernetes Prow Robot
cf6cc0f5d7
Merge pull request #130381 from royalsflush/probe-total-beta
...
Bumps up prober_probe_total from alpha to beta
2025-04-30 18:39:54 -07:00
Kubernetes Prow Robot
da24cfe98b
Merge pull request #131509 from liggitt/relax-external-signer-path
...
Relax external signer path validation to allow relative paths
2025-04-30 11:57:54 -07:00
Jordan Liggitt
48054afd6a
Relax external signer path validation to allow relative paths
2025-04-30 13:41:22 -04:00
logica0419
e500f94519
add missing space in string concatenation (kubeapiserver)
2025-04-30 23:55:46 +09:00
Ania Borowiec
1b9386aac3
Add comment explaining the metric sampling logic for plugin execution metrics
...
I have just spent some time finding the change that introduced this and reading the discussion in the relevant PR. I assume this comment could save some time for other people new to this code
2025-04-30 12:17:33 +02:00
Kubernetes Prow Robot
2cc53d78b7
Merge pull request #131525 from carlory/fix-131512
...
Fix pod failure policy defaults does not work for cronjob
2025-04-29 10:36:05 -07:00
Kubernetes Prow Robot
e3b9541b23
Merge pull request #131527 from carlory/cleanup-kubelet-UserNamespaces
...
Fix incorrect feature gate name UserNamespaceSupport for kubelet apis
2025-04-29 09:18:17 -07:00
Kubernetes Prow Robot
2579512f2f
Merge pull request #131492 from aroradaman/nftables-cleanup
...
nftables: cleanup service chain checks
2025-04-29 08:10:06 -07:00
Kubernetes Prow Robot
75f85451d1
Merge pull request #131224 from skitt/go-1.24-osroot
...
Use Go 1.24 os.Root instead of filepath-securejoin
2025-04-29 08:09:55 -07:00
carlory
a56378d9fc
Update UserNamespaceSupport feature gate name
2025-04-29 16:15:41 +08:00
carlory
c6f652d5fe
Refactor pod failure policy defaults
2025-04-29 14:58:57 +08:00
Kubernetes Prow Robot
23258f104d
Merge pull request #131511 from pohly/dep-misspell
...
dependencies: github.com/client9/misspell -> github.com/golangci/misspell
2025-04-28 12:25:53 -07:00
Kubernetes Prow Robot
1f056f8f88
Merge pull request #131495 from carlory/fix-131381
...
Handle unsupported node expansion for RWX volumes
2025-04-28 10:39:54 -07:00
carlory
dddfeb4a0e
Handle unsupported node expansion for RWX volumes
...
Co-authored-by: Hemant Kumar <gnufied@users.noreply.github.com >
Signed-off-by: carlory <baofa.fan@daocloud.io >
2025-04-29 00:19:47 +08:00
Patrick Ohly
8bb7b05637
dependencies: github.com/client9/misspell -> github.com/golangci/misspell
...
github.com/client9/misspell was archived by the owner on Mar 26, 2025.
The golangci-lint team maintains a fork.
The newer code finds some misspellings which where missed before.
2025-04-28 15:44:04 +02:00
Abhijit Hoskeri
db960d1007
Fix openid discovery docs with external jwt signer.
...
If the external jwt signer is enabled, publishing
OIDC discovery docs and keys fails because the PublicKeysGetter
is not wired correctly.
Set the public keys getter on startup so public key
discovery works in that case as well.
2025-04-26 17:39:31 -07:00
Abhijit Hoskeri
1869f6f23a
Fix typo in service account config test.
2025-04-26 14:36:33 -07:00
Daman Arora
c7a870135a
nftables: cleanup service chain checks
...
A packet can traverse the service-xxxx chains by matching on either
service-ips or service-nodeports verdict map. We masquerade off-cluster
traffic to ClusterIP (when masqueradeAll = false) by adding a rule in
service-xxxx which checks if destination IP is ClusterIP, port and
protocol matches with service specs and source IP doesn't belong to
PodCIDR and masquerade on match.
If the packet reaches the service chain by match on service-ips map,
then ClusterIP, port and protocol are already matching service specs.
If it comes via external-xxxx chain then the destination IP will
never be ClusterIP. Therefore, we can simplify the masquerade
off-cluster traffic to ClusterIP check by simply matching on
destination ip and source ip.
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2025-04-27 01:05:45 +05:30
Daman Arora
9cb3dfb5d3
kube-proxy: log errors during proxy boot
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2025-04-26 16:06:18 +05:30
Kubernetes Prow Robot
fe5afa919b
Merge pull request #130333 from kmala/job
...
handle job complete update delayed event
2025-04-25 17:55:22 -07:00
Kubernetes Prow Robot
e2ccbd255c
Merge pull request #130362 from aojea/node_addresses_init
...
Use node addresses from informer in kubelet certificate manager
2025-04-25 11:25:22 -07:00
Kubernetes Prow Robot
375f282985
Merge pull request #131408 from gnufied/remove-unknown-resizing-error
...
Remove warning about resizing failed for unknown reason
2025-04-25 09:41:24 -07:00
Paco Xu
89156452ae
fix nil pointer panic on windows node
2025-04-25 15:38:14 +08:00
Antonio Ojea
1214dc223c
kubelet: Use node addresses from informer
...
The kubelet certificate manager was using a closure to get the node addresses,
but this closure depended on a static field that was only updated during the node
status update. This created a twisted dependency between the node.status
reconcile loops and the certificate manager.
This commit fixes this issue by using the node informer to get the node addresses directly.
This ensures that the kubelet always requests a certificate with the latest node addresses.
2025-04-25 03:15:42 +00:00
Kubernetes Prow Robot
595516a149
Merge pull request #130468 from jingyuanliang/PodAntiAffinity
...
fix: comment on preferred PodAntiAffinity
2025-04-24 12:00:34 -07:00
Kubernetes Prow Robot
08f32728b9
Merge pull request #131311 from gnufied/fix-csi-json-file-removal
...
Fix error handling and csi json file removal interaction
2025-04-24 10:52:38 -07:00
Kubernetes Prow Robot
c59203e051
Merge pull request #121967 from torredil/update-logging
...
Update log verbosity for node health and taint checks
2025-04-24 06:22:34 -07:00
Kubernetes Prow Robot
71e7f9eba7
Merge pull request #131425 from carlory/follow-up-128810
...
Remove deprecated scheduler cache metrics
2025-04-24 04:56:29 -07:00
Kubernetes Prow Robot
5ec7b65318
Merge pull request #131418 from gnufied/check-recovery-feature-kubelet
...
Check for newer fields when deciding expansion recovery feature status
2025-04-23 21:10:37 -07:00
carlory
24257f2d31
Remove deprecated scheduler cache metrics
2025-04-24 11:45:38 +08:00
Kubernetes Prow Robot
e49376db5e
Merge pull request #131393 from xigang/extension_api
...
fix: use correct apiextensions v1 API instead of apiregistration v1
2025-04-23 18:21:28 -07:00
Kubernetes Prow Robot
93cc525932
Merge pull request #131333 from tenzen-y/fix-successpolicy-api-comment
...
Job: Fix API comments for SuccessCriteriaMet
2025-04-23 18:20:58 -07:00
Kubernetes Prow Robot
75c640bc02
Merge pull request #131278 from haosdent/haosdent/remove-redundant-call
...
scheduler: remove duplicate nominatedNodeName clearing in preemption
2025-04-23 18:20:30 -07:00
Kubernetes Prow Robot
aa9e98805c
Merge pull request #131256 from mimowo/job-improve-backoff-docs
...
Improve Job API comment for the backoffLimit
2025-04-23 17:09:58 -07:00
Kubernetes Prow Robot
b33a199415
Merge pull request #131251 from ndbaker1/free-image-race
...
fix(kubelet): acquire imageRecordsLock when removing image
2025-04-23 17:09:50 -07:00
Kubernetes Prow Robot
077a382170
Merge pull request #131242 from zhifei92/update-mockery-version
...
Upgrade the mockery version to v2.53.3
2025-04-23 17:09:43 -07:00
Kubernetes Prow Robot
a9c75b0da8
Merge pull request #131213 from carlory/fix-131045
...
Fix the allocatedResourceStatuses Field name mismatch in PVC status validation
2025-04-23 17:09:06 -07:00
Kubernetes Prow Robot
b9d2c1b043
Merge pull request #131138 from princepereira/ppereira-130963-endpointcreation
...
Fix for HNS local endpoint was being deleted instead of the remote endpoint.
2025-04-23 16:00:11 -07:00
Kubernetes Prow Robot
a7dd57e5d3
Merge pull request #131076 from tallclair/quota-cleanup
...
Deduplicate MilliCPUToQuota function & constants
2025-04-23 15:59:21 -07:00
Kubernetes Prow Robot
ea04d665da
Merge pull request #131061 from aramase/aramase/c/kep_4412_add_unique_req
...
clarify mutual exclusivity of service account annotation keys in godoc
2025-04-23 15:59:06 -07:00