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
19ab5b6910
Merge pull request #113310 from logicalhan/storage-metric
...
swap name for storage metric for underlying storage db
2022-10-25 13:10:35 -07: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
256ade5aa4
Merge pull request #112377 from weilaaa/refactor_sets_use_generic
...
refactor sets use generic
2022-10-24 21:14:34 -07:00
Kubernetes Prow Robot
b932a3ac37
Merge pull request #112696 from aimuz/fix-22422
...
Fixed: 22422 use singleflight to alleviate simultaneous calls to
2022-10-24 20:08:34 -07: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
Kubernetes Prow Robot
74e33de9aa
Merge pull request #113297 from claudiubelu/test-images/fixes-failing-images
...
test images: Fixes httpd-new image
2022-10-24 14:40:45 -07:00
Kubernetes Prow Robot
48d0a5fd5f
Merge pull request #113276 from Huang-Wei/hack-local-sched-v1
...
update scheduler config version to v1
2022-10-24 14:40:34 -07:00
Kubernetes Prow Robot
c5242edd92
Merge pull request #108858 from zshihang/master
...
track legacy service account tokens
2022-10-24 12:44:23 -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
Han Kang
3a2d1bab26
swap name for storage metric for underlying storage db
...
Change-Id: Ic7cd9bf5ef29d9c51a728ef37c94d77172fbf678
2022-10-24 15:27:05 -04:00
Kubernetes Prow Robot
23aaf78a4a
Merge pull request #113189 from MikeSpreitzer/add-borrowing-parms
...
Introduce constants for the two parameters of seat borrowing
2022-10-24 09:44:26 -07:00
Shihang Zhang
569cd70a52
track legacy service account tokens
2022-10-24 09:37:53 -07:00
Kubernetes Prow Robot
7ad4b04632
Merge pull request #113303 from claudiubelu/update-windowsservercore-cache
...
test images: Revert windows-servercore-cache version
2022-10-24 08:28:25 -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
Claudiu Belu
ae3885b889
test images: Revert windows-servercore-cache version
...
The Windows Server Core images are quite large (~2GB each), and pulling
it for multiple build jobs / E2E images is inefficient, especially if
have to build for multiple OS versions.
The windows-servercore-cache image is meant to simply cache the Windows files
we need from the Windows Server core images, so we can pull the small cache image
instead of the entire image. It is never meant to be a promotable image,
the version is not meant to be bumped.
The other images (e.g.: agnhost) rely on the version 1.0 images.
2022-10-23 13:50:42 -07:00
Claudiu Belu
fb7aaab3b9
test images: Fixes httpd-new image
...
httpd-2.4.48-win64-VC15.zip no longer exists. Use httpd-2.4.54-win64-VC15.zip
instead.
2022-10-23 10:07:17 -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
Kubernetes Prow Robot
641197dc95
Merge pull request #113256 from oscr/enable-gocritic-check
...
hack/tools enable additional linter gocritic in golangci-lint
2022-10-23 03:22:24 -07:00
Mike Spreitzer
8d826ee9f8
Introduce constants for the two parameters of seat borrowing
2022-10-22 23:52:43 -04:00
Wei Huang
3115c5ba59
update scheduler config version to v1
2022-10-22 09:06:55 -07: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
76fe4039e5
Merge pull request #113149 from marosset/hpc-inclusterconfig-e2e
...
Add e2e test to validate that hostProcess containers can use inclusterclient
2022-10-21 16:21:56 -07:00
Kubernetes Prow Robot
19aaafbe10
Merge pull request #113219 from marosset/fix-hpc-e2e-metrics
...
HostProcess containers metrics e2e test fixes
2022-10-21 15:05:56 -07:00
Mark Rossetti
8d915ea979
Add e2e test to validate that hostProcess containers can use inclusterclient
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-10-21 14:15:31 -07: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
Kubernetes Prow Robot
1c372121bb
Merge pull request #113214 from pohly/e2e-ginkgo-invocation-fix
...
hack: pass several Ginkgo parameters to the CLI instead of the test binary
2022-10-21 13:57:57 -07:00
Kubernetes Prow Robot
21335cc264
Merge pull request #113264 from alexzielenski/admission-flake-fix
...
fix flaky admission tests
2022-10-21 12:37:50 -07:00
Kubernetes Prow Robot
0a976627ae
Merge pull request #111332 from marosset/hpc-stats-e2e
...
Add e2e to validate stats for Windows hostprocess containers
2022-10-21 12:37:39 -07:00
Patrick Ohly
104aab81a4
hack: pass Ginkgo arguments more intelligently
...
Most parameters can be passed to both the CLI and the suite, but some
(for example, --ginkgo.slow-spec-threshold) had no effect when only
passed to the suite.
2022-10-21 19:57:53 +02: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
Mark Rossetti
da0b66b3fe
Add e2e to validate stats for Windows hostprocess containers
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-10-21 10:07:38 -07:00
Alexander Zielenski
bfbc1f3479
fix flaky admission tests
...
would fllake .04% of the time on my machine.
In tests waiting for objects to be reconciled, would erroneously treat the "Not Found" case as an error rather than waiting a bit.
also add some more context to test errors to improve debuggability
2022-10-21 09:48:01 -07:00
aimuz
bd441d0a58
Fixed: 22422 use singleflight to alleviate simultaneous calls to
...
Signed-off-by: aimuz <mr.imuz@gmail.com>
2022-10-22 00:16:27 +08:00
Oscar Utbult
21fa8d12bb
hack/tools enable additional linter in golangci-lint
...
Enables linter gocritic with two checks enabled for a subset of the project
2022-10-21 17:58:15 +02:00
Kubernetes Prow Robot
4d50d28777
Merge pull request #113193 from kerthcet/cleanup/remove-unnecessary-tests
...
Remove unuseful multi scheduler testcases
2022-10-21 08:32:03 -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
Kubernetes Prow Robot
e876d63ec2
Merge pull request #113244 from SataQiu/print-detail-20221021
...
kubeadm: print the detailed manifest info when decoding it into runtime.Object fails
2022-10-21 02:59:50 -07:00
Paco Xu
ca94a89414
pvc warning for storage request: add unit test
2022-10-21 16:56:41 +08:00
SataQiu
93ece333e6
kubeadm: print the detailed manifest info when decoding it into runtime.Object fails
2022-10-21 16:50:17 +08:00
Paco Xu
0b848bee4e
pvc storage request warning for fractional byte value
...
- create or update
2022-10-21 16:15:55 +08:00
Kubernetes Prow Robot
fe9d04763b
Merge pull request #113231 from Huang-Wei/cleanup-sched-main-test
...
cleanup scheduler server_test.go
2022-10-21 00:45:51 -07: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
98533290e9
Merge pull request #113229 from BenTheElder/more-shell-tidy
...
more shellcheck cleanups
2022-10-20 22:25:50 -07:00