Lars Ekman
5ff705fd77
proxy/ipvs: Describe and handle a bug in moby/ipvs
...
Handle https://github.com/moby/ipvs/issues/27
A work-around was already in place, but a segv would occur
when the bug is fixed. That will not happen now.
2022-12-24 10:21:27 +01:00
Lars Ekman
68d78c89ec
use netutils.ParseIPSloppy
2022-12-23 14:19:28 +01:00
Lars Ekman
dc86bdc3aa
Handle an empty scheduler ("")
2022-12-23 13:23:02 +01:00
Lars Ekman
90c03dcf9a
gofmt
2022-12-23 12:34:31 +01:00
Lars Ekman
4ef7726c4e
Remove obsolete test case
2022-12-23 11:46:45 +01:00
Lars Ekman
4adc687275
Fixed typo
2022-12-23 11:13:55 +01:00
Lars Ekman
cf214d0738
Clean-up un-used code
2022-12-23 10:54:51 +01:00
Lars Ekman
3bd3759424
gofmt
2022-12-23 10:14:47 +01:00
Lars Ekman
b169f22eb8
Updates after rewiew
...
To update the scheduler without node reboot now works.
The address for the probe VS is now 198.51.100.0 which is
reseved for documentation, please see rfc5737. The comment
about this is extended.
2022-12-23 10:11:15 +01:00
Lars Ekman
cd15ca0548
proxy/ipvs: Check that a dummy virtual server can be added
...
This tests both ipvs and the configured scheduler
2022-12-22 20:36:53 +01:00
Lars Ekman
4f02671b23
proxy/ipvs: Remove kernel module tests
...
To check kernel modules is a bad way to check functionality.
This commit just removes the checks and makes it possible to
use a statically linked kernel.
Minimal updates to unit-tests are made.
2022-12-22 17:13:41 +01:00
Kubernetes Prow Robot
70c28f3e12
Merge pull request #114486 from kerthcet/cleanup/make-preemption-more-readable
...
Make handling scheduleResult more readable
2022-12-21 15:01:25 -08:00
Kante Yin
c8908716ee
Make handling scheduleResult more readable
...
Signed-off-by: Kante Yin <kerthcet@gmail.com >
2022-12-22 01:22:34 +08:00
Kubernetes Prow Robot
6a48538090
Merge pull request #114326 from sunnylovestiramisu/fixReconstructionBug
...
Add pod to dsw if termination is not completed during reconstruction
2022-12-20 16:31:24 -08:00
Kubernetes Prow Robot
5882479457
Merge pull request #114585 from JoelSpeed/fix-resource-requirements-claims
...
Resource Claims must be a map type, not set
2022-12-20 12:11:24 -08:00
Joel Speed
e50e8a0c91
Resource claims should be a map type
2022-12-20 19:05:07 +00:00
Harsha Narayana
208c3868cf
job controller: refactored job controller to be able to inject FakeClock for Unit Test
2022-12-20 21:29:24 +05:30
Kubernetes Prow Robot
a3ca5fd2c8
Merge pull request #114456 from kidddddddddddddddddddddd/status_with_error
...
return error message when calling status.Message()
2022-12-19 11:09:43 -08:00
kidddddddddddddddddddddd
e789beb213
errMsg
2022-12-19 23:52:06 +08:00
Jordan Liggitt
78cb3862f1
Fix indentation/spacing in comments to render correctly in godoc
2022-12-17 23:27:38 -05:00
Kubernetes Prow Robot
7f7bf68c7c
Merge pull request #111178 from lucming/cleanup
...
clean up code
2022-12-16 19:17:52 -08:00
Kubernetes Prow Robot
112a7a590c
Merge pull request #110723 from yangjunmyfm192085/fixklog
...
Fix incorrect log information and log structure
2022-12-16 19:17:41 -08:00
Kubernetes Prow Robot
038d983769
Merge pull request #114505 from aojea/service_warnings
...
Services API: warnings on IP addresses
2022-12-16 18:07:52 -08:00
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
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
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
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
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