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
Patrick Ohly
2f6c4f5eab
e2e: use Ginkgo context
...
All code must use the context from Ginkgo when doing API calls or polling for a
change, otherwise the code would not return immediately when the test gets
aborted.
2022-12-16 20:14:04 +01: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
Patrick Ohly
bf1d1dfd0f
e2e storage: pass around topologyTest pointer
...
Copying the instance makes no sense because the fields are meant to be shared
between test and cleanup code.
2022-12-16 19:42:26 +01:00
TommyStarK
f38ccc1d40
Makefile: Add example of how to run integration tests and get code coverage report.
...
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2022-12-16 18:00:44 +01:00
Kubernetes Prow Robot
093c5964f7
Merge pull request #114289 from gnufied/add-recovery-expansion-tests
...
Add recovery expansion tests
2022-12-16 06:16:28 -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
Paco Xu
b3deecfb17
add etcd as learner mode and promote when fg EtcdLearnerMode is enabled
...
- use etcd backoff to wait; still has many warning messages
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2022-12-16 21:09:59 +08:00
Kubernetes Prow Robot
64b6cec843
Merge pull request #114533 from songxiao-wang87/runwxs-test7
...
don't assert error inside wait.Poll loops
2022-12-16 04:52:36 -08:00
Kubernetes Prow Robot
6577fd2203
Merge pull request #114217 from jingxu97/snapshotfix
...
Fix issues in volumesnapshot test for ephemeral storage
2022-12-16 04:52:17 -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
Julianne DeMars
94fd5bd553
Skip resize if fs is readonly ( #114325 )
...
* skip resize if fs is readonly
* run formatter + add log line for early return case
* fix error
2022-12-16 03:26:27 -08:00
Kubernetes Prow Robot
4ee4d815ee
Merge pull request #114097 from songxiao-wang87/runwxs-test4
...
docs: fix typos in CHANGELOG/CHANGELOG-1.25.md
2022-12-16 03:26:16 -08:00
Kubernetes Prow Robot
e6926831c1
Merge pull request #114532 from pacoxu/fix-dry-run-backup
...
kubeadm upgrade: fix dry run of backing up kubelet config file
2022-12-16 02:06:18 -08:00
Paco Xu
0d2952202e
kubeadm upgrade: fix dry run of backing up kubelet config file
...
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2022-12-16 17:02:28 +08:00
songxiao-wang87
16c813d9b8
Making a run test.
...
Signed-off-by: songxiao-wang87 <wang.xiaosong23@zte.com.cn>
2022-12-16 08:30:45 +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
8c23f06aaa
Merge pull request #114345 from ii/create-subjectaccessreview-test
...
Write e2e test for SubjectAccessReview & createAuthorizationV1NamespacedLocalSubjectAccessReview +2 Endpoints
2022-12-15 13:21:47 -08:00
Kubernetes Prow Robot
b44cbbdcb2
Merge pull request #114266 from dobsonj/vclib-index-out-of-range
...
legacy-cloud-providers: prevent index out-of-range in getNextUnitNumber
2022-12-15 13:21:36 -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
Kubernetes Prow Robot
c43e83ceed
Merge pull request #110014 from claudiubelu/windows-tests/fix-long-hostname
...
tests Windows: Fixes test failures related to COMPUTERNAMEs being truncated
2022-12-15 12:15:35 -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
Stephen Heywood
247c23abaf
Create e2e test for SubjectAccessReview endpoints
...
e2e test validates the following 2 endpoints
- createAuthorizationV1SubjectAccessReview
- createAuthorizationV1NamespacedLocalSubjectAccessReview
2022-12-16 07:42:50 +13: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
Danielle Lancashire
2c702b0e7a
sig-node-reviewers: add endocrimes
2022-12-15 19:03:25 +01: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
c1c0e4fe0b
Merge pull request #114489 from aimuz/replace2tag
...
kubeadm: replace Runtime.GOOS with go:build tag
2022-12-15 07:27:47 -08:00
Kubernetes Prow Robot
930271fbd8
Merge pull request #114330 from chendave/backup_kubelet
...
kubeadm: backup the kubelet config file before writting the new one
2022-12-15 07:27:36 -08:00
Abu Kashem
ea251b5605
apiserver: refactor cors filter
2022-12-15 08:59:10 -05:00
Abu Kashem
ae7327ab8e
apiserver: refactor cors unit test
2022-12-15 08:59:09 -05:00
Kubernetes Prow Robot
b30a6a3fc5
Merge pull request #114355 from dengyufeng2206/pr1208
...
fix msg in /test/e2e/apps/daemon_set.go
2022-12-15 03:27:35 -08:00
aimuz
4860b67b48
kubeadm: replace Runtime.GOOS with go:build tag
...
Signed-off-by: aimuz <mr.imuz@gmail.com>
2022-12-15 17:57:45 +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
Dave Chen
cd1f082179
kubeadm: backup the kubelet config file before writting the new one
...
This addresses the TODO item so that the old kubelet config file could
be recovered if something goes wrong.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-12-15 10:16:36 +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
Kubernetes Prow Robot
69fe066adc
Merge pull request #114477 from chendave/kubeadm_reviewer
...
kubeadm: add chendave as kubeadm reviewer
2022-12-14 13:01:36 -08:00
Hemant Kumar
3d33178dab
Start adding e2e for recovery from expansion failure
2022-12-14 15:28:05 -05:00
Kubernetes Prow Robot
bf49c7c0b5
Merge pull request #114080 from chendave/fix_testcases
...
kubeadm: fix invalid testcase for `enforceRequirements`
2022-12-14 11:55:56 -08:00
Kubernetes Prow Robot
770b39c65b
Merge pull request #114072 from Tal-or/deflake_e2e_cpumanager_metrics_tests
...
e2e: cpumanager: proper test clean-up
2022-12-14 11:55:45 -08:00
Kubernetes Prow Robot
08160f7975
Merge pull request #113465 from chendave/golang_generic
...
kubeadm: bump to use golang generic
2022-12-14 11:55:34 -08:00
Kubernetes Prow Robot
261855929f
Merge pull request #114195 from chewong/aws-sdk-go-v1.44.147
...
Bump github.com/aws/aws-sdk-go to v1.44.147
2022-12-14 10:47:45 -08:00
Kubernetes Prow Robot
7403090e40
Merge pull request #113309 from swatisehgal/devicemgr-e2e-remove-flakiness
...
node: e2e: device plugins: Deflake e2e tests
2022-12-14 10:47:34 -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