Stephen Kitt
e6f44957cd
Regenerate all listers
...
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-04-22 13:15:04 +02:00
Stephen Kitt
2e9adcd14a
Generify lister-gen
...
This adds a generic implementation of a lister, and uses it to replace
the template code in generated listers. The corresponding templates
are no longer used and are removed.
Listers are reduced to their interfaces (non-namespaced and namespaced
if appropriate), their specific structs, and their constructors. All
method implementations are provided by the generic implementation. The
dedicated interface is preserved so that each lister can have its own
set of methods (e.g. the method returning the namespaced lister if
appropriate), and the dedicated struct is preserved to allow
expansions to be defined where necessary.
The external interface is unchanged and doesn't expose generics.
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-04-22 13:15:04 +02:00
Stephen Kitt
44d7267bd6
Add a lister-gen expansion example
...
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-04-22 13:15:03 +02:00
Daman Arora
ce41bc849f
agnhost: version bump to v2.50
...
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-22 16:35:13 +05:30
Daman Arora
1c8799f814
agnhost/connect: send and recv data from SCTP server
...
If the client immediately closes connection after SCTP handshake,
the server will die with EOF, adding send and recv calls in the
client to make sure server client handling loop exits gracefully.
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-22 16:31:48 +05:30
Daman Arora
8cf4567f3c
agnhost/netexec: handle nil pointer dereference for SCTP server
...
If the client immediately closes connection after SCTP handshake, the
remote-addr fetched by SCTP server can be nil, causing the server to crash.
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-22 16:31:48 +05:30
Kubernetes Prow Robot
8946348636
Merge pull request #123900 from rmiki/task/123899
...
[ja]fix typo in "kubectl config delete-context -h"
2024-04-22 02:33:06 -07:00
Kubernetes Prow Robot
cb3bd5bc41
Merge pull request #124205 from mkarrmann/wait-for-pods-e2e-cleanup-111092
...
chore/refactor(e2e tests): Solidify Contract for and Cleanup WaitForPodsRunningReady
2024-04-22 01:24:24 -07:00
Kubernetes Prow Robot
4d9b50bcb1
Merge pull request #123927 from p0lyn0mial/upstream-cacher-decrease-watcher-draining-no-bookmark-after
...
apiserver/storage/cacher: decrease running time of TestCacheWatcherDrainingNoBookmarkAfterResourceVersionReceived
2024-04-22 01:24:10 -07:00
Ziqi Zhao
be4535bd34
convert k8s.io/kubernetes/pkg/proxy to contextual logging, part 1
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
2024-04-22 13:08:41 +08:00
Kubernetes Prow Robot
c1924df0a8
Merge pull request #124421 from danwinship/pod-host-ips-test
...
Fix up pod hostIPs e2e
2024-04-21 20:09:33 -07:00
Kubernetes Prow Robot
5514277007
Merge pull request #124422 from danwinship/windows-hybrid-e2e-tags
...
Fix networking feature tags in Windows hybrid network e2e
2024-04-21 18:39:39 -07:00
Kubernetes Prow Robot
74877bb43b
Merge pull request #124417 from thockin/remove_gate_DefaultHostNetworkHostPortsInPodTemplates
...
Remove gate DefaultHostNetworkHostPortsInPodTemplates
2024-04-21 18:39:33 -07:00
Kubernetes Prow Robot
a6bfb92407
Merge pull request #124104 from SergeyKanzhelev/grpcTls
...
allow agnhost to set TLS gRPC
2024-04-21 18:39:24 -07:00
Kubernetes Prow Robot
01b2e12cc4
Merge pull request #124423 from danwinship/network-e2e-features
...
document (and fixup) sig-network e2e features
2024-04-21 16:25:27 -07:00
Kubernetes Prow Robot
37ca0377d5
Merge pull request #124117 from aojea/netpol
...
allow to use kube-network-policies on CI
2024-04-21 07:26:57 -07:00
Antonio Ojea
e636a63e85
allow to use kube-network-policies on CI
2024-04-21 10:01:31 +00:00
Dan Winship
52e88157b8
Document sig-network e2e features
2024-04-20 11:37:53 -04:00
Dan Winship
4a1058daa1
Fix networking feature tags in Windows hybrid network e2e
2024-04-20 11:24:50 -04:00
Dan Winship
01c7378531
Fix up pod hostIPs e2e
...
- The feature is GA so there's no feature gate so it doesn't need any
special label now.
- The test is not dual-stack-specific, so it shouldn't claim to be.
- It asserted node-IP-assigning behavior that is not guaranteed to
work on all clouds. (Among other things: that there are no "extra"
InternalIPs, and that there are InternalIPs of every supported IP
family, rather than there only being ExternalIPs of some families.)
2024-04-20 10:31:29 -04:00
Dan Winship
a1c1ef31df
Remove unnecessary e2e feature.UDP
...
[Feature:UDP] was probably added in the past by analogy to
[Feature:SCTP], but is unnecessary since UDP support has always been
required.
2024-04-20 10:02:59 -04:00
jwcesign
f0aa62bc96
upgrade: upgrade dependencies github.com/prometheus/common to the newest version
...
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-04-20 09:53:16 +08:00
Kubernetes Prow Robot
7f68d014e5
Merge pull request #123749 from iholder101/swap_log/only_once_avoid_spam
...
[KEP2400] Avoid logging that swap cgroup controller is missing for every container
2024-04-19 17:00:46 -07:00
Kubernetes Prow Robot
caaa924def
Merge pull request #124416 from soltysh/update_sig_cli
...
Update sig-cli leads
2024-04-19 15:31:13 -07:00
Kubernetes Prow Robot
bad0f06520
Merge pull request #124156 from bells17/support-mac-os-verify-file-size
...
[hack/verify-file-sizes.sh] Support Mac OS X
2024-04-19 15:31:04 -07:00
Kubernetes Prow Robot
534d7cbc1a
Merge pull request #123905 from aojea/field_selector
...
Field selector for Services based on ClusterIP and Type
2024-04-19 15:30:55 -07:00
Tim Hockin
a2fb1b51ac
Remove DefaultHostNetworkHostPortsInPodTemplates gate
...
This behavior was deprecated in 1.28.
2024-04-19 15:24:15 -07:00
Sergey Kanzhelev
e9424f34ed
allow agnhost to set TLS gRPC
2024-04-19 21:25:10 +00:00
Kubernetes Prow Robot
5a71f37805
Merge pull request #124316 from pohly/dra-kubelet-remove-v1alpha2
...
DRA: remove support for v1alpha2 kubelet gRPC API
2024-04-19 14:18:52 -07:00
Kubernetes Prow Robot
fd8239ce8f
Merge pull request #120696 from pohly/slog
...
slog support
2024-04-19 14:18:46 -07:00
bells17
70499e375e
Changed to use "wc -c" to ensure the command works on both Linux and Mac OS X with a single implementation
2024-04-20 04:39:50 +09:00
Kubernetes Prow Robot
d1b2490c80
Merge pull request #119589 from carlory/fix-kubectl-1439
...
fix unusable secret manifest for type docker-registry
2024-04-19 11:44:48 -07:00
Kubernetes Prow Robot
3d58fe5a7b
Merge pull request #123970 from carlory/rm-volumelimit-interface
...
remove VolumePluginWithAttachLimits interface
2024-04-19 10:36:11 -07:00
Maciej Szulik
88ea2a1db0
Update sig-cli leads
2024-04-19 19:03:36 +02:00
Patrick Ohly
77341f7595
DRA: remove support for v1alpha2 kubelet API
...
The v1alpha2 API is several releases old. No current drivers should still
depend on it.
2024-04-19 18:27:05 +02:00
Maciej Szulik
7ec6762eb3
Promote Filip as sig-apps approver
2024-04-19 18:08:00 +02:00
Patrick Ohly
a66d2163f9
dra scheduler: fix data race in unit test
...
Clearing some irrelevant fields in objects caused a flaky data race alert
because in some cases, the objects were pointers into a shared cache. A better
solution is to treat the objects as read-only and ignore the irrelevant fields.
2024-04-19 17:14:13 +02:00
Kubernetes Prow Robot
f39ece24b2
Merge pull request #124393 from carlory/kubeadm-3045-1
...
Graduate the flag for structural output --experimental-output to just --output
2024-04-19 06:32:49 -07:00
Kubernetes Prow Robot
5e229a02d3
Merge pull request #124185 from aojea/e2e_stress_remotecommand
...
e2e test to execute 1000 times in a container with concurrency 10
2024-04-19 05:17:57 -07:00
Kubernetes Prow Robot
69b648a1d7
Merge pull request #124223 from chenk008/fix_apf_countTracker
...
Fix: EtcdOptions.StorageObjectCountTracker is nil, APF estimator got ObjectCountNotFoundErr
2024-04-19 01:56:35 -07:00
carlory
a23e278d15
Graduate the flag for structural output --experimental-output to just --output
2024-04-19 16:22:45 +08:00
Michal Wozniak
dccb775d6e
Make e2e node tests more resiliant by ensuring the SIGTERM trap is registered
2024-04-19 09:05:36 +02:00
chenk008
c5d0e59d45
Update pkg/controlplane/apiserver/config_test.go
...
Co-authored-by: Paco Xu <paco.xu@daocloud.io>
2024-04-19 11:11:21 +08:00
Kubernetes Prow Robot
bf07ef3950
Merge pull request #124383 from danwinship/nftables-proxy-to-beta
...
KEP-3866 kube-proxy nftables to beta
2024-04-18 17:42:20 -07:00
Kubernetes Prow Robot
fd40d68a39
Merge pull request #123238 from MirrorShih/master
...
Fix infinite loop and replace channel with queue
2024-04-18 14:30:07 -07:00
Kubernetes Prow Robot
0e39ca84dc
Merge pull request #124375 from neolit123/1.31-remove-experimental-from-rootfs
...
kubeadm: remove the EXPERIMENTAL description from --rootfs
2024-04-18 13:05:35 -07:00
Kubernetes Prow Robot
b2a8ac15a0
Merge pull request #124221 from arturhoo/fix-spelling-scheduler-metrics
...
scheduler: fix typo in metric pod_scheduling_sli_duration_seconds help
2024-04-18 10:46:19 -07:00
Kubernetes Prow Robot
bbfd2145de
Merge pull request #124091 from bitoku/dra-nil-check
...
kubelet: add nil check for Node(Un)PrepareResources.
2024-04-18 10:46:05 -07:00
Dan Winship
9f580afa66
cluster: configure nftables mode for kube-proxy
...
(based on a patch from Antonio Ojea)
2024-04-18 13:20:24 -04:00
Dan Winship
2055a490e8
Rework cluster/ kube-proxy setup for --proxy-mode
2024-04-18 13:20:24 -04:00