Commit Graph

47318 Commits

Author SHA1 Message Date
SataQiu
3fa55d469c fix a bug where the AttachedVolume is not printed correctly in the log 2023-05-11 22:04:30 +08: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
Kubernetes Prow Robot
dea1312e03 Merge pull request #117677 from Huang-Wei/fix-quota-priorityclass
🐛 Fix incorrect calculation for ResourceQuota with PriorityClass as its scope
2023-05-04 17:59:12 -07:00
Wei Huang
359bcec0e0 benchmark test to evaluate the overhead of podMatchesScopeFunc 2023-05-04 17:02:47 -07:00
Wei Huang
edd032e22b Fix incorrect calculation for ResourceQuota with PriorityClass as its scope 2023-05-04 17:02:47 -07:00
Kubernetes Prow Robot
fa487b0ddd Merge pull request #117751 from liggitt/disable-NewVolumeManagerReconstruction
Disable NewVolumeManagerReconstruction and SELinuxMountReadWriteOncePod feature gate
2023-05-04 15:45:44 -07:00
Kubernetes Prow Robot
ff244415ae Merge pull request #117747 from danwinship/proxy-startup-config
proxy startup-time config handling cleanup (take 2)
2023-05-04 14:37:24 -07:00
Jordan Liggitt
e807a6aec5 Disable NewVolumeManagerReconstruction feature gate 2023-05-04 16:41:20 -04:00
Kubernetes Prow Robot
7dec98cdcc Merge pull request #117718 from aojea/ProxyTerminatingEndpoints
promote ProxyTerminatingEndpoints to GA
2023-05-04 13:23:13 -07:00
Kubernetes Prow Robot
7add692580 Merge pull request #117633 from kannon92/remove-job-tracking-finalizers
remove tracking annotation from validation and webhooks
2023-05-04 10:34:43 -07:00
Antonio Ojea
791573ddb6 promote ProxyTerminatingEndpoints to GA
Change-Id: Ife524c831d905acbc606aa7631e1194f91199938
2023-05-04 12:58:33 +00:00
Kubernetes Prow Robot
fb5e90e5d7 Merge pull request #116634 from kerthcet/feat/integration-test-performance
Improve integration test performance in scheduler
2023-05-04 01:46:42 -07:00
Kubernetes Prow Robot
7efa07c74e Merge pull request #117380 from yulng/dryrun1
Remove GA feature gates in 1.28 about DryRun
2023-05-03 23:54:41 -07:00
Sascha Grunert
63b69dd50c Add support for CRI ErrSignatureValidationFailed
This allows container runtimes to propagate an image signature
verification error through the CRI and display that to the end user
during image pull. There is no other behavioral difference compared to a
regular image pull failure.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-05-04 08:34:11 +02:00
Kante Yin
a7035f5459 Pass Context to StartTestServer
Signed-off-by: Kante Yin <kerthcet@gmail.com>
2023-05-04 10:25:09 +08:00
Kubernetes Prow Robot
d86b74b017 Merge pull request #116575 from claudiubelu/fixes-kuberuntime-unittests
unit tests: Fixes kuberuntime unittests for Windows
2023-05-03 13:48:42 -07:00