Yoon Park
8d2c81e7ec
Fix comments at fit_test.go to increase redability
2023-03-04 13:03:15 +09:00
Kubernetes Prow Robot
a34f8423a7
Merge pull request #115907 from qinqon/svc-same-address-different-pod
...
svc: Support pods with same address
2023-02-24 19:00:05 -08:00
Kubernetes Prow Robot
ad52387994
Merge pull request #116018 from TommyStarK/bug-116012/volumebinding-inaccurate-log
...
scheduler/framework/plugins/volumebinding: fix inaccurate log for when a volume is bound to a claim
2023-02-24 11:03:28 -08:00
Kubernetes Prow Robot
cfb32121c1
Merge pull request #115928 from pohly/dra-resource-requirements-pvc
...
DRA resource requirements in PVC
2023-02-24 08:39:35 -08:00
TommyStarK
5531295bf9
scheduler/framework/plugins/volumebinding: fix inaccurate log for when a volume is bound to a claim
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2023-02-24 16:43:38 +01:00
Patrick Ohly
093469fb30
api: generated files
2023-02-24 16:32:58 +01:00
Patrick Ohly
f32302e744
api: drop Resources.Claims from PVC and PVC template
...
PVC and containers share the same ResourceRequirements struct. The Claims field
in it only makes sense when used in containers. When used in a PVC, the field
should have been rejected by validation. This was overlooked when introducing
it, so now persisted objects might have it set and/or people may have started
to rely on it being accepted even when it has no effect.
Therefore we cannot reject it in validation anymore, but we can still strip
it out on create or update.
2023-02-24 16:32:58 +01:00
Kubernetes Prow Robot
a5f59ccf37
Merge pull request #116027 from pwschuurman/kep-3335-fix-validation
...
Remove StatefulSetStartOrdinal feature gate checks in StatefulSet validation
2023-02-24 07:17:45 -08:00
Kubernetes Prow Robot
0753f02851
Merge pull request #115944 from SataQiu/warning-for-externalid
...
Add field-level warning for deprecated spec.externalID of node
2023-02-24 06:15:47 -08:00
Peter Schuurman
a714e9e485
Fix validation.go to validate without StatefulSetStartOrdinal feature gate check. Adds test case to validate regression fix of validation failing when spec.ordinals set and feature gate disabled
2023-02-23 16:22:56 -08:00
Kubernetes Prow Robot
35f3fc59c1
Merge pull request #115236 from danielvegamyhre/scalable-indexed-job
...
Support for elastic Indexed Jobs
2023-02-23 14:57:34 -08:00
Daniel Vega-Myhre
8d31da4599
add validation test case for immutable completions on indexed jobs when AllowElasticIndexedJobs is false
2023-02-23 21:05:03 +00:00
Daniel Vega-Myhre
15077a0f28
plumb feature gate value through job validation opts and modify validateCompletions function to only check completions == parallelism after the update, not before
2023-02-23 18:09:47 +00:00
Kubernetes Prow Robot
aa98f6f4da
Merge pull request #115606 from wzshiming/fix/termination_grace_period_seconds
...
`pod.spec.terminationGracePeriodSeconds` is a negative then convert to 1
2023-02-23 07:35:35 -08:00
Enrique Llorente
697ea476e2
svc: Support pods with same address
...
If different pods with same address are exposed by the same service if
some of the endpointslices endpoints are overwriten. This change add the
pod name to the hash function to ensure that all the endpoints are in
place.
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
2023-02-23 11:37:57 +01:00
Kubernetes Prow Robot
fc8b5668f5
Merge pull request #115749 from freddie400/removegetAppArmorFS
...
removed function getAppArmorFS
2023-02-23 00:31:34 -08:00
Daniel Vega-Myhre
c63f448451
change test names and address other comments
2023-02-23 03:25:17 +00:00
Daniel Vega-Myhre
d41302312e
update validation logic so completions is mutable iff completions is modified in tandem with parallelsim so completions == parallelism
2023-02-23 03:25:16 +00:00
SataQiu
ba6fcf4169
add field-level warning for deprecated spec.externalID of node
2023-02-23 09:35:56 +08:00
Kubernetes Prow Robot
b86f94f438
Merge pull request #115256 from danwinship/nodeport-addresses-2
...
clean up kube-proxy nodeport address handling (part 2)
2023-02-22 13:07:05 -08:00
kannon92
32ac4a9581
left over uncounted from tracking cleanup
2023-02-22 16:45:53 +00:00
Dan Winship
c45fff589a
Optimize NodePortAddresses
...
Do more work at construct time and less at
GetNodeAddresses()/ContainsIPv4Loopback() time.
2023-02-22 08:32:21 -05:00
Dan Winship
0c2711bf24
Make NodePortAddresses abstraction around GetNodeAddresses/ContainsIPv4Loopback
2023-02-22 08:32:19 -05:00
Dan Winship
d43878f970
Put all iptables nodeport address handling in one place
...
For some reason we were calculating the available nodeport IPs at the
top of syncProxyRules even though we didn't use them until the end.
(Well, the previous code avoided generating KUBE-NODEPORTS chain rules
if there were no node IPs available, but that case is considered an
error anyway, so there's no need to optimize it.)
(Also fix a stale `err` reference exposed by this move.)
2023-02-22 08:30:36 -05:00
Kubernetes Prow Robot
39a99710bc
Merge pull request #115919 from princepereira/ppereira-115783-etplocal-master
...
[115783] Fix for windows kube-proxy: 'externalTrafficPolicy: Local' results in no clusterIP entry in windows node.
2023-02-22 00:49:56 -08:00
Shiming Zhang
4bdc1364ea
Warn if the terminationGracePeriodSeconds is negative.
...
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2023-02-22 13:36:15 +08:00
Kubernetes Prow Robot
06b6644fcf
Merge pull request #115815 from Huang-Wei/pod-scheduling-readiness-beta
...
Graduate PodSchedulingReadiness to beta
2023-02-21 14:24:32 -08:00
Kubernetes Prow Robot
c94f708ce4
Merge pull request #114470 from danwinship/kep-3178-fixups
...
KEP-3178-related iptables rule fixups
2023-02-21 14:24:08 -08:00
Kubernetes Prow Robot
4dfd2fe74d
Merge pull request #115922 from sourcelliu/impovevolume
...
Improve performance of method haveOverlap
2023-02-21 11:34:08 -08:00
Kubernetes Prow Robot
cd228fa551
Merge pull request #115073 from Nordix/proxy-ipvs-cleanup1
...
proxy/ipvs: Use generic Sets and sanitize code
2023-02-21 11:33:56 -08:00
Kubernetes Prow Robot
572804c93d
Merge pull request #115903 from yoongon/feature/fit-calculation-typo
...
Fix typo at most_allocated_test.go
2023-02-21 09:16:09 -08:00
Kubernetes Prow Robot
07e7e72c07
Merge pull request #115721 from saschagrunert/downward-api-huge-pages-ga
...
Graduate `DownwardAPIHugePages` feature to stable / GA
2023-02-21 09:15:57 -08:00
mantuliu
edc0455c5c
Improve performance of method haveOverlap
...
Signed-off-by: mantuliu <240951888@qq.com>
2023-02-22 00:51:55 +08:00
mantuliu
af85f410a2
Improve the performance of slice usage
...
Signed-off-by: mantuliu <240951888@qq.com>
2023-02-21 19:30:27 +08:00
mantuliu
e1e07e34e3
Improve performance of method haveOverlap
...
Signed-off-by: mantuliu <240951888@qq.com>
2023-02-21 16:50:10 +08:00
Freddie
3db6cc5b8b
changes in NewValidator
2023-02-21 13:02:30 +05:30
Freddie
e33a4d656f
changes in NewValidator
2023-02-21 11:43:51 +05:30
Freddie
02e6092087
made error nil
2023-02-21 11:24:39 +05:30
Prince Pereira
62aed5de60
[115783] Fix for windows kube-proxy: 'externalTrafficPolicy: Local' results in no clusterIP entry in windows node.
2023-02-21 10:40:40 +05:30
Yoon Park
c6276cc2ab
Fix typo at most_allocated_test.go
2023-02-21 10:32:40 +09:00
Kubernetes Prow Robot
9e356a4132
Merge pull request #115719 from saschagrunert/seccomp-default-ga
...
Graduate `SeccompDefault` feature to stable / GA
2023-02-20 01:11:51 -08:00
Sascha Grunert
0c2136ab54
Graduate DownwardAPIHugePages
feature to stable / GA
...
This update updates the feature documentation for its GA graduation.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-02-20 09:52:39 +01:00
Lars Ekman
a05b04ad96
Remove un-used function
2023-02-20 07:26:45 +01:00
Shiming Zhang
5e5c543b13
Forcing the value of TerminationGracePeriodSeconds to 1 if it is negative
2023-02-20 13:14:31 +08:00
Lars Ekman
6ad09dc418
Update unit-tests
2023-02-19 18:25:17 +01:00
Lars Ekman
32f8066119
Simplification and cleanup
2023-02-19 18:25:13 +01:00
Lars Ekman
8d63750c35
Generic sets in netlink and utils
2023-02-19 18:25:07 +01:00
Lars Ekman
17e2c7d535
Move variable closer to it's use
2023-02-19 18:25:02 +01:00
Lars Ekman
3325c7031d
Generic sets in ipset.go
2023-02-19 18:24:56 +01:00
Lars Ekman
fbe671d3f0
Use generic sets
2023-02-19 18:24:51 +01:00