Kubernetes Prow Robot
244c035b87
Merge pull request #110263 from claudiubelu/unittests
...
unittests: Fixes unit tests for Windows
2022-10-25 14:50:34 -07:00
Claudiu Belu
6f2eeed2e8
unittests: Fixes unit tests for Windows
...
Currently, there are some unit tests that are failing on Windows due to
various reasons:
- config options not supported on Windows.
- files not closed, which means that they cannot be removed / renamed.
- paths not properly joined (filepath.Join should be used).
- time.Now() is not as precise on Windows, which means that 2
consecutive calls may return the same timestamp.
- different error messages on Windows.
- files have \r\n line endings on Windows.
- /tmp directory being used, which might not exist on Windows. Instead,
the OS-specific Temp directory should be used.
- the default value for Kubelet's EvictionHard field was containing
OS-specific fields. This is now moved, the field is now set during
Kubelet's initialization, after the config file is read.
2022-10-25 23:46:56 +03:00
Kubernetes Prow Robot
449c46258b
Merge pull request #113325 from panslava/fix-time-since-defer
...
Fix time.Since() in defer. Wrap in anonymous function
2022-10-25 06:42:36 -07:00
Slavik Panasovets
864e41f16d
Fix time.Since() in defer. Wrap in anonymous function
...
Function arguments in defer evaluated during definition of defer, not
during execution
2022-10-25 12:38:35 +00:00
Kubernetes Prow Robot
245d59273c
Merge pull request #113136 from jprzychodzen/kcm-remove-race-condition
...
NodeLifecycleController: Remove race condition
2022-10-24 15:48:34 -07:00
Jakub Przychodzeń
de25c5fdcf
NodeLifecycleController: Remove race condition
...
Patch request does not support RV by default, we need to include them explicitly and patching lists actually overwrites whole field. It means that there is a race condition, in which we can overwrite changes to taints that happened between GET and PATCH requests.
2022-10-24 19:36:58 +00:00
Shihang Zhang
569cd70a52
track legacy service account tokens
2022-10-24 09:37:53 -07:00
Kubernetes Prow Robot
9b9a963a8d
Merge pull request #113238 from pacoxu/storage-quantity-warning
...
pvc storage request warning for fractional byte value
2022-10-24 06:30:37 -07:00
Kubernetes Prow Robot
38c659eb9f
Merge pull request #111534 from claudiubelu/unittests-7
...
unittests: Fixes unit tests for Windows
2022-10-24 06:30:25 -07:00
Kubernetes Prow Robot
36dd5f2846
Merge pull request #113191 from saltbo/refa-remove-unused-ipconfig
...
Remove the unused pkg/util/ipconfig
2022-10-23 19:22:25 -07:00
Kubernetes Prow Robot
6a709cf07b
Merge pull request #113194 from saltbo/refa-replace-ioutil
...
Replace the ioutil by the os and io for the pkg/util
2022-10-23 18:08:24 -07:00
saltbo
6f878d92fb
fix: update the fsstore_test.go
...
Signed-off-by: saltbo <saltbo@foxmail.com>
2022-10-23 21:51:48 +08:00
Paco Xu
140502af8c
add warning for PVC template in statefulset and in pod ephemeral volume source
2022-10-22 09:14:03 +08:00
Kubernetes Prow Robot
9ac6c0480a
Merge pull request #113265 from yuanchen8911/pointer
...
Replace deprecated pointer conversions in scheduler
2022-10-21 13:58:08 -07:00
Yuan Chen
18f5b5c8e0
Replace deprecated pointer conversions in scheduler
2022-10-21 10:43:24 -07:00
Kubernetes Prow Robot
a497c56c33
Merge pull request #113030 from Richabanker/kubelet-metrics-slis
...
add metrics/slis to kubelet health checks
2022-10-21 10:35:52 -07:00
Kubernetes Prow Robot
18b81513b6
Merge pull request #112025 from kerthcet/refactor/handle-scheduling-failure
...
Refactor schedulingCycle and bindingCycle in scheduler
2022-10-21 08:31:51 -07:00
Paco Xu
ca94a89414
pvc warning for storage request: add unit test
2022-10-21 16:56:41 +08:00
Paco Xu
0b848bee4e
pvc storage request warning for fractional byte value
...
- create or update
2022-10-21 16:15:55 +08:00
kerthcet
f7f857814f
Refactor schedulingCycle and bindingCycle in scheduler
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-10-21 13:53:18 +08:00
Kubernetes Prow Robot
2313e2b825
Merge pull request #113176 from alculquicondor/finalizer_metric
...
Add metric for terminated pods with tracking finalizer
2022-10-20 20:52:01 -07:00
Kubernetes Prow Robot
b9973d28f2
Merge pull request #113074 from andrewsykim/apiserver-lease-gc-tests
...
add unit tests for apiserverleasegc controller
2022-10-20 20:51:50 -07:00
Kubernetes Prow Robot
8305358630
Merge pull request #108494 from sanposhiho/RunScorePlugins-return-type
...
change framework.RunScorePlugins to return slice organized by node
2022-10-20 08:57:02 -07:00
Aldo Culquicondor
12d308f5c4
Add metric for terminated pods with tracking finalizer
...
Change-Id: I26f3169588c30ed82250cb7baff8e277f8d13bb7
2022-10-20 11:35:20 -04:00
Kubernetes Prow Robot
9bcb81e13f
Merge pull request #113175 from liggitt/pr_normalize_probes_lifecycle_handlers
...
Record event and metric for lifecycle fallback to http
2022-10-20 02:31:08 -07:00
saltbo
cc90e819bc
refactor: replace the ioutil by the os and io
...
Signed-off-by: saltbo <saltbo@foxmail.com>
2022-10-20 15:13:28 +08:00
saltbo
266404ec8c
refactor: remove the unused pkg/util/ipconfig
...
Signed-off-by: saltbo <saltbo@foxmail.com>
2022-10-20 14:21:42 +08:00
sanposhiho
cbf1ea5e68
change framework.RunScorePlugins to return slice organized by node
2022-10-20 01:04:38 +00:00
Kubernetes Prow Robot
adec07998b
Merge pull request #112675 from aimuz/improve-readability
...
improve readability, code nesting too deep
2022-10-19 17:45:07 -07:00
Kubernetes Prow Robot
ad26b315f2
Merge pull request #86139 from jasimmons/pr_normalize_probes_lifecycle_handlers
...
Normalize HTTP lifecycle handlers with HTTP probers
2022-10-19 17:44:56 -07:00
Kubernetes Prow Robot
453039f47b
Merge pull request #113153 from yuanchen8911/error
...
Replace error string with ErrorList in scheduler validation testing
2022-10-19 16:34:56 -07:00
Kubernetes Prow Robot
ad563ccd47
Merge pull request #113155 from logicalhan/proxy-metric
...
migrate usage of `merge` to `MergeBuckets` for static analysis
2022-10-19 13:57:25 -07:00
Kubernetes Prow Robot
45636684a4
Merge pull request #112897 from fromanirh/podresources-metrics-e2e-tests
...
register podresources metrics
2022-10-19 13:57:18 -07:00
Kubernetes Prow Robot
a2827c4915
Merge pull request #111978 from Jefftree/aggregated-discovery-types
...
Aggregated discovery types
2022-10-19 13:57:07 -07:00
Kubernetes Prow Robot
962235c86a
Merge pull request #110559 from danishprakash/danish-default-storageclass
...
pkg/admission/storageclass: pick one storageclass conditionally if >1 present
2022-10-19 13:56:55 -07:00
Yuan Chen
dd1b4fa407
Replace error string with ErrorList in scheduler valiation test
...
Remove expected status
Remove unnecessary code
Revert changes to BindVerb
2022-10-19 12:14:57 -07:00
Jordan Liggitt
a5d785fae8
Record metric for lifecycle fallback to http
2022-10-19 14:45:25 -04:00
Jordan Liggitt
122b43037e
Record event for lifecycle fallback to http
2022-10-19 14:11:36 -04:00
Jefftree
2e01fbb59a
Add discovery types
2022-10-19 17:27:25 +00:00
Kubernetes Prow Robot
bf14677914
Merge pull request #112546 from oscr/the-the
...
grammar: replace all occurrences of "the the" with "the"
2022-10-19 10:03:02 -07:00
Billie Cleek
dfaaa144ab
fallback to http when lifecycle handler request should have been https
2022-10-19 09:51:52 -07:00
Jason Simmons
5a6acf85fa
Align lifecycle handlers and probes
...
Align the behavior of HTTP-based lifecycle handlers and HTTP-based
probers, converging on the probers implementation. This fixes multiple
deficiencies in the current implementation of lifecycle handlers
surrounding what functionality is available.
The functionality is gated by the features.ConsistentHTTPGetHandlers feature gate.
2022-10-19 09:51:52 -07:00
Kubernetes Prow Robot
ca17d9ba2b
Merge pull request #113127 from tangwz/parallel_preemption
...
Do pod preemption in parallel.
2022-10-19 07:23:01 -07:00
aimuz
b88b08b870
improve readability, code nesting too deep
...
Signed-off-by: aimuz <mr.imuz@gmail.com>
2022-10-19 13:43:15 +08:00
danishprakash
f10f4d372c
pv_controller: update tests for multiple storageclasses
...
Signed-off-by: danishprakash <grafitykoncept@gmail.com>
2022-10-19 09:33:44 +05:30
danishprakash
f12325add3
pkg/admission/storageclass: pick random storageclass if >1 present
...
Signed-off-by: danishprakash <grafitykoncept@gmail.com>
2022-10-19 09:30:48 +05:30
Kubernetes Prow Robot
b6d89e756a
Merge pull request #112571 from claudiubelu/fix-nested-mountpoints
...
Fixes getNestedMountpoints grouping
2022-10-18 18:57:11 -07:00
Mohammad Zuber Khan
f86acbad68
add superuser fallback to authorizer ( #111558 )
...
* add superuser fallback to authorizer
* change the order of authorizers
* change the order of authorizers
* remove the duplicate superuser authorizer
* add integration test for superuser permissions
2022-10-18 18:57:00 -07:00
tangwz
480ae2a7c1
Do pod preemption in parallel.
2022-10-19 09:28:53 +08:00
Andrew Sy Kim
c4c867dd96
add comments for Test_Controller in pkg/controlplane/controller/apiserverleasegc
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-10-18 20:40:21 -04:00