Claudiu Belu
9f95b7b18c
unittests: Fixes unit tests for Windows (part 3)
...
Currently, there are some unit tests that are failing on Windows due to
various reasons:
- paths not properly joined (filepath.Join should be used).
- Proxy Mode IPVS not supported on Windows.
- DeadlineExceeded can occur when trying to read data from an UDP
socket. This can be used to detect whether the port was closed or not.
- In Windows, with long file name support enabled, file names can have
up to 32,767 characters. In this case, the error
windows.ERROR_FILENAME_EXCED_RANGE will be encountered instead.
- files not closed, which means that they cannot be removed / renamed.
- time.Now() is not as precise on Windows, which means that 2
consecutive calls may return the same timestamp.
- path.Base() will return the same path. filepath.Base() should be used
instead.
- path.Join() will always join the paths with a / instead of the OS
specific separator. filepath.Join() should be used instead.
2022-10-21 19:25:48 +03:00
Kubernetes Prow Robot
83415e5c9e
Merge pull request #113125 from daschott/daschott/winkernel_owners
...
added daschott to proxier/winkernel owners
2022-10-17 19:53:40 -07:00
Kubernetes Prow Robot
2b6abb1b33
Merge pull request #113113 from kerthcet/fix/metics-in-scheduler
...
Fix metrics time durations in schedulerCycle and bindingCycle
2022-10-17 19:53:17 -07:00
daschott
fba80c8b89
added daschott to winkernel owners
2022-10-17 16:28:11 -07:00
Kubernetes Prow Robot
85643c0f93
Merge pull request #108501 from zroubalik/hpa
...
add `--concurrent-horizontal-pod-autoscaler-syncs` flag to kube-controller-manager
2022-10-17 14:13:18 -07:00
Kubernetes Prow Robot
28ced69b76
Merge pull request #113054 from logicalhan/proxy-metric
...
remove rate limiter metric as it is not in use
2022-10-17 11:09:18 -07:00
Kubernetes Prow Robot
521fbd7e6a
Merge pull request #112521 from yuanchen8911/profile-config
...
Add a scheduler profile level parameter percentageOfNodesToScore
2022-10-17 11:09:06 -07:00
Zbynek Roubalik
1cefcdea2d
add --concurrent-horizontal-pod-autoscaler-syncs
flag to kube-controller-manager
...
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2022-10-17 17:39:31 +02:00
kerthcet
1582c42e2b
Fix metrics time durations in schedulerCycle and bindingCycle
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-10-17 23:24:24 +08:00
SataQiu
ba925a8393
scheduler: remove unused constant DefaultBindTimeoutSeconds from VolumeBinding plugin
2022-10-17 17:25:59 +08:00
Amim Knabben
c0d323f1f6
Fixing words in the comment
2022-10-15 15:54:41 -03:00
Kubernetes Prow Robot
6f579d3ceb
Merge pull request #111616 from ndixita/credential-api-ga
...
Move the Kubelet Credential Provider feature to GA and Update the Credential Provider API to GA
2022-10-15 07:53:09 -07:00
Kubernetes Prow Robot
d754183866
Merge pull request #112163 from aojea/static_allocation_ga
...
graduate ServiceIPStaticSubrange to GA
2022-10-14 17:31:18 -07:00
Kubernetes Prow Robot
6705015101
Merge pull request #112133 from knabben/remove-kproxy-userspace
...
Remove kube-proxy userspace modes
2022-10-14 17:31:06 -07:00
Yuan Chen
7297f48f12
Add profile level percentageOfNodesToScore
...
Fix conversion errors
Changed the order
update
update
fix manaul coversions
keep the global parameter for backward compatibility
Address Wei's comments
Fix an error
Fix issues
Add unit tests for validation
Fix a comment
Address comments
Update comments
fix verifiation errors
Add tests for scheme_test.go
Convert percentageOfNodesToScore to pointer
Fix errors
Resolve conflicts
Fix testing errors
Address Wei's comments
Revert IntPtr to Int changes
Address comments
Not overrite percentageOfNodesToScore
Fix a bug
Fix a bug
change errs to err
Fix a nit
Remove duplication
Address comments
Fix lint warning
Fix an issue
Update comments
Clean up
Address comments
Revert changes to defaults
fix unit test error
Update
Fix tests
Use default PluginConfigs
2022-10-14 13:01:06 -07:00
Kubernetes Prow Robot
0ef0fa0e82
Merge pull request #112824 from gjkim42/promote-expandeddnsconfig-to-beta
...
Promote ExpandedDNSConfig feature to beta stage
2022-10-14 10:54:58 -07:00
Kubernetes Prow Robot
5e775e3c83
Merge pull request #112558 from aojea/ipam_owners
...
update sig-network reviewers/approvers on controller manager
2022-10-14 10:54:46 -07:00
Kubernetes Prow Robot
5c36a3c372
Merge pull request #110902 from 0xff-dev/master
...
convert int32 to pointer using library function
2022-10-14 08:48:46 -07:00
Kubernetes Prow Robot
9bedff1147
Merge pull request #112948 from mimowo/112873-fix-job-finished-metric
...
Fix the job finished metric issue due to the final job status update occasionally failing
2022-10-14 06:24:57 -07:00
Kubernetes Prow Robot
0207f7ae86
Merge pull request #112700 from SataQiu/fix-kubectl-20220923
...
Fix the bug that kubectl convert does not pick the right api version
2022-10-14 06:24:46 -07:00
Kubernetes Prow Robot
542ec97705
Merge pull request #113037 from pacoxu/fsnotify-v1.6.0
...
update fsnotify to v1.6.0
2022-10-13 23:00:57 -07:00
Kubernetes Prow Robot
d4ee6433b8
Merge pull request #112950 from Dingshujie/fix_ipvs
...
add rule to KUBE-SERVICES Chains to return early when source address match localhost
2022-10-13 23:00:46 -07:00
Kubernetes Prow Robot
040d7aaafa
Merge pull request #112939 from lengrongfu/feat/update_preemption_victims_metric
...
feat: update preemption victims metric
2022-10-13 16:38:46 -07:00
Han Kang
2bbd445f50
remove rate limiter metric as it is not in use
...
Change-Id: I91157653e3860eeecc3f572aee88da6ffc65faed
2022-10-13 13:07:11 -07:00
lengrongfu
8dcd869665
feat: update preemption victims metric
...
Signed-off-by: lengrongfu <rongfu.leng@daocloud.io>
2022-10-14 02:45:21 +08:00
Kubernetes Prow Robot
01019770cf
Merge pull request #112789 from enj/enj/r/kms_load_once_v2
...
Load encryption config once (second approach)
2022-10-13 11:25:02 -07:00
Michal Wozniak
b64e5b2d15
Fix the occasional double-counting job_finished_total metric
...
The reason for the issue is that the metrics were bumped before the
final job status update. In case the update failed the path was
repeated by the next syncJob leading to double-counting of the metrics.
The solution is to delay recording metrics and broadcasting events
after the job status update succeeds.
2022-10-13 17:23:03 +02:00
Monis Khan
f507bc2553
Load encryption config once
...
This change updates the API server code to load the encryption
config once at start up instead of multiple times. Previously the
code would set up the storage transformers and the etcd healthz
checks in separate parse steps. This is problematic for KMS v2 key
ID based staleness checks which need to be able to assert that the
API server has a single view into the KMS plugin's current key ID.
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-10-13 10:52:29 -04:00
Paco Xu
2ce7a81169
fsnotify: use event.Has instead of "event.Op&h == h"
2022-10-13 13:42:26 +08:00
Dixita Narang
20fa9635d6
Adding ndixita@ to KubeletCredentialProviders feature owner, and capitalizing GA
2022-10-12 17:12:17 +00:00
kidddddddddddddddddddddd
b901ef0f68
changes in test files
2022-10-12 22:11:04 +08:00
kidddddddddddddddddddddd
121d24cfc7
changes in non-test files
2022-10-12 21:09:55 +08:00
kidddddddddddddddddddddd
1eb9d42c3f
function changes
2022-10-12 21:00:48 +08:00
Kubernetes Prow Robot
525280d285
Merge pull request #112643 from SergeyKanzhelev/removeDynamicKubeletConfig
...
remove DynamicKubeletConfig feature gate from the code
2022-10-12 01:33:00 -07:00
Kubernetes Prow Robot
5113b705d2
Merge pull request #112563 from kerthcet/cleanup/optimize-new-scheduler
...
Remove newScheduler for reducing complexity
2022-10-11 12:32:41 -07:00
Gunju Kim
add4652352
Promote ExpandedDNSConfig feature to the beta stage
...
This adds an e2e test for the feature and promotes ExpandedDNSConfig
feature to the beta stage.
2022-10-11 21:00:00 +09:00
DingShujie
e1f0b85334
Dismiss connects to localhost early in the service chain
...
Signed-off-by: DingShujie <dingshujie@huawei.com>
2022-10-11 13:57:35 +08:00
Jordan Liggitt
dd0910691f
Move root approvers to subdirs
2022-10-10 13:43:03 -04:00
Jordan Liggitt
04b178b49b
Make root approval non-recursive
2022-10-10 08:26:53 -04:00
kerthcet
127178661d
Remove newScheduler to simplify instantiation
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-10-10 10:25:37 +08:00
Kubernetes Prow Robot
b4eec3c2ad
Merge pull request #112792 from cici37/celAd
...
Add feature gate CelValidatingAdmission
2022-10-05 16:39:53 -07:00
Amim Knabben
7df6c02288
Remove Linux and Windows Kube-proxy Userspace mode
2022-10-05 16:59:02 -03:00
Cici Huang
d8ab3fea0d
Update feature gate name to CELValidatingAdmission
2022-10-05 19:40:50 +00:00
Benjamin Elder
cee4ee074d
emeritus fejta, Erick is inactive after leaving google for spaceX
2022-10-04 17:07:35 -07:00
Kubernetes Prow Robot
27344212ce
Merge pull request #112827 from SataQiu/clean-scheduler-20221003
...
scheduler: cleanup the unused event types about Service
2022-10-04 16:24:00 -07:00
Kubernetes Prow Robot
3ef7784b75
Merge pull request #112837 from daschott/daschott/winkernel-lb-id-regression
...
Fix winkernel proxier setting the wrong HNS loadbalancer ID for ingresss IP
2022-10-04 15:16:00 -07:00
Kubernetes Prow Robot
98233be715
Merge pull request #112709 from swagatbora90/kubelet-tracing
...
Support otel tracing in cri remote image service
2022-10-04 14:12:00 -07:00
Kubernetes Prow Robot
afebf498d7
Merge pull request #111314 from BinacsLee/binacs/cleanup-use-clone-to-avoid-interim-slice
...
cleanup: use sets.Clone() to avoid interim slice
2022-10-04 07:34:22 -07:00
Kubernetes Prow Robot
85e7ddbcfb
Merge pull request #111313 from BinacsLee/binacs/use-len-in-options
...
cleanup: use sets.Len() insead of len(sets.List())
2022-10-04 07:34:16 -07:00
daschott
5bbf421841
Fix winkernel proxier setting the wrong HNS loadbalancer ID for ingress IP
2022-10-03 13:23:56 -07:00