Michal Wozniak
f1233ac5e0
JobPodFailurePolicy to GA
...
# Conflicts:
# pkg/controller/job/job_controller_test.go
2024-07-12 17:21:32 +02:00
Kubernetes Prow Robot
0a3330d6c9
Merge pull request #125510 from mimowo/extend-job-conditions
...
Delay setting terminal Job conditions until all pods are terminal
2024-07-12 08:12:46 -07:00
Kubernetes Prow Robot
2d4514e169
Merge pull request #125802 from mmorel-35/testifylint/len+empty
...
fix: enable empty and len rules from testifylint on pkg and staging package
2024-07-11 23:12:06 -07:00
Michal Wozniak
fb7704ba03
Delay setting terminal Job conditions until all pods are terminal
...
Fix the integration test typecheck
Fix after rebase
# Conflicts:
# pkg/controller/job/job_controller_test.go
2024-07-11 20:54:09 +02:00
Kubernetes Prow Robot
9356b0e3e9
Merge pull request #126030 from kaisoz/test-SuccessPolicyMet-false-ignored
...
job_controller: Add test for SuccessCriteriaMet=False
2024-07-11 09:24:04 -07:00
Kubernetes Prow Robot
b977096f5a
Merge pull request #125767 from carlory/fix-external-provisioner-1235
...
Fix pv reclaim failed due to its phase is wrongly updated to the Failed state by kcm
2024-07-11 07:45:18 -07:00
Tomas Tormo
5a046a4fd9
job_controller: Add test for SuccessCriteriaMet=False
2024-07-11 12:08:43 +00:00
Kubernetes Prow Robot
135f2e0372
Merge pull request #125997 from mimowo/job-comment-cleanup
...
Cleanup TODO comment in the Job controller
2024-07-10 12:15:39 -07:00
Kubernetes Prow Robot
1608dc2b09
Merge pull request #125985 from kaisoz/fix-failureTarget-manually-added
...
job_controller: Ignore FailureTarget JobCondition with Status != True
2024-07-10 09:02:59 -07:00
Kubernetes Prow Robot
27c6c30905
Merge pull request #124607 from gjtempleton/HPA-Reviewers-Addition
...
HPA - Add gjtempleton to reviewers
2024-07-10 07:08:50 -07:00
Michal Wozniak
8a8717c3a9
Cleanup TODO comment in the Job controller
2024-07-10 12:27:56 +02:00
Tomas Tormo
2aed11ec78
job_controller: Ignore FailureTarget!=True
2024-07-10 08:02:14 +00:00
Kubernetes Prow Robot
4a214f6ad9
Merge pull request #125461 from mimowo/pod-disruption-conditions-ga
...
Graduate PodDisruptionConditions to stable
2024-07-09 11:08:13 -07:00
Matthieu MOREL
f014b754fb
fix: enable empty and len rules from testifylint on pkg package
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com >
2024-07-06 23:15:43 +00:00
Michal Wozniak
4250d444f8
Cleanup Job controller tests
2024-07-05 14:59:03 +02:00
lukashankeln
58c44005cd
fix(cronjob): lastSuccessfullTime not set when successfulJobsHistoryLimit equal to zero ( #122025 )
...
* fix(cronjob): lastSuccessfullTime not set when successfulJobsHistoryLimit equal to zero
* fix(cronjob): added tests for successfulJobsHistoryLimit mutations
2024-07-05 03:57:47 -07:00
Kubernetes Prow Robot
11c689b945
Merge pull request #125675 from tnqn/fix-rapid-endpoints-update
...
Fix endpoints status out-of-sync when the pod state changes rapidly
2024-07-02 23:48:42 -07:00
Kubernetes Prow Robot
6a0aeb2adb
Merge pull request #125151 from skitt/drop-ptr-wrappers-pkg-controller
...
pkg/controller: drop pointer wrapper functions
2024-07-02 09:28:00 -07:00
Stephen Kitt
f55b59fc02
pkg/controller: drop pointer wrapper functions
...
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affected files.
Signed-off-by: Stephen Kitt <skitt@redhat.com >
2024-07-02 16:19:12 +02:00
Quan Tian
3bd975862a
Fix endpoints status out-of-sync when the pod state changes rapidly
...
When Pod state changes rapidly, endpoints controller may use outdated
informer cache to sync Service. If the outdated endpoints appear to be
expected by the controller, it skips updating it.
The commit fixes it by checking if endpoints informer cache is outdated
when processing a service. If the endpoints is stale, it returns an
error and retries later.
Signed-off-by: Quan Tian <quan.tian@broadcom.com >
2024-07-01 21:56:36 +08:00
Kubernetes Prow Robot
93d56511e6
Merge pull request #125021 from aojea/servicecidrbeta
...
KEP-1880 Multiple Service CIDRs: Graduate to Beta (2/2)
2024-06-30 08:53:25 -07:00
Antonio Ojea
0e1f9dadd6
modify components to use the networking v1beta1 API
2024-06-30 09:48:46 +00:00
Kubernetes Prow Robot
ac9aec9f9b
Merge pull request #125116 from pohly/dra-one-of-source
...
DRA: remove "source" indirection from v1 Pod API
2024-06-28 12:46:45 -07:00
Matthieu MOREL
0cde5f1e28
fix: enable bool-compare rule from testifylint linter ( #125135 )
...
* fix: enable bool-compare rule from testifylint linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update hack/golangci.yaml.in
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com >
* Update golangci.yaml.in
* Update golangci-strict.yaml
* Update golangci.yaml.in
* Update golangci.yaml.in
* Update golangci.yaml.in
* Update golangci.yaml.in
* Update golangci.yaml
* Update golangci-hints.yaml
* Update golangci-strict.yaml
* Update golangci.yaml.in
* Update golangci.yaml
* Update mux_test.go
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com >
2024-06-28 10:58:05 -07:00
Michal Wozniak
780191bea6
review remarks for graduating PodDisruptionConditions
2024-06-28 17:32:27 +02:00
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