Kubernetes Prow Robot
2f2021e208
Merge pull request #114412 from thockin/api_warn_workloads_name_not_dnslabel
...
Issue API warnings when workload names are not DNS labels
2022-12-16 18:07:41 -08:00
Maxim Patlasov
fcf89f66a9
Fix installDriverToCSINode(): we should not skip CSINode update if Allocatable.Count changed
2022-12-16 18:02:59 -08:00
Sunny Song
5e8ca18308
Add pod to dsw if termination is not completed during reconstruction #issues/113979
2022-12-16 16:32:34 -08:00
Kubernetes Prow Robot
9edd4d86c8
Merge pull request #114522 from zshihang/master
...
lock LegacyServiceAccountTokenNoAutoGeneration
2022-12-16 14:24:32 -08:00
Kubernetes Prow Robot
f11e9aaf10
Merge pull request #113929 from howardjohn/endpointslice/use-optimized-set
...
endpoints: remove obsolete ServiceSelectorCache
2022-12-16 14:24:09 -08:00
Tim Hockin
8f62b94991
cronjob: API warn when name is not DNS label
2022-12-16 13:08:08 -08:00
Tim Hockin
fec8e721b2
job: API warn when name is not DNS label
2022-12-16 13:07:42 -08:00
Tim Hockin
b65cec86eb
deployment: API warn when name is not DNS label
2022-12-16 13:07:13 -08:00
Tim Hockin
820e2fff0d
rs: API warn when name is not DNS label
2022-12-16 13:06:43 -08:00
Tim Hockin
e27cf75094
rc: API warn when name is not DNS label
2022-12-16 13:06:10 -08:00
Tim Hockin
c555d290c1
pod: API warn when name is not DNS label
2022-12-16 13:05:17 -08:00
Tim Hockin
276c7e860d
Change DNS Label validation to check for dots
...
This will produce a better error message for the more common case of
using a DNS subdomain where a label is needed.
2022-12-16 13:01:02 -08:00
Shihang Zhang
e878bc17e6
Update pkg/serviceaccount/legacy.go
...
Co-authored-by: Jordan Liggitt <jordan@liggitt.net >
2022-12-16 12:54:52 -08:00
Kubernetes Prow Robot
53906cbe89
Merge pull request #114360 from dengyufeng2206/120802pull
...
Reduce redundant conversions
2022-12-16 11:06:09 -08:00
Kubernetes Prow Robot
d1879644a6
Merge pull request #113463 from wzshiming/clean/ioutil-ipvs
...
Replace the ioutil by the os and io for the pkg/proxy/ipvs
2022-12-16 11:05:58 -08:00
Shihang Zhang
4fd09a06d6
lock LegacyServiceAccountTokenNoAutoGeneration
2022-12-16 10:45:35 -08:00
Shihang Zhang
0852a49020
graduate LegacyServiceAccountTokenTracking to beta
2022-12-16 10:34:17 -08:00
Kubernetes Prow Robot
94fd106a17
Merge pull request #110453 from claudiubelu/unittests-4
...
unittests: Fixes unit tests for Windows (part 4)
2022-12-16 06:16:16 -08:00
Antonio Ojea
1b804fc87c
Services API: warnings
...
The Services API should warn users about some IP addresses
representations, mainly because some of them are not allowed
by the golang std parsers since go 1.17
Specifically:
- IPv4 addresses with leading zeros, that may cause security risks
- IPv6 addresses in non canonical format, that may cause problems
with controllers hotlooping or cause security issues
Change-Id: Ife50a651d1b22dc4c318e42bd3e5f2e5f88ecbcd
2022-12-16 11:54:05 +00:00
Kubernetes Prow Robot
3f6738b8e6
Merge pull request #114518 from Huang-Wei/bug-all-filters
...
Fix a regression that scheduler always go through all Filter plugins
2022-12-15 15:03:47 -08:00
Kubernetes Prow Robot
a05f93f31d
Merge pull request #114510 from thockin/statefulset_name_dns_label
...
StatefulSet validation needs to allow old names
2022-12-15 15:03:35 -08:00
Kubernetes Prow Robot
843b40aeb4
Merge pull request #113985 from lavalamp/improved-has-synced
...
Propagate HasSynced properly
2022-12-15 12:15:47 -08:00
Wei Huang
0aecf6b3d5
Fix a regression that scheduler always go through all Filter plugins
...
The correct behavior is to stop upon the first Filter failure.
2022-12-15 12:02:27 -08:00
Kubernetes Prow Robot
3d3a180713
Merge pull request #113942 from mengjiao-liu/remove-feature-gate-expansion
...
Remove volume expansion feature gates
2022-12-15 10:05:38 -08:00
TommyStarK
bd6a86471b
kubeapiserver/admission: Improving test coverage
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
2022-12-15 19:01:52 +01:00
Tim Hockin
c5c58eb653
StatefulSet validation needs to allow old names
...
A recent commit changed name validation from DNS Subdomain to DNS Label.
The assumption was that a subdomain-named SS could never work and the
only reasonable thing to do would be to delete it. But if there is a
finalizer, the delete is not possible because we would reject the update
because the old name (subdomain) did not pass the new validation.
This commit does not re-validate the ObjectMeta on update. Probably
every resource should follow this pattern, but mostly it's a non-issue
becauase the above change (name validation) is not something we do -
this case was excpetional.
2022-12-15 09:33:47 -08:00
Kubernetes Prow Robot
e2d407c1d2
Merge pull request #114445 from mengjiao-liu/update-feature-gate-MinDomainsInPodTopologySpread
...
The MinDomainsInPodTopologySpread feature gate will be enabled by default as a Beta feature
2022-12-14 20:21:34 -08:00
Mengjiao Liu
a3d00c15b6
Remove ExpandPersistentVolumes feature gate
2022-12-15 11:43:50 +08:00
Mengjiao Liu
8a9a294c9f
Remove ExpandInUsePersistentVolumes feature gate
2022-12-15 11:43:50 +08:00
Mengjiao Liu
ba9dbe3a07
Remove ExpandCSIVolumes feature gate
2022-12-15 11:43:44 +08:00
Thomas Milox
3ad2ab18fa
pkg/kubeapiserver/options: Improving test coverage ( #114234 )
...
* pkg/kubeapiserver/options: Improving test coverage
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
* pkg/kubeapiserver/options: Improving test coverage
Add a snippet of the expected error string related to the aspect being tested
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
Signed-off-by: TommyStarK <thomasmilox@gmail.com >
2022-12-14 17:51:35 -08:00
Daniel Smith
8100efc7b3
Enable propagration of HasSynced
...
* Add tracker types and tests
* Modify ResourceEventHandler interface's OnAdd member
* Add additional ResourceEventHandlerDetailedFuncs struct
* Fix SharedInformer to let users track HasSynced for their handlers
* Fix in-tree controllers which weren't computing HasSynced correctly
* Deprecate the cache.Pop function
2022-12-14 18:43:33 +00:00
Kubernetes Prow Robot
4b27077eb2
Merge pull request #114428 from SataQiu/clean-rest-20221212
...
apiserver: cleanup unused StrategyExceptions
2022-12-14 06:47:34 -08:00
Michael Weibel
8818c215c1
win: fix cpu count to calculate cpu_maximum
...
take all processor groups into account when calculating cpu maximum.
Signed-off-by: Michael Weibel <michael@helio.exchange >
2022-12-14 13:56:31 +01:00
Kubernetes Prow Robot
68f808e6db
Merge pull request #111371 from sivchari/improve-naming
...
feat: improve naming
2022-12-14 02:23:37 -08:00
Kubernetes Prow Robot
fa8ef76a8b
Merge pull request #113335 from danwinship/cleanup-sctp-tests
...
Clean up SCTP tests
2022-12-13 18:33:34 -08:00
Kubernetes Prow Robot
c2b5457dfa
Merge pull request #109877 from yibozhuang/local-pv-prefilter-result
...
scheduler volumebinding: leverage PreFilterResult for bound local PVs
2022-12-13 14:53:34 -08:00
Dan Winship
c6cc056675
Replace iptables-proxy-specific SCTP e2e test with a unit test
...
We had a test that creating a Service with an SCTP port would create
an iptables rule with "-p sctp" in it, which let us test that
kube-proxy was doing vaguely the right thing with SCTP even if the e2e
environment didn't have SCTP support. But this would really make much
more sense as a unit test.
2022-12-13 16:21:12 -05:00
Mengjiao Liu
ada7fd6414
The MinDomainsInPodTopologySpread feature gate will be enabled by default as a Beta feature
2022-12-13 17:47:29 +08:00
Prince Pereira
9abe8d9210
Windows Kube-Proxy implementation for internal traffic policy.
2022-12-13 14:26:10 +05:30
Kubernetes Prow Robot
5b54d48357
Merge pull request #113776 from princepereira/ppereira-kubeproxy-kep1669
...
Windows Kube-Proxy implementation of ProxyTerminatingEndpoints feature
2022-12-13 00:35:33 -08:00
Prince Pereira
f132215ac1
Creating Ingress IP loadbalancer alone when all the endpoints are terminating. KEP1669
2022-12-13 12:46:58 +05:30
Kubernetes Prow Robot
6228b914ad
Merge pull request #114273 from TommyStarK/unit-tests/pkg-scheduler-internal
...
scheduler/internal: Improving cache and heap test coverage
2022-12-12 23:11:33 -08:00
Kubernetes Prow Robot
dc1e77143f
Merge pull request #114082 from kidddddddddddddddddddddd/refactor_handleSchedulingFailure
...
pass status to handleSchedulingFailure
2022-12-12 22:05:34 -08:00
Paco Xu
f28f40e521
remove a flag check that was introduced in #112542 ; address several comments
...
Signed-off-by: Paco Xu <paco.xu@daocloud.io >
2022-12-13 14:00:29 +08:00
Aditi Sharma
214a0ee7b8
Migrate container runtime endpoint flag to config
...
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com >
Signed-off-by: Paco Xu <paco.xu@daocloud.io >
2022-12-13 14:00:29 +08:00
kidddddddddddddddddddddd
6ca62eb2cb
refactor
2022-12-13 11:36:12 +08:00
Kubernetes Prow Robot
cb03415326
Merge pull request #111802 from maaoBit/fix-labelSelectorValidate-missing
...
Validate labelSelector in topologySpreadConstraints
2022-12-12 18:47:44 -08:00
Kubernetes Prow Robot
923ee203f3
Merge pull request #110991 from thockin/svc-typenames-starTrafficPolicyType
...
Svc typenames star traffic policy type
2022-12-12 18:47:33 -08:00
aimuz
4a7ab7fd75
Verify that the key matches the cert
...
Signed-off-by: aimuz <mr.imuz@gmail.com >
2022-12-13 10:43:58 +08:00