kubernetes/pkg
Akhil Singh 2fe49b0cd0 Fix job controller reporting active=0 during pod creation backoff
When manageJob() needs to create replacement pods but defers creation
because a pod-failure backoff is still active, it returned a hardcoded
active=0 to the caller. Because no pods were actually created or deleted,
this left Status.Active=0 while Status.Ready still reflected the running
pods. The apiserver correctly rejects such updates ("cannot set more
ready pods than active") with a 422, which blocks flushing uncounted
terminated pods, removing finalizers, and updating job status, leaving
pods stuck Terminating with stale status.

Return the real active count from both backoff early-returns instead,
since the deferral does not change the number of active pods.

Issue: https://github.com/kubernetes/kubernetes/issues/139428
2026-06-09 18:55:28 +05:30
..
admission/plugin Add policy manifest loader, source, and plugin wiring 2026-03-11 23:47:55 -07:00
api KEP-4427: Remove RelaxedDNSSearchValidation feature gate 2026-05-24 10:21:22 +02:00
apis Merge pull request #139217 from adrianmoisey/dns-search-string-relaxation 2026-05-26 22:54:07 +05:30
auth Adapt the codebase to the Authorizer interface change 2026-05-13 18:34:51 +03:00
capabilities
certauthorization Add the Unconditional prefix to Authorizer and WantsAuthorizer interfaces 2026-05-07 22:22:14 +03:00
client staging: extract CRI streaming modules with client-go compatibility 2026-03-12 09:59:55 -04:00
cluster/ports
controller Fix job controller reporting active=0 during pod creation backoff 2026-06-09 18:55:28 +05:30
controlplane *: remove grpc.WithBlock from etcd clientv3 option 2026-05-29 19:49:54 -04:00
credentialprovider clean up: remove loop variable capture 2026-04-28 23:53:27 +02:00
features lock to default the DisableCPUQuotaWithExclusiveCPUs FG 2026-05-28 15:57:19 +02:00
fieldpath
generated doc: clarify ConfigMap BinaryData not propagated to container env vars 2026-05-27 17:42:14 +00:00
kubeapiserver Merge pull request #137204 from luxas/authorizer-decision-to-struct 2026-05-27 02:32:00 +05:30
kubectl Remove v1alpha2 API definitions 2026-05-22 12:50:19 +00:00
kubelet Merge pull request #138139 from amritansh1502/fix-137685-memoryqos-besteffort-memory-high 2026-06-01 23:06:50 +05:30
kubemark kubelet: thread logger through boot time lookup 2026-05-20 15:22:00 +08:00
printers Migrate references to v1alpha3 in tests, controllers, and remaining files 2026-05-22 12:50:19 +00:00
probe Remove redundant re-assignment in for-loops under pkg 2026-03-02 08:47:43 +01:00
proxy proxy/ipvs: avoid per-interface RTM_GETADDR dump in GetAllLocalAddressesExcept 2026-05-24 13:31:10 +08:00
quota/v1 Make quota evaluators in admission conditional on enabled resources 2026-02-20 11:34:33 -05:00
registry Merge pull request #139287 from kannon92/issue-139281 2026-05-27 20:57:07 +05:30
routes build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
scheduler Merge pull request #139379 from marosset/windows-scheduler-test-fix 2026-06-03 05:59:42 +05:30
security build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
securitycontext clean up: remove loop variable capture 2026-04-28 23:53:27 +02:00
serviceaccount Graduate old ServiceAccount metrics to BETA 2026-05-20 15:52:06 +08:00
util Merge pull request #138389 from gheffern/add-safe-sysctls-135972 2026-05-12 22:04:31 +05:30
volume Merge pull request #134540 from dddddai/subpath 2026-05-30 12:08:46 +05:30
windows/service build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
.import-restrictions
OWNERS