Commit Graph

123732 Commits

Author SHA1 Message Date
Benjamin Elder
0841358732 restrict permitted e2e images to known images list
allows tag bumps, but prevents adding new images to e2e without test/images approval

adds a pointer to agnhost as preferred before adding new images
2024-07-03 10:42:51 -07:00
Kubernetes Prow Robot
ae66cfe582
Merge pull request #125872 from aroradaman/fix-e2e-etp-local-lb
e2e/network/lb: fix url formatting for ipv6
2024-07-03 10:39:51 -07:00
Kubernetes Prow Robot
0d3b859af8
Merge pull request #125871 from dims/fix-for-merged-kubelet-config-does-not-match-the-expected-configuration-in-cgroupv1-based-jobs
Fix for Merged kubelet config does not match the expected configuration in cgroupv1 based jobs
2024-07-03 08:58:32 -07:00
Daman Arora
6605afe58a e2e/network/lb: fix url formatting for ipv6
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-07-03 20:48:54 +05:30
Davanum Srinivas
2dccf29f33
Fix for Merged kubelet config does not match the expected configuration in cgroupv1 based jobs
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-07-03 10:54:09 -04:00
Mike Spreitzer
7848612de8
Brush up the sample controller
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com>
2024-07-03 09:57:35 -04:00
Kubernetes Prow Robot
0cc57258c3
Merge pull request #125860 from saschagrunert/apparmor-rejection
Fix kubelet AppArmor rejection test
2024-07-03 06:14:50 -07:00
Kubernetes Prow Robot
30ffa521e6
Merge pull request #125846 from tkashem/remove-apf-feature-gate
Remove APF feature gate APIPriorityAndFairness
2024-07-03 06:14:39 -07:00
ArkaSaha30
7be52ad4ba
Bump govulncheck to 1.1.2
This commit will bump govulncheck from 1.1.0 to 1.1.2 which now supports OpenVex.

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-03 17:17:41 +05:30
Kubernetes Prow Robot
fea466ea7b
Merge pull request #125853 from Jefftree/patch-4
Remove impossible error check controlplane/apiserver/server.go
2024-07-03 02:05:35 -07:00
Sascha Grunert
2df920120a
Fix kubelet AppArmor rejection test
The corresponding e2e test needs to be adjusted side by side to the
merged PR: https://github.com/kubernetes/kubernetes/pull/125776.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-07-03 10:54:22 +02:00
Sascha Grunert
448430701b
Add OCI VolumeSource CRI API
Adding the required container runtime interface API so that runtimes and
consumers can start using it.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-07-03 09:07:46 +02:00
Kubernetes Prow Robot
11c689b945
Merge pull request #125675 from tnqn/fix-rapid-endpoints-update
Fix endpoints status out-of-sync when the pod state changes rapidly
2024-07-02 23:48:42 -07:00
Kubernetes Prow Robot
c9a5b6ea6a
Merge pull request #125847 from knabben/increase-win-limit
Increasing limit margin to 8% on pod cpu limit test
2024-07-02 21:20:44 -07:00
Jeffrey Ying
1c8204ded1
Remove impossible error check controlplane/apiserver/server.go 2024-07-02 20:41:54 -04:00
Kubernetes Prow Robot
f00eee5a40
Merge pull request #125468 from saschagrunert/kubelet-sig-node-approvers
Use `sig-node-approvers` alias in `pkg/kubelet/OWNERS`
2024-07-02 16:09:38 -07:00
Amim Knabben
e5de3c3a81 Increasing limit margin to 8% on pod cpu limit test 2024-07-02 14:09:51 -03:00
Abu Kashem
ae647032a7
apiserver: remove feature gate APIPriorityAndFairness 2024-07-02 13:00:43 -04:00
Kubernetes Prow Robot
6a0aeb2adb
Merge pull request #125151 from skitt/drop-ptr-wrappers-pkg-controller
pkg/controller: drop pointer wrapper functions
2024-07-02 09:28:00 -07:00
Kubernetes Release Robot
5c9d4fa23d CHANGELOG: Update directory for v1.31.0-alpha.3 release 2024-07-02 14:32:27 +00:00
Stephen Kitt
f55b59fc02
pkg/controller: drop pointer wrapper functions
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affected files.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-07-02 16:19:12 +02:00
Maciej Szulik
4b5cf0a276
Remove deprecated kubectl drain flag
delete-local-data was deprecated back in v1.20 with this commit:
625e47aaa2

It's about time we entirely drop the support for this flag. Users should
be already using delete-emptydir-data instead.
2024-07-02 15:52:04 +02:00
Maciej Szulik
f1917f18eb
Remove deprecated kubectl run flags
This commits removes the following flags from kubectl run:
- filename
- force
- grace-period
- kustomize
- recursive
- timeout
- wait

Those flags are deprecated since v1.26, see this commit
09804a198c.
2024-07-02 15:51:49 +02:00
Kubernetes Prow Robot
a38cde339a
Merge pull request #125832 from atiratree/fix-UnhealthyPodEvictionPolicy-e2e
fix readiness flake in UnhealthyPodEvictionPolicy
2024-07-02 05:15:59 -07:00
Kubernetes Prow Robot
e341d5b1aa
Merge pull request #125626 from linxiulei/fix_routine_log
Fix httplog not logging watch duration
2024-07-02 04:05:59 -07:00
Sascha Grunert
ae8f6f002d
cri: allow GetContainerEvents to pass a context
The context can be used for timeout purposes for example, not really for
Kubernetes but other consumers like cri-tools.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-07-02 12:03:34 +02:00
Eric Lin
06c7058115 Fix httplog not logging watch duration in separate goroutines
Signed-off-by: Eric Lin <exlin@google.com>
2024-07-02 09:58:44 +00:00
Gaurav Ghildiyal
233010f2fa Change ServiceTrafficDistribution feature-gate to beta and enable by default. 2024-07-01 23:55:39 -07:00
Gaurav Ghildiyal
386ca0ff4f Add integration test for verifying the enablement and disablement of
feature-gate.
2024-07-01 23:51:59 -07:00
olderTaoist
b478621596 register unscheduable plugin when prefileter with NodeNames 2024-07-02 13:02:45 +08:00
Kubernetes Prow Robot
ff8834cdd7
Merge pull request #125690 from mengjiao-liu/fix-metrics-miss
Fixed metrics missing issue for metrics reference page
2024-07-01 20:15:47 -07:00
Ben Luddy
6c18d0ec2e
Fix fmt verbs for strings in roundtrip test errors.
Some of the calls to t.Errorf from apitesting/roundtrip use the %#v verb (Go-syntax representation)
for string arguments that are have already been formatted for legibility by something like like
cmp.Diff. Quoting and escaping newlines in these strings makes them harder to read, like this:

> ...
> "(*storage.CSIDriver)({\n TypeMeta: (v1.TypeMeta) {\n Kind: (string) \"\",\n APIVersion: (string)
> \"\"\n },\n ObjectMeta: (v1.ObjectMeta) {\n Name: (string) (len=15) \"犱âM邽[ǎ*ʄ\",\n
> ...
2024-07-01 23:11:53 -04:00
Kubernetes Prow Robot
7e1a5a0ea8
Merge pull request #125687 from bart0sh/PR146-DevicePluginCDIDevices-LockToDefault
kube_features: DevicePluginCDIDevices: LockToDefault
2024-07-01 17:07:41 -07:00
Kubernetes Prow Robot
0c8dc93049
Merge pull request #125498 from ahmetb/kubelet-predicate-description
kubelet: Surface description for predicate failed Events
2024-07-01 17:07:32 -07:00
Filip Křepinský
3f8d799c9f fix readiness flake in UnhealthyPodEvictionPolicy 2024-07-02 00:15:59 +02:00
Kubernetes Prow Robot
79fee524e6
Merge pull request #125483 from wojtek-t/storage_readiness_hook
Implement resilient watchcache initialization post-start-hook
2024-07-01 13:48:29 -07:00
Kubernetes Prow Robot
688c1c3b5e
Merge pull request #125823 from macsko/fix_typos_and_error_messages_in_scheduling_queue_tests
Fix typos and error messages in scheduling queue tests
2024-07-01 07:45:35 -07:00
Dan Winship
505f6833d9 Require kernel 5.13 for nftables kube-proxy 2024-07-01 10:07:27 -04:00
Dan Winship
912eca9e8b Reorganize nftables proxy init
Move the "nftables is supported" check into a separate function, and
call it before the --init-only return.
2024-07-01 10:07:27 -04:00
Quan Tian
3bd975862a Fix endpoints status out-of-sync when the pod state changes rapidly
When Pod state changes rapidly, endpoints controller may use outdated
informer cache to sync Service. If the outdated endpoints appear to be
expected by the controller, it skips updating it.

The commit fixes it by checking if endpoints informer cache is outdated
when processing a service. If the endpoints is stale, it returns an
error and retries later.

Signed-off-by: Quan Tian <quan.tian@broadcom.com>
2024-07-01 21:56:36 +08:00
Kubernetes Prow Robot
a2a5b67442
Merge pull request #125822 from kerthcet/fix/schedule_perf-failure
Log the error margin to avoid failures in schedule_perf
2024-07-01 05:07:27 -07:00
Maciej Skoczeń
c5d376dc20 Fix typos and error messages in scheduling queue tests 2024-07-01 11:37:53 +00:00
Wojciech Tyczyński
a5772bd425 Implement resilient watchcache initialization post-start-hook 2024-07-01 12:54:57 +02:00
kerthcet
e106b3a31f Log the error margin to avoid failures in schedule_perf
Signed-off-by: kerthcet <kerthcet@gmail.com>
2024-07-01 18:22:31 +08:00
Kubernetes Prow Robot
d729af9446
Merge pull request #125591 from p0lyn0mial/upstream-promote-watch-list-to-beta
Promote WatchList feature to Beta
2024-07-01 02:31:14 -07:00
Kubernetes Prow Robot
2e39a55d49
Merge pull request #125794 from bzsuni/cleanup/PollImmediateWithContext
Use PollUntilContextTimeout to replace PollImmediateWithContext
2024-07-01 00:13:05 -07:00
Kubernetes Prow Robot
a326cfa2b5
Merge pull request #125691 from kerthcet/fix/multi-profil
fix flaky integration test about multi profiles
2024-06-30 23:09:06 -07:00
kerthcet
20a70e2301 Fix flaky test in maxSurge integration tests
Signed-off-by: kerthcet <kerthcet@gmail.com>
2024-07-01 10:45:18 +08:00
Kubernetes Prow Robot
db9419c01d
Merge pull request #125803 from mmorel-35/len+empty/test
fix: enable and fixes rules from testifylint on test package
2024-06-30 12:59:21 -07:00
Michael Fraenkel
cd949bafa4
use MakePodSpec consistently (#125805)
cleaning up some tests after MakePod/MakePodSpec were introduced
2024-06-30 10:28:36 -07:00