Kubernetes Prow Robot
724497cda4
Merge pull request #114094 from Nanfei-Chen/master
...
Modifies receiver names for struct FakeProxier to make them the same.
2023-01-22 16:30:09 -08:00
Kubernetes Prow Robot
f212d42086
Merge pull request #115244 from danwinship/nodeport-addresses-1
...
clean up kube-proxy nodeport address handling (part 1)
2023-01-22 15:26:08 -08:00
Antonio Ojea
dbf178a8d1
add scale test for probes
...
Change-Id: I1e49943531b569b5e02f82369750a9ca899ae726
2023-01-22 16:57:41 +00:00
Antonio Ojea
bfd8f5178e
use custom dialer for http probes
2023-01-22 16:57:41 +00:00
Antonio Ojea
d21f98c6f9
use custom dialer for tcp probes
...
Change-Id: I323b472606eaf3242b665022afe2a79ecf3b8358
2023-01-22 16:57:41 +00:00
Antonio Ojea
1978008c8f
add custom dialer optimized for probes
...
probe util dial set linger to 1s
2023-01-22 16:57:32 +00:00
Dan Winship
463153fb7c
Fix ContainsIPv4Loopback() to match its caller's behavior
...
ContainsIPv4Loopback() claimed that "::/0" contains IPv4 loopback IPs
(on the theory that listening on "::/0" will listen on "0.0.0.0/0" as
well and thus include IPv4 loopback). But its sole caller (the
iptables proxier) doesn't use listen() to accept connections, so this
theory was completely mistaken; if you passed, eg,
`--nodeport-addresses 192.168.0.0/0,::/0`, then it would not create
any rule that accepted nodeport connections on 127.0.0.1, but it would
nonetheless end up setting route_localnet=1 because
ContainsIPv4Loopback() claimed it needed to. Fix this.
2023-01-21 14:25:08 -05:00
Dan Winship
53b24f4ddf
Improve GetNodeAddresses unit test
...
Add names to the tests and use t.Run() (rather than having them just
be numbered, with number 9 mistakenly being used twice thus throwing
off all the later numbers...)
Remove unnecessary FakeNetwork element from the testCases struct since
it's always the same. Remove the expectedErr value since a non-nil
error is expected if and only if the returned set is nil, and there's
no reason to test the exact text of the error message.
Fix weird IPv6 subnet sizes.
Change the dual-stack tests to (a) actually have dual-stack interface
addrs, and (b) use a routable IPv6 address, not just localhost (given
that we never actually want to use IPv6 localhost for nodeports).
2023-01-21 14:25:08 -05:00
Dan Winship
fe49e3933d
Move GetNodeAddresses() and ContainsIPv4Loopback() into a new file
...
Both sound slightly generic, but implement semantics specific to the
handling of NodePort addresses.
(No changes other than moving code.)
2023-01-21 14:25:07 -05:00
Kubernetes Prow Robot
56a14025b0
Merge pull request #115193 from SataQiu/update-storage-api-20230119
...
apiserver: update serialization version priority for policy API
2023-01-19 13:44:15 -08:00
Kubernetes Prow Robot
7913e135a5
Merge pull request #112925 from SergeyKanzhelev/addValueOfLimitToErr
...
added limit value to the pod validation error to simplify debugging
2023-01-19 11:52:15 -08:00
SataQiu
571582b5b2
apiserver: update serialization version priority for policy API
2023-01-19 14:42:26 +08:00
Kubernetes Prow Robot
7b1b8d5734
Merge pull request #114889 from sanposhiho/skip/inter-pod-affinity
...
feature(InterPodAffinity): return Skip in PreFilter
2023-01-18 20:36:35 -08:00
Kensei Nakada
3b20a007ed
feature(InterPodAffinity): return Skip in PreFilter
2023-01-19 01:24:18 +00:00
Kubernetes Prow Robot
98da10e4f2
Merge pull request #115052 from kidddddddddddddddddddddd/fix/volume_zone
...
fix volume_zone, iterate all topologyLabels when check node
2023-01-18 10:54:46 -08:00
Kubernetes Prow Robot
bdaa6bb617
Merge pull request #114776 from jsafrane/pv-secret-validation
...
Allow SecretReference.Name in PVs to have 253 characters
2023-01-18 10:54:34 -08:00
Kubernetes Prow Robot
c63434aaff
Merge pull request #110838 from soltysh/cronjob_improvements
...
CronJob controller cleanups
2023-01-18 09:44:34 -08:00
Maciej Szulik
be44d67566
Re-use common parts between getNextScheduleTime and nextScheduledTimeDuration
...
The two methods nextScheduledTimeDuration and getNextScheduleTime have a
lot of similarities, so this commit squashes the common parts together
along with getMostRecentScheduleTime to avoid code duplication.
2023-01-18 16:52:45 +01:00
Kubernetes Prow Robot
cc68c06f9c
Merge pull request #115163 from SataQiu/lock-AdvancedAuditing-gate-20230118
...
Lock the AdvancedAuditing feature gate to true
2023-01-18 07:12:41 -08:00
Kubernetes Prow Robot
4b2b4e19cc
Merge pull request #114523 from zshihang/token
...
graduate LegacyServiceAccountTokenTracking to beta
2023-01-18 07:12:33 -08:00
Maciej Szulik
cb491a8d0f
Cleanups in controller utils
...
1. Squash two identical sorters byTime
2. Move helper for searching active jobs into utils to exist next to its
counterpart
2023-01-18 13:40:23 +01:00
Viacheslav Panasovets
6adf60fdf4
Do not create endpoints if service of type ExternalName ( #114814 )
2023-01-18 03:12:34 -08:00
SataQiu
c25095b223
the AdvancedAuditing featuregate has been GA since v1.12, and is locked to ture in v1.27
2023-01-18 18:50:15 +08:00
Kubernetes Prow Robot
46f3821bf4
Merge pull request #114586 from andrewsykim/apiserver-lease-rename
...
Rename apiserver identity lease labels to apiserver.kubernetes.io/identity
2023-01-17 21:36:34 -08:00
Kubernetes Prow Robot
5e9fc39d17
Merge pull request #114878 from Nordix/ipvs-allow-any-sheduler
...
Ipvs: remove the scheduler validation
2023-01-17 11:18:46 -08:00
Kubernetes Prow Robot
c913e6ce62
Merge pull request #114542 from pacoxu/EphemeralContainers
...
cleanup: EphemeralContainers feature gate related codes
2023-01-17 11:18:34 -08:00
Kubernetes Prow Robot
5550064bc2
Merge pull request #115063 from kannon92/tracking-remove-comments
...
tracking with finalizers is the default way for the job controller so comments are not needed that say we are tracking with finalizers
2023-01-17 07:56:44 -08:00
Kubernetes Prow Robot
727b5a4b47
Merge pull request #114231 from helio/fix-windows-cpu-maximum
...
win: fix cpu count to calculate cpu_maximum
2023-01-17 07:56:33 -08:00
Kubernetes Prow Robot
f16e62ae0c
Merge pull request #114897 from kidddddddddddddddddddddd/volumebinding
...
feature(volumebinding): return Skip in PreFilter
2023-01-16 23:38:32 -08:00
Kubernetes Prow Robot
7b7b15b821
Merge pull request #115110 from HirazawaUi/delte-pkg-unused-functions
...
delete unused functions in pkg directory
2023-01-16 18:06:43 -08:00
Kubernetes Prow Robot
3d9b437df2
Merge pull request #115109 from HirazawaUi/delte-pkg-volume-unused-functions
...
delete unused functions in pkg/volume directory
2023-01-16 18:06:31 -08:00
Kubernetes Prow Robot
977465e310
Merge pull request #115103 from HirazawaUi/delte-pkg-util-unused-functions
...
delete unused functions in pkg/util directory
2023-01-16 16:58:10 -08:00
Kubernetes Prow Robot
7b01daba71
Merge pull request #115074 from yangjunmyfm192085/deleteklogv0-controller
...
use klog instead of klog.V(0)--controller manager part
2023-01-16 09:58:50 -08:00
HirazawaUi
3b18e80fb4
delete unused functions in pkg directory
2023-01-16 21:43:36 +08:00
HirazawaUi
79b799a0f3
delete unused functions in pkg/volume directory
2023-01-16 21:19:11 +08:00
Kubernetes Prow Robot
ed8cad1e80
Merge pull request #115056 from mimowo/podgc-do-not-add-condition-for-terminated-pods
...
PodGC should not add DisruptionTarget condition for pods which are in terminal phase
2023-01-16 03:04:50 -08:00
HirazawaUi
488b34eeb2
delete unused functions in pkg/util directory
2023-01-16 17:22:35 +08:00
Paco Xu
70e56fa71a
cleanup: EphemeralContainers feature gate related codes
2023-01-15 21:15:01 +08:00
JunYang
29086e2b04
use klog instead of klog.V(0)
2023-01-14 21:15:50 +08:00
kidddddddddddddddddddddd
2ba4c00b3c
hasAnyNodeConstraint
2023-01-14 15:29:54 +08:00
Kubernetes Prow Robot
eabb70833a
Merge pull request #114896 from kidddddddddddddddddddddd/volume_zone
...
feature(volume_zone): return Skip in PreFilter
2023-01-13 23:14:13 -08:00
Kubernetes Prow Robot
3a8e2e399b
Merge pull request #114393 from danielvegamyhre/myfeature
...
Option to ignore existing pods' preferred inter-pod affinities if the incoming pod has no preferred inter-pod affinities
2023-01-13 17:28:15 -08:00
Daniel Vega-Myhre
41817b1888
optionally ignore preferred terms of existing pods unless incoming pod
...
has inter-pod affinities
2023-01-13 23:15:53 +00:00
Andrew Sy Kim
a7de3e15a5
apiserver: use the identity value in the apiserver identity hash
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2023-01-13 16:20:14 -05:00
Andrew Sy Kim
3da0f1809c
apiserver: update lease label key to apiserver.kubernetes.io/identity
...
Signed-off-by: Andrew Sy Kim <andrewsy@google.com >
2023-01-13 15:37:22 -05:00
Kubernetes Prow Robot
2ca95b4df9
Merge pull request #115035 from xing-yang/update_plugin_warning
...
Update warnings for removed in-tree plugins
2023-01-13 12:08:26 -08:00
Kubernetes Prow Robot
9af5ae0365
Merge pull request #115030 from kannon92/remove-pod-error-job-tracking
...
Update SyncJob with PodControllerError updates in job unit tests
2023-01-13 12:08:14 -08:00
Kubernetes Prow Robot
70217a4083
Merge pull request #114944 from mimowo/fix-active-deadline-test
...
Fix the job controller unit test for enforcing ActiveDeadlineSeconds
2023-01-13 10:46:26 -08:00
Michal Wozniak
3833c0c349
PodGC should not add DisruptionTarget condition for pods which are in terminal phase
2023-01-13 18:28:44 +01:00
kannon92
4890928b78
tracking with finalizers is the default way for the job controller
2023-01-13 16:48:35 +00:00