Aleksandra Malinowska
d616cf72a3
Add unit tests for parallel StatefulSet create & delete
2023-06-28 16:55:38 +02:00
Kubernetes Prow Robot
74bd77a9df
Merge pull request #118917 from kmala/daemonsetfix
...
increase the log level for the GetTargetNodeName error message
2023-06-28 00:08:32 -07:00
Kubernetes Prow Robot
960830bc66
Merge pull request #118102 from RomanBednar/retro-sc-assignment-ga
...
graduate RetroactiveDefaultStorageClass feature to GA in 1.28
2023-06-27 20:46:32 -07:00
yanggang
860aab842d
fix a reference to the wrong variable name
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-06-28 06:12:44 +08:00
Daniel Vega-Myhre
a9afaa1eee
add feature gate
2023-06-27 18:07:17 +00:00
Aldo Culquicondor
a4519665fe
Skip terminal Pods with a deletion timestamp from the Daemonset sync ( #118716 )
...
* Skip terminal Pods with a deletion timestamp from the Daemonset sync
Change-Id: I64a347a87c02ee2bd48be10e6fff380c8c81f742
* Review comments and fix integration test
Change-Id: I3eb5ec62bce8b4b150726a1e9b2b517c4e993713
* Include deleted terminal pods in history
Change-Id: I8b921157e6be1c809dd59f8035ec259ea4d96301
2023-06-27 08:56:33 -07:00
Maciej Szulik
af1c9e49c4
Update schedule logic to properly calculate missed schedules
...
Before this change we've assumed a constant time between schedule runs,
which is not true for cases like "30 6-16/4 * * 1-5".
The fix is to calculate the potential next run using the fixed schedule
as the baseline, and then go back one schedule back and allow the cron
library to calculate the correct time.
This approach saves us from iterating multiple times between last
schedule time and now, if the cronjob for any reason wasn't running for
significant amount of time.
2023-06-27 11:29:30 +02:00
Keerthan Reddy Mala
0033f65808
increase the log level for the GetTargetNodeName error message
2023-06-26 17:31:50 -07:00
Daniel Vega-Myhre
2176053415
add completion index as pod label
2023-06-26 19:53:14 +00:00
Kubernetes Prow Robot
a48bcc06fe
Merge pull request #117064 from RomanBednar/multiple-defaults
...
storage class assignment should not ignore errors
2023-06-23 03:09:23 -07:00
Kubernetes Prow Robot
9325a57125
Merge pull request #118765 from mimowo/job-controller-unit-tests
...
Do not set jm.syncJobBatchPeriod=0 if not needed
2023-06-22 10:25:41 -07:00
Michal Wozniak
8ed23558b4
Do not set jm.syncJobBatchPeriod=0 if not needed
2023-06-22 11:10:53 +02:00
Kubernetes Prow Robot
28296ba59e
Merge pull request #113994 from mengjiao-liu/contextual-logging-controller-certificates
...
certificate controller: use contextual logging
2023-06-21 09:03:42 -07:00
Roman Bednar
1bd3f072fa
stop ignoring storage class selection errors
...
The GetDefaultClass() was fixed in scope of this issue:
https://github.com/kubernetes/kubernetes/issues/110514
Before this change assignDefaultStorageClass() was ignoring errors from
this function since it could mean there are multiple defaults - assign
could safely continue and do nothing.
This is no longer true because we always choose one from multiple
defaults - any errors returned from GetDefaultClass() are real errors
and should not be ignored.
2023-06-21 13:09:05 +02:00
Aleksandra Malinowska
63e5b6bdb2
Parallel StatefulSet pod create & delete
2023-06-20 12:15:21 +02:00
Aleksandra Malinowska
2fb472c83c
Refactor StatefulSet controller update logic
2023-06-20 12:14:25 +02:00
Michal Wozniak
784a309b91
Do not error in Job controller sync when there are pod failures
2023-06-20 11:31:24 +02:00
wangxiang
12b370cbbb
bugfix(namespace-controller): Correctly cascade ctx when making API calls
2023-06-20 15:34:23 +08:00
Aldo Culquicondor
c9b01dd977
Fix race in logging expectations
...
Change-Id: I27da7cae741935da6f0815639a54bfd597a2a6c6
2023-06-19 13:26:39 -04:00
ialidzhikov
958c8fb695
Make use of k8s.io/utils/pointer.Duration
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com >
2023-06-18 21:46:26 +03:00
Michal Wozniak
74c5ff97f1
Lower the constants for the rate limiter in Job controller
2023-06-16 17:00:04 +02:00
Michal Wozniak
c51a422d78
Cleanup job controller handling of backoff
2023-06-16 14:53:27 +02:00
aimuz
396c8a6783
test: TestPodDeletionEvent
...
Signed-off-by: aimuz <mr.imuz@gmail.com >
2023-06-16 10:31:33 +08:00
aimuz
975b2c6611
scheduler: Fix field apiVersion is missing from events reported from taint manager
...
Signed-off-by: aimuz <mr.imuz@gmail.com >
2023-06-16 09:51:25 +08:00
Kubernetes Prow Robot
58d7a794d2
Merge pull request #113504 from pacoxu/taint-unit-test
...
AddOrUpdateTaintOnNode: if node does not exists, return an error
2023-06-15 17:48:19 -07:00
Kubernetes Prow Robot
47e79b8156
Merge pull request #116910 from fatsheep9146/job-controller-contextual-logging
...
Migrated pkg/controller/job to contextual logging
2023-06-14 08:00:18 -07:00
Ziqi Zhao
7bc449d7e0
add contextual logging to job-controller
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com >
2023-06-14 13:40:02 +08:00
carlory
5e048041e4
remove helper function for unused storage feature in pkg/proxy/util
2023-06-13 09:22:59 +08:00
Kubernetes Prow Robot
8a0b1bbf24
Merge pull request #118095 from carlory/patch-002
...
remove unused pv informer from expand_controller
2023-06-12 11:43:58 -07:00
xin.li
325205efb7
Migrated pkg/controller/endpoint to contextual logging
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2023-06-11 20:12:07 +08:00
Kubernetes Prow Robot
a5332a839d
Merge pull request #118470 from mimowo/job-controller-fix-delay
...
Ensure Job sync invocations are batched by 1s periods
2023-06-07 12:02:13 -07:00
Michal Wozniak
2f6b1d3c0f
Ensure Job sync invocations are batched by 1s periods
2023-06-07 17:32:46 +02:00
Kubernetes Prow Robot
3fbf67a403
Merge pull request #116732 from czybjtu/cleanup_map_to_sets
...
Cleanup: use Set instead of map in endpointSlice utils
2023-06-07 07:38:13 -07:00
Roman Bednar
ac15d69757
remove RetroactiveDefaultStorageClass feature gate checks
2023-06-07 14:31:16 +02:00
Roman Bednar
6afb363ca1
test: remove RetroactiveDefaultStorageClass feature gate
...
Since the feature is GA and locked to true, tests can no longer set it
to false. Cleaning up by removing all references to this feature gate
from tests.
Feature gate will be removed in v1.29.
2023-06-07 14:31:16 +02:00
Michal Wozniak
71ab7dc791
Remarks
2023-06-05 10:48:32 +02:00
Michal Wozniak
70d3bb43e5
Adjust the algorithm for computing the pod finish time
...
Change-Id: Ic282a57169cab8dc498574f08b081914218a1039
2023-06-05 10:06:56 +02:00
SataQiu
01861282b1
controller: fix the help information format of sorting_deletion_age_ratio metric
2023-06-01 23:28:42 +08:00
ZhangYu
f9ae3e774d
testutil: use contextual logging
2023-05-30 10:07:04 +08:00
Kubernetes Prow Robot
c35a2775b2
Merge pull request #115554 from yt2985/cleanSA
...
LegacyServiceAccountTokenCleanUp alpha
2023-05-26 08:54:53 -07:00
Kubernetes Prow Robot
1c9f08a1c5
Merge pull request #118262 from torredil/pv-controller
...
Improve Clarity of Provisioner Waiting Message
2023-05-26 07:57:04 -07:00
Kubernetes Prow Robot
a874f587b4
Merge pull request #118071 from kerthcet/cleanup/use-contextual-logging-in-statefulset
...
Chore: Apply to use contextual logging for all loggers in statefulSet
2023-05-26 07:56:53 -07:00
torredil
5d18f47149
Improve clarity and guidance in provisioner waiting message
...
Signed-off-by: torredil <torredil@amazon.com >
2023-05-25 17:26:06 +00:00
tinatingyu
133eff3df4
implement LegacyServiceAccountTokenCleanUp alpha
2023-05-24 23:20:17 +00:00
Cookie Wang
e2ed8f8c3c
style: correct the sentence
2023-05-24 20:24:36 +08:00
guangli.bao
931cc96b8d
remote windows condition when #116693 is merged
...
Signed-off-by: guangli.bao <guangli.bao@daocloud.io >
2023-05-24 14:54:22 +08:00
Kubernetes Prow Robot
484645e817
Merge pull request #116659 from claudiubelu/skip-flaky-tests-2
...
unit tests: Skip flaky tests on Windows (part 2)
2023-05-23 20:04:48 -07:00
huiwq1990
048938f1d8
hpa: cleanup currentReplicas
code
...
Signed-off-by: huiwq1990 <huiwq1990@163.com >
2023-05-22 20:37:49 +08:00
Michal Wozniak
0fe27a06f9
Cleanup the Job controller handling of terminating pods
2023-05-19 09:52:08 +02:00
kerthcet
3f1d8e7aeb
Apply to use contextual logging for all loggers in statefulSet
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-05-18 16:55:19 +08:00