Kubernetes Prow Robot
8f9c185696
Merge pull request #116761 from iancoolidge/devel-cpuset-revendor
...
Complete cpuset export to k/utils by revendoring
2023-05-12 08:37:02 -07:00
Daman Arora
3dc4eea889
proxy/service_health: release read lock early
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2023-05-12 15:04:04 +05:30
Kubernetes Prow Robot
02659772cb
Merge pull request #117931 from tklauser/cidrset-rm-getindexforcidr
...
cidrset, multicidrset: directly use getIndexForIP method
2023-05-11 10:59:36 -07:00
Kubernetes Prow Robot
58e13496d6
Merge pull request #116842 from mengjiao-liu/contextual-logging-scheduler-runtime
...
Migrated `pkg/scheduler/framework/runtime` to use contextual logging
2023-05-11 10:59:02 -07:00
Kubernetes Prow Robot
367180d781
Merge pull request #117933 from tenzen-y/replace-deprecated-Prt-utils
...
Job: Replace deprecated pointer utils with supported ones
2023-05-11 09:59:14 -07:00
Kubernetes Prow Robot
87af78dba7
Merge pull request #117907 from SataQiu/fix-controller-log-20230510
...
Fix a bug where the AttachedVolume is not printed correctly in the log
2023-05-11 09:59:02 -07:00
SataQiu
3fa55d469c
fix a bug where the AttachedVolume is not printed correctly in the log
2023-05-11 22:04:30 +08:00
Yuki Iwai
de882f5193
Job: Replace deprecated pointer utils with supported ones
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com >
2023-05-11 19:29:14 +09:00
Tobias Klauser
e7c679c362
cidrset, multicidrset: directly use getIndexForIP method
...
Instead of constructing a *net.IPnet whose .Mask field is never used,
call the getIndexForIP method of *CidrSet and *MultiCIDRSet directly.
2023-05-11 10:53:03 +02:00
Mengjiao Liu
fe728996ca
scheduler test: call frameworkruntime.WithLogger function for contextual logging
2023-05-11 15:46:08 +08:00
Mengjiao Liu
b456392567
Migrated pkg/scheduler/framework/runtime to use contextual logging
2023-05-11 15:46:02 +08:00
Kubernetes Prow Robot
122a459dcb
Merge pull request #117616 from claudiubelu/fix-kubelet-util-windows-ut
...
unit tests: Fixes kubelet util unit tests for Windows
2023-05-10 19:51:09 -07:00
Kubernetes Prow Robot
7aea5a9b25
Merge pull request #117794 from utam0k/interpodaffinity-skip
...
Return Skip in InterPodAffinity#PreScore under specific conditions
2023-05-10 09:34:59 -07:00
utam0k
c0611b6bb3
Return Skip in InterPodAffinity#PreScore under specific conditions
...
This commit updates the InterPodAffinity PreScore to return a Skip status when the following conditions are met:
1. There are no nodes to score.
2. The incoming pod has no inter-pod affinities && the `IgnorePreferredTermsOfExistingPods` option is enabled.
Signed-off-by: utam0k <k0ma@utam0k.jp >
2023-05-10 13:02:23 +00:00
Claudiu Belu
11f1d24165
unit tests: Fixes kubelet util unit tests for Windows
...
The unit tests are currently failing due to missing imports. This commit
addresses this issue.
Additionally, TestIsUnixDomainSocket expects an error to be raised by
IsUnixDomainSocket if the file does not exist, but on Windows we do not
raise such error.
This issue is addressed by Stat-ing the file, and checking
if the file exists or not. We're also handling the case in which the given
filePath is a named pipe, returning false immediately, instead of trying to
dial it as a Unix domain socket.
2023-05-10 11:25:49 +00:00
Kubernetes Prow Robot
af1bf43067
Merge pull request #117872 from danwinship/kep-3453-to-ga
...
MinimizeIPTablesRestore to GA
2023-05-10 00:19:11 -07:00
Kubernetes Prow Robot
65c13c5c21
Merge pull request #117836 from ruquanzhao/addPodUID
...
Passing podUID in AddReference and DeleteReference
2023-05-10 00:18:59 -07:00
RuquanZhao
9150e6b55a
s/of referencedFrom/from referenceFrom/
...
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com >
2023-05-10 10:22:52 +08:00
Tim Hockin
4bbf611773
Retool validation for pod HostNetwork ports
...
This will ensure that HostPort == ContainerPort for pods and that
HostPort == 0 || HostPort == ContainerPort for embedded PodSpecs.
2023-05-09 18:10:44 -07:00
Tim Hockin
ec3379a717
Do hostNet Pod-ports -> hostPorts in Pod defaults
...
Rather than doing it in PodSpec defaulting, which triggers in
Deployments and DaemonSets, do it only when a Pod is actually in play.
2023-05-09 18:10:20 -07:00
Dan Winship
c3971002c9
MinimizeIPTablesRestore to GA
2023-05-09 18:19:00 -04:00
Kubernetes Prow Robot
a9b08f4cc2
Merge pull request #117642 from carlory/fix-001
...
remove ability to re-enable serving deprecated node.k8s.io/v1beta1 types
2023-05-09 09:35:56 -07:00
RuquanZhao
308ab380d7
Add unit testcases of refMap.
...
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com >
2023-05-09 18:05:43 +08:00
Kubernetes Prow Robot
76552fac38
Merge pull request #114764 from claudiubelu/unittests-7
...
unittests: Fixes unit tests for Windows (part 7)
2023-05-08 11:52:51 -07:00
Kubernetes Prow Robot
6442024f1c
Merge pull request #116779 from jpbetz/cel-ratcheting
...
Controlled rollout of CEL libraries and language feautres
2023-05-08 09:51:40 -07:00
Joe Betz
e740f8340e
Introduce CEL EnvSets for managing safe rollout of new CEL features, libraries and expression variables
2023-05-08 11:52:31 -04:00
Kubernetes Prow Robot
dd43d864c1
Merge pull request #116901 from pacoxu/cleanup-KubeletCredentialProviders
...
remove GAed KubeletCredentialProviders (1.28)
2023-05-08 07:55:53 -07:00
Kubernetes Prow Robot
dc08463dff
Merge pull request #117855 from tenzen-y/replace-job-controller-sets
...
Job: Use generic Set in controller
2023-05-08 07:01:29 -07:00
Kubernetes Prow Robot
3187a3333b
Merge pull request #117477 from HirazawaUi/replace-pkg-credentialprovider-ioutil
...
Replace the deprecated ioutil method in the credentialprovider directory
2023-05-08 07:01:17 -07:00
Kubernetes Prow Robot
509c2c7c88
Merge pull request #117656 from carlory/fix-003
...
remove DevicePlugins featuregate
2023-05-08 04:31:17 -07:00
Claudiu Belu
d3237b7258
unittests: Fixes unit tests for Windows (part 7)
...
Currently, there are some unit tests that are failing on Windows due to
various reasons:
- if a powershell command that could return an array (e.g.: Get-Disk) would return an array of
only one element, powershell will in fact return that object directly, and **not** an array
containing that element. In a few cases, these commands are used and their output is converted
to json, after which they're unmarshalled in golang, with the expectation that the unmarshalled
data to be an array. If it's not an array, we get an error.
- when mounting Block Devices, Windows expects the given source to be a Disk Number, not a path.
- for rbd_windows_test.go, we should start with Disk Number 0, which exists on all hosts.
- if a Disk has multiple volumes, Get-Volume doesn't return the volumes in the same order. This
can result in various assertions failing.
- the pkg/volume/rbd/rdb_test.TestPlugin test expects that mounter.MountSensitive is called when
attacher.MountDevice is called. The Windows attacher doesn't currently make that call.
2023-05-08 10:53:39 +00:00
Kubernetes Prow Robot
f418411d0f
Merge pull request #117787 from danwinship/iptables-restore-metrics
...
Add new partial/full sync time metrics for iptables kube-proxy
2023-05-08 01:23:28 -07:00
RuquanZhao
ccb4ca8954
record podUID in refMap in watchBasedManager
...
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com >
2023-05-08 15:32:10 +08:00
Yuki Iwai
e4340f0d9b
Job: Use generic Set in controller
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com >
2023-05-08 15:02:23 +09:00
carlory
22d0aa1d04
remove DevicePlugins featuregate
2023-05-08 12:11:11 +08:00
Kubernetes Prow Robot
6aa68d6a8b
Merge pull request #117802 from kerthcet/cleanup/update-PodFailurePolicy-field
...
Update podFailurePolicy comments
2023-05-06 15:31:17 -07:00
Kubernetes Prow Robot
2a327f8e96
Merge pull request #117538 from TommyStarK/fix-flaky-test/TestGeneratePodSandboxConfig
...
kubelet/kuberuntime: Fix flaky test 'TestGeneratePodSandboxConfig'
2023-05-06 07:23:34 -07:00
Kubernetes Prow Robot
98d2dc9557
Merge pull request #117523 from sourcelliu/event
...
Fix potential mutex usage bug
2023-05-06 07:23:27 -07:00
RuquanZhao
936265e870
Add podUID in AddReference and DeleteReference
...
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com >
2023-05-06 13:58:14 +08:00
Dan Winship
cd51c1803e
Add new partial/full sync time metrics for iptables kube-proxy
2023-05-05 22:48:45 -04:00
Kubernetes Prow Robot
af92da5cb7
Merge pull request #117717 from saschagrunert/invalid-signature-error
...
Add support for CRI `ErrSignatureValidationFailed`
2023-05-05 10:39:25 -07:00
Kubernetes Prow Robot
80c4abd02e
Merge pull request #117655 from carlory/fix-002
...
remove DelegateFSGroupToCSIDriver featuregate
2023-05-05 10:39:14 -07:00
Kubernetes Prow Robot
51ffca216c
Merge pull request #117535 from hysyeah/feature/webhookconfiguration-shortnames
...
add shortnames for mutatingwebhookconfigurations and validatingwebhookconfigurations
2023-05-05 09:17:32 -07:00
Kubernetes Prow Robot
f8e4d4dd00
Merge pull request #117386 from daman1807/generic-sets
...
pkg/proxy: use generic sets
2023-05-05 09:17:24 -07:00
Mike Spreitzer
008576da07
Improve and simplify maintenance of APF bootstrap objects
...
Prepare to make deletion of unwanted object conditional on ResourceVersion.
Remove unnecessary split between finding unwanted objects and removing
them.
Remove unnecessary layers of indirection to reach constant logic.
Use interfaces to remove need for type assertions.
Threaded context into APF object maintenance
Note and respect immutability of desired bootstrap objects
2023-05-05 09:36:48 -04:00
kerthcet
c3e77bf21c
Update podFailurePolicy comments from alpha-level to beta
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2023-05-05 21:23:42 +08:00
Daman
6a5cf99aad
pkg/proxy: human-readable messages
...
Signed-off-by: Daman <aroradaman@gmail.com >
2023-05-05 14:29:24 +05:30
Daman
c2c8b8d178
pkg/proxy: using generic sets
...
pkg/proxy: using generic sets
Signed-off-by: Daman <aroradaman@gmail.com >
2023-05-05 14:29:23 +05:30
Kubernetes Prow Robot
f5e361e4e6
Merge pull request #117107 from pohly/test-integration-race-detection-flowcontrol
...
pkg/registry/flowcontrol: avoid race condition during Create
2023-05-05 00:09:24 -07:00
Kubernetes Prow Robot
3cd81876bd
Merge pull request #116208 from kkkkun/support-short-name-for-flowschema-and-prioritylevelconfigurations
...
support short name for flowschema and prioritylevelconfiguration
2023-05-05 00:09:12 -07:00