Michal Wozniak
bf0c9885a4
Graduate PodDisruptionConditions to stable
2024-06-28 16:36:51 +02:00
carlory
cd2c8cb5fd
Fix pv reclaim failed due to its phase is wrongly updated to the Failed state by kcm
2024-06-28 01:25:45 +08:00
Patrick Ohly
bde9b64cdf
DRA: remove "source" indirection from v1 Pod API
...
This makes the API nicer:
resourceClaims:
- name: with-template
resourceClaimTemplateName: test-inline-claim-template
- name: with-claim
resourceClaimName: test-shared-claim
Previously, this was:
resourceClaims:
- name: with-template
source:
resourceClaimTemplateName: test-inline-claim-template
- name: with-claim
source:
resourceClaimName: test-shared-claim
A more long-term benefit is that other, future alternatives
might not make sense under the "source" umbrella.
This is a breaking change. It's justified because DRA is still
alpha and will have several other API breaks in 1.31.
2024-06-27 17:53:24 +02:00
Antonio Ojea
b5cfccbca7
replace iptree on the servicecidr controller
2024-06-27 11:33:36 +00:00
Kubernetes Prow Robot
92e0db2bbf
Merge pull request #125640 from googs1025/resourceclaim_controller_log_fix1
...
added resourceclaim_controller log info
2024-06-27 03:20:10 -07:00
googs1025
5f8fb17652
added resourceclaim_controller log info
...
Signed-off-by: googs1025 <googs1025@gmail.com >
2024-06-26 18:38:11 +08:00
Patrick Ohly
2da9e660e3
resourceclaim controller: add missing log output
...
The logging was fairly complete about *not* doing something, but the actual
ResourceClaim creation was not logged.
2024-06-25 16:12:31 +02:00
Kubernetes Prow Robot
0d17892740
Merge pull request #123184 from googs1025/delete_repeat_comments
...
typo: delete useless comments
2024-06-24 16:48:32 -07:00
Kubernetes Prow Robot
fb6bbc9781
Merge pull request #125359 from yangjunmyfm192085/fixendpointslicemirroring
...
fix endpointslicemirroring controller not create endpointslice when the endpoints are recreate
2024-06-23 18:22:55 -07:00
杨军10092085
811bd53ee7
fix endpointslicemirroring controller not create endpointslice when the endpoints are recreate
2024-06-22 10:05:03 +08:00
Michal Wozniak
7b5d3f5bc1
Assert on all conditions in the Pod Failure policy tests
2024-06-21 15:42:14 +02:00
Dejan Zele Pejchev
11b6e4c404
count ready pods when deleting active pods for failed jobs
2024-06-21 01:07:40 +02:00
Kubernetes Prow Robot
cc2946e5d1
Merge pull request #125515 from mimowo/refactor-terminating-counter
...
Refactor tracking of terminating pods in Job controller
2024-06-20 13:01:41 -07:00
Michal Wozniak
c12bcf4e94
Refactor enactJobFinished util function for Job controller
2024-06-20 13:02:54 +02:00
Michal Wozniak
8cec2c7470
Refactor tracking of terminating pods in Job controller
2024-06-20 09:35:56 +02:00
Kubernetes Prow Robot
aeed1d0e1a
Merge pull request #124842 from carlory/honor-pv-reclaim-policy-e2e
...
Promote HonorPVReclaimPolicy to beta and enable it by default
2024-06-19 13:26:41 -07:00
carlory
4058178b8c
Promote HonorPVReclaimPolicy to beta and enable it by default
2024-06-19 13:51:37 +08:00
Kubernetes Prow Robot
bd88faee8b
Merge pull request #125520 from mimowo/cleanup-success-policy-check
...
Remove redundant check in Job success policy code
2024-06-18 12:40:09 -07:00
Michal Wozniak
7a3d73d234
Remove redundant check in Job success policy code
2024-06-14 19:59:40 +02:00
Michal Wozniak
18a14bcff9
Remove unused parameter in Job controller function
2024-06-14 19:43:19 +02:00
Kubernetes Prow Robot
eda1c78054
Merge pull request #125445 from mimowo/prepare-gc-controller-test
...
Cleanup gc_controller tests to do not use deprecated types
2024-06-12 10:04:37 -07:00
Michal Wozniak
150b255962
Cleanup gc_controller tests to do not use deprecated types
2024-06-12 10:16:48 +02:00
Yuki Iwai
be3316e2e1
Job: Fix a bug that the SuccessCriteriaMet condition is added to the Job with successPolicy even if the JobSuccessPolicy featureGate is disabled
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com >
2024-06-12 00:36:36 +09:00
Kubernetes Prow Robot
c49b140c45
Merge pull request #125175 from dejanzele/feat/count-terminating-for-failed-jobs
...
Count terminating pods when deleting active pods for failed jobs
2024-06-10 16:56:37 -07:00
Kubernetes Prow Robot
c6b5191c37
Merge pull request #122499 from mattcary/oref
...
Respect controllers on PVCs for retention policy
2024-06-07 09:33:04 -07:00
Kubernetes Prow Robot
cfd949e321
Merge pull request #124942 from AxeZhan/getFinishTimeFromContainers
...
[Sidecar Containers] Sidecar containers finish time needs to be accounted for in job controller
2024-06-06 12:23:05 -07:00
Davanum Srinivas
60fe406f67
remove vestiges of providerless tag
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-06-06 12:18:38 -04:00
Dejan Pejchev
01536f5a84
add additional tests to make sure job controller logic is correct when counting terminating pods with enabled and disabled PodReplacementPolicy feature
2024-06-06 11:40:54 +02:00
AxeZhan
d97282052e
check sidecar featuregate in getFinishedTime
2024-06-06 15:46:41 +08:00
Matthew Cary
d386d6880e
Respect controllers on PVCs for retention policy
2024-06-05 12:06:41 -07:00
Kubernetes Prow Robot
d8b33e32b1
Merge pull request #125168 from kaisoz/jobreadypods-fg-removal
...
Remove the `JobReadyPods` feature flag
2024-06-05 11:36:58 -07:00
Kubernetes Prow Robot
7e88a33c7b
Merge pull request #120396 from wangwei10061/master
...
Fix wrong annotations in defaults.go
2024-06-04 12:53:19 -07:00
Dejan Pejchev
7dd2948620
count terminating pods when deleting active pods for failed jobs
2024-06-04 11:31:00 +02:00
hbostan
db827e67fc
Add a new workqueue to endpointslice controller for updating topology
...
cache and checking node topology distribution.
2024-06-04 08:33:32 +00:00
Kubernetes Prow Robot
1ebc3d2a64
Merge pull request #120699 from liyuerich/ptrderefcontroller
...
drop deprecated pointer package in controller
2024-05-29 10:12:36 -07:00
Kubernetes Prow Robot
da02fdb2ae
Merge pull request #123339 from skitt/canonical-json-patch
...
Update kustomize, use canonical json-patch v4 import
2024-05-29 08:02:24 -07:00
Stephen Kitt
5300466a5c
Use canonical json-patch v4 import
...
The canonical import for json-patch v4 is
gopkg.in/evanphx/json-patch.v4 (see
https://github.com/evanphx/json-patch/blob/master/README.md#get-it for
reference).
Using the v4-specific path should also reduce the risk of unwanted v5
upgrade attempts, because they won't be offered as automated upgrades
by dependency upgrade management tools, and they won't happen through
indirect dependencies (see
https://github.com/kubernetes/kubernetes/pull/120327 for context).
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-05-28 10:48:22 +02:00
Tomas Tormo
ce56b2ca58
Remove JobReadyPods feature flag
2024-05-27 13:09:52 +00:00
carlory
214287b370
kube-controller-manager removed deprecated command flags: --volume-host-cidr-denylist and --volume-host-allow-local-loopback
2024-05-27 10:59:09 +08:00
AxeZhan
3a2a500182
check restartpolicy in getFinishTimeFromContainers
2024-05-21 11:58:06 +08:00
AxeZhan
e4348a1210
consider sidecar containers in getFinishTimeFromContainers
2024-05-20 18:31:23 +08:00
SataQiu
4bd3baece3
kube-controller-manager: remove the deprecated horizontal-pod-autoscaler-upscale-delay and horizontal-pod-autoscaler-downscale-delay flags
2024-05-19 17:49:23 +08:00
Kubernetes Prow Robot
60ca8489be
Merge pull request #124790 from carlory/cleanup-volume-cluster
...
Remove clusterName from VolumeOptions
2024-05-15 17:23:12 -07:00
Michal Wozniak
a6c9d5ba00
Do not remove Job's finalizer from Pod owned by a non-batch/v1 Job
2024-05-14 17:29:23 +02:00
Kubernetes Prow Robot
5cd78a1e9d
Merge pull request #123233 from marshallbrekka/bugfix/daemonset-update-old-ready
...
Fix daemonset to ensure old unhealthy pods are counted towards max unavailable budget.
2024-05-13 09:53:53 -07:00
Kubernetes Prow Robot
f75d8e97f1
Merge pull request #124624 from atiratree/fix-flake
...
[test] statefulset controller: fix requests tracker concurrency
2024-05-10 06:49:00 -07:00
carlory
9c92b37d4e
remove clusterName from VolumeOptions
2024-05-10 16:42:31 +08:00
carlory
4c1df69b34
update unit test for adc controller to test volume migration
2024-05-09 16:16:03 +08:00
liyuerich
8e97c0ff7d
drop deprecated pointer package in controller
...
Signed-off-by: liyuerich <yue.li@daocloud.io >
Update job_controller.go
Signed-off-by: liyuerich <yue.li@daocloud.io >
2024-05-09 11:34:25 +08:00
Kubernetes Prow Robot
de7d9a9897
Merge pull request #108349 from LastNight1997/optimize-dedup
...
optimize dedupCurHistories func in DaemonSetsController
2024-05-08 15:13:17 -07:00