Kubernetes Prow Robot
d40bc18461
Merge pull request #105126 from sallyom/tracing-kubelet
...
kubelet tracing instrumentation
2022-08-02 11:38:06 -07:00
Aldo Culquicondor
4188d9b646
Add worker to clean up stale DisruptionTarget condition
...
Change-Id: I907fbdf01e7ff08d823fb23aa168ff271d8ff1ee
2022-08-02 11:25:01 -04:00
Aldo Culquicondor
dad8454ebb
Add clock interface to disruption controller
...
To be able to write more precise unit tests in the future
Change-Id: I8f45947dfacca501acd856849bd978fad0f735cd
2022-08-02 11:17:29 -04:00
Chih-Chieh Yang
07e2bfe1cc
Refactor and clean up the code
2022-08-02 14:29:03 +00:00
Michal Wozniak
04fcbd721c
Introduction of a pod condition type indicating disruption. Its reason
field indicates the reason:
...
- PreemptionByKubeScheduler (Pod preempted by kube-scheduler)
- DeletionByTaintManager (Pod deleted by taint manager due to NoExecute taint)
- EvictionByEvictionAPI (Pod evicted by Eviction API)
- DeletionByPodGC (an orphaned Pod deleted by PodGC)PreemptedByScheduler (Pod preempted by kube-scheduler)
2022-08-02 11:12:16 +02:00
Jakub Przychodzeń
08749750a9
Enable 'running_managed_controllers' for few more controllers
2022-08-02 07:33:32 +00:00
Kubernetes Prow Robot
cdc60112a6
Merge pull request #111119 from aramase/aes-gcm-part-2
...
feat:(kms) encrypt data with DEK using AES-GCM instead of AES-CBC
2022-08-01 19:22:28 -07:00
Anish Ramasekar
d54631a41a
feat:(kms) encrypt data with DEK using AES-GCM instead of AES-CBC
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-08-02 01:12:47 +00:00
Sally O'Malley
47e7d8034f
kubelet tracing
...
Signed-off-by: Sally O'Malley <somalley@redhat.com>
Co-authored-by: David Ashpole <dashpole@google.com>
2022-08-01 12:55:02 -04:00
Kubernetes Prow Robot
3902a53419
Merge pull request #111441 from denkensk/respect-topology
...
Respect PodTopologySpread after rolling upgrades
2022-07-30 01:40:42 -07:00
Alex Wang
f4bc904376
implementation for MatchLabelKeys in TopologySpreadConstraint
...
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-07-30 13:23:49 +08:00
Kubernetes Prow Robot
cf2800b812
Merge pull request #111402 from verb/111030-ec-ga
...
Promote EphemeralContainers feature to GA
2022-07-29 19:29:20 -07:00
Chih-Chieh Yang
ed74de833d
Add comment for the reason this test is needed
2022-07-30 00:13:48 +00:00
Kubernetes Prow Robot
442548a064
Merge pull request #110534 from kerthcet/feat/ga-component-config
...
Graduate component config to stable in kube-scheduler
2022-07-29 09:59:11 -07:00
kerthcet
02f77a1b84
Feat: ga component config in kube-scheduler
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-29 08:47:48 +08:00
Kubernetes Prow Robot
ce336550f1
Merge pull request #111444 from wojtek-t/prevent_leaking_goroutines
...
Prevent from future leaks of goroutines in integration tests
2022-07-27 06:31:52 -07:00
Kubernetes Prow Robot
3ffdfbe286
Merge pull request #111254 from dims/update-to-golang-1.19-rc2
...
[golang] Update to 1.19rc2 (from 1.18.3)
2022-07-26 14:25:09 -07:00
Kubernetes Prow Robot
8bc12f24e6
Merge pull request #106388 from alexzielenski/ssa-ignore-nonsemantic-changes
...
Ignore non-semantic changes to objects
2022-07-26 11:35:10 -07:00
Wojciech Tyczyński
ef607d131f
Prevent from future leaks of goroutines in integration tests
2022-07-26 20:08:09 +02:00
Davanum Srinivas
a9593d634c
Generate and format files
...
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
Lee Verberne
d238e67ba6
Remove EphemeralContainers feature-gate checks
2022-07-26 02:55:30 +02:00
Wojciech Tyczyński
5b042f0bf4
Remove RunAnAPIServer from integration tests
2022-07-25 17:52:31 +02:00
Kubernetes Prow Robot
9495b2fb9f
Merge pull request #111325 from wojtek-t/fix_leaking_goroutines_13
...
Clean shutdown of serviceaccount integration tests
2022-07-22 08:31:49 -07:00
Kubernetes Prow Robot
cab41bd04d
Merge pull request #111324 from wojtek-t/cleanup_testing_namespace
...
Cleanup no longer used Create/Delete TestingNamespace
2022-07-22 00:05:49 -07:00
Wojciech Tyczyński
5af0866616
Clean shutdown of serviceaccount integration tests
2022-07-22 07:47:15 +02:00
Mark Rossetti
40f3e624a6
Switching everything to use pause:3.8
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-07-21 14:53:15 -07:00
Wojciech Tyczyński
aca03a4090
Cleanup no longer used Create/Delete TestingNamespace
2022-07-21 19:44:14 +02:00
Michal Wozniak
2f61b6105c
Add integration tests for podgc
2022-07-20 15:17:14 +02:00
Kubernetes Prow Robot
0cde1b7446
Merge pull request #111242 from wojtek-t/fix_leaking_goroutines_11
...
Fix leaking goroutines in multiple integration tests
2022-07-19 05:34:30 -07:00
Kubernetes Prow Robot
eeb12bb3af
Merge pull request #110178 from kevindelgado/validation-beta-1-25
...
Graduate server side validation to beta
2022-07-19 05:34:06 -07:00
Wojciech Tyczyński
ab1038f0e0
Clean shutdown of auth integration tests
2022-07-19 11:34:02 +02:00
Wojciech Tyczyński
f673c262bd
Clean shutdown of client integration tests
2022-07-19 10:03:51 +02:00
Wojciech Tyczyński
e9e494e14a
Clean shutdown of apiserver integration tests
2022-07-19 10:03:51 +02:00
Kubernetes Prow Robot
9cf4f15884
Merge pull request #110633 from wojtek-t/fix_leaking_goroutines_10
...
Fix leaking goroutines in multiple integration tests
2022-07-18 21:56:05 -07:00
Kubernetes Prow Robot
1c1efde70d
Merge pull request #109639 from Abirdcfly/fixduplicateimport
...
cleanup: remove all duplicate import
2022-07-18 16:55:23 -07:00
Kevin Delgado
d983fd8078
Add server-side metadata unknown field validation
2022-07-18 14:55:12 +00:00
Kubernetes Prow Robot
d79cf03615
Merge pull request #110569 from wojtek-t/fix_leaking_goroutines_8
...
Clean shutdown of controlplane integration tests
2022-07-18 02:49:15 -07:00
Chih-Chieh Yang
4fc7fd25bf
Fix the apf metrics names
2022-07-15 18:27:29 +00:00
Chih-Chieh Yang
b0c211a1e5
Fix PL seat util metric retrieval
2022-07-15 17:11:16 +00:00
Chih-Chieh Yang
f298d506e8
APF concurrency isolation integration test ( #1 )
...
* Add APF concurrency utilization test
2022-07-15 17:11:16 +00:00
lucming
e536d565ea
clean up code
2022-07-15 20:22:37 +08:00
Alexander Zielenski
40343793f7
benchmark and metrics for new timestamp transformer comparison
...
add proper metrics
rename & improve documentation for path metric dimension
2022-07-14 11:56:36 -07:00
Alexander Zielenski
7233538008
revert timestamp updates to object if non-managed fields do not change
...
add short-circuiting logic for long comaprison
replace timestamps rather than doing a full managed fields deepcopy
add guard
2022-07-14 11:55:26 -07:00
Kubernetes Prow Robot
e5f4f8d71b
Merge pull request #110896 from ravisantoshgudimetla/promote-minReadySec-sts-update-ga
...
Promote minReadySeconds to GA
2022-07-14 09:45:09 -07:00
Wojciech Tyczyński
8e267eba51
Clean shutdown of controlplane integration tests
2022-07-14 14:38:22 +02:00
Wojciech Tyczyński
690d2f0101
Clean(er) shutdown of auth integration tests
2022-07-14 11:25:57 +02:00
Wojciech Tyczyński
13e4f2b554
Clean shutdown of volume integration tests
2022-07-14 11:25:57 +02:00
Abirdcfly
00b9ead02c
cleanup: remove duplicate import
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-07-14 11:25:19 +08:00
Ravi Gudimetla
9144250a92
Promote minReadySeconds to GA
2022-07-13 11:37:10 -04:00
Wei Huang
4f77732540
merge MakeDefaultErrorFunc into handleSchedulingFailure
2022-07-12 12:11:16 -07:00
Kubernetes Prow Robot
1d954908ba
Merge pull request #109394 from pohly/storage-capacity-storage-version
...
Kubernetes 1.25: CSIStorageCapacity: use v1 as storage version
2022-07-08 19:35:51 -07:00
Kubernetes Prow Robot
6e8331932b
Merge pull request #111005 from DangerOnTheRanger/cel-cost-limit-integration-test
...
Add x-kubernetes-validations cost limit integration test
2022-07-08 16:05:46 -07:00
Patrick Ohly
2e8fa3ee6b
CSIStorageCapacity: use v1 as storage version
...
This can be done because downgrades are only supported down to 1.24 and that
release supports v1.
2022-07-08 10:06:06 +02:00
Kermit Alexander
40da208b3d
Add runtime cost limit test.
2022-07-07 10:08:55 +00:00
Tim Hockin
55232e2ef7
Rename IPFamilyPolicyType => IPFamilyPolicy
2022-07-06 15:42:26 -07:00
Kensei Nakada
b0d47cb380
scheduler_perf: allow users to specify default pod and node specs ( #101799 )
...
* scheduler_perf: default pod and node spec
* Fix: un-support DefaultNodeTemplatePath
2022-06-29 11:44:07 -07:00
Kubernetes Prow Robot
dee37aacc1
Merge pull request #110652 from Abirdcfly/fixchunksize
...
fix: --chunk-size with selector returns missing result
2022-06-22 18:21:43 -07:00
Abirdcfly
fba297629d
fix: --chunk-size with selector returns missing result
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-06-23 07:07:13 +08:00
Kubernetes Prow Robot
18b5efceda
Merge pull request #110410 from Jiawei0227/master
...
CSIMigration feature gate to GA
2022-06-22 04:05:48 -07:00
Kubernetes Prow Robot
3beb8dc596
Merge pull request #110612 from mattcary/ss-integration
...
Add TestAutodeleteOwnerRefs statefulset integration test
2022-06-21 15:29:42 -07:00
Patrick Ohly
1aceac797d
logs: make LoggingConfiguration an unversioned API
...
Making the LoggingConfiguration part of the versioned component-base/config API
had the theoretic advantage that components could have offered different
configuration APIs with experimental features limited to alpha versions (for
example, sanitization offered only in a v1alpha1.KubeletConfiguration). Some
components could have decided to only use stable logging options.
In practice, this wasn't done. Furthermore, we don't want different components
to make different choices regarding which logging features they offer to
users. It should always be the same everywhere, for the sake of consistency.
This can be achieved with a saner Go API by dropping the distinction between
internal and external LoggingConfiguration types. Different stability levels of
indidividual fields have to be covered by documentation (done) and potentially
feature gates (not currently done).
Advantages:
- everything related to logging is under component-base/logs;
previously this was scattered across different packages and
different files under "logs" (why some code was in logs/config.go
vs. logs/options.go vs. logs/logs.go always confused me again
and again when coming back to the code):
- long-term config and command line API are clearly separated
into the "api" package underneath that
- logs/logs.go itself only deals with legacy global flags and
logging configuration
- removal of separate Go APIs like logs.BindLoggingFlags and
logs.Options
- LogRegistry becomes an implementation detail, with less code
and less exported functionality (only registration needs to
be exported, querying is internal)
2022-06-17 20:22:13 +02:00
Kubernetes Prow Robot
4b024fc4ee
Merge pull request #110459 from wangyysde/promote-pod-security-to-ga
...
PodSecurity: promote config and feature gate to GA
2022-06-15 14:41:22 -07:00
Matthew Cary
3af09ab04a
add TestAutodeleteOwnerRefs statefulset integration test
...
Change-Id: I3aa3220df59c33fc40f1d8e08e055caa1f6fb4a3
2022-06-15 13:33:02 -07:00
Wojciech Tyczyński
6b59525746
Clean shutdown of flowcontrol integration tests
2022-06-15 16:53:42 +02:00
Wojciech Tyczyński
57242e3cbb
Clean shutdown of openapi integration tests
2022-06-15 16:40:54 +02:00
apeltop
e530336b18
fix typos
2022-06-15 13:38:48 +09:00
wangyysde
ab66a38194
PodSecurity: promote config and feature gate to GA
...
Signed-off-by: wangyysde <net_use@bzhy.com>
2022-06-15 09:29:47 +08:00
Kubernetes Prow Robot
8e541911b8
Merge pull request #110574 from SataQiu/test-speed-20220614
...
Using t.Run() in integration test TestApplyAlsoCreates
2022-06-14 12:07:45 -07:00
Kubernetes Prow Robot
5503bb0570
Merge pull request #110529 from wojtek-t/fix_leaking_goroutines_7
...
Fix leaking goroutines in multiple integration tests
2022-06-14 09:09:54 -07:00
SataQiu
20f8a06e50
using t.Run() in integration test TestApplyAlsoCreates
2022-06-15 00:01:10 +08:00
Wojciech Tyczyński
ed442cc3dd
Clean(er) shutdown of auth integration tests
2022-06-14 13:55:31 +02:00
Wojciech Tyczyński
3930362ad4
Clean(er) shutdown of apiserver integration tests
2022-06-14 13:55:31 +02:00
Wojciech Tyczyński
41d7ddee1a
Clean shutdown of apimachinery integration tests
2022-06-14 13:55:31 +02:00
Wojciech Tyczyński
8a87681a39
Clean shutdown of resourcequota integration tests
2022-06-14 13:55:31 +02:00
Kubernetes Prow Robot
c0642b749e
Merge pull request #110179 from Jefftree/fix_openapi_v2
...
Prune defaults for CRDs for OpenAPI V2
2022-06-13 13:28:12 -07:00
Kubernetes Prow Robot
2b14fd9fb1
Merge pull request #110515 from MikeSpreitzer/unpairvec
...
Remove the PairVec types
2022-06-13 08:04:24 -07:00
Mike Spreitzer
1f1cfba2a3
Remove the PairVec types
2022-06-12 23:37:15 -04:00
Kubernetes Prow Robot
c8a2db31ac
Merge pull request #110505 from wojtek-t/fix_leaking_goroutines_6
...
Clean shutdown of some auth integration tests
2022-06-12 07:18:09 -07:00
Wojciech Tyczyński
8ef7dd49ee
Clean shutdown of auth integration tests
2022-06-10 19:46:50 +02:00
Kubernetes Prow Robot
6e0e9f382e
Merge pull request #109194 from pohly/log-tests
...
log tests
2022-06-10 03:07:46 -07:00
Jefftree
e2cbf9759b
Add test to check for _v2
2022-06-08 21:33:07 +00:00
Jiawei Wang
760365d5c9
CSIMigration feature gate to GA
2022-06-06 21:19:19 +00:00
Wojciech Tyczyński
2af8d0bbd7
Clean shutdown of events integration tests
2022-06-06 20:33:20 +02:00
Wojciech Tyczyński
e5ec28ff86
Clean shutdown of network integration tests
2022-06-06 20:33:20 +02:00
Wojciech Tyczyński
d9d46d5326
Clean shutdown of certificates integration tests
2022-06-02 21:02:04 +02:00
Wojciech Tyczyński
783da34f54
Clean shutdown of disruption integration tests
2022-06-02 21:02:04 +02:00
Kubernetes Prow Robot
03d0e2c338
Merge pull request #110264 from wojtek-t/fix_leaking_goroutines_4
...
Fix leaking goroutines in multiple integration tests
2022-06-02 03:59:47 -07:00
Davanum Srinivas
50bea1dad8
Move from k8s.gcr.io to registry.k8s.io
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-05-31 10:16:53 -04:00
Patrick Ohly
f45322ef41
logs: add micro benchmarks for argument passing
...
Parameter passing and value lookup from context are important aspects of the
proposed contextual logging.
2022-05-31 08:07:37 +02:00
Patrick Ohly
04ecc1b63b
logs: test JSON output with klog output test
...
The updated klog provides a reusable test suite for output handling.
Using it increases our test coverage without having to copy the test cases from
there into some JSON specific test suite.
2022-05-31 08:07:37 +02:00
Wojciech Tyczyński
3af4c74f37
Clean shutdown of cronjob integration tests
2022-05-28 21:36:54 +02:00
Wojciech Tyczyński
64d1b24cc8
Clean shutdown of daemonset integration tests
2022-05-28 21:31:28 +02:00
Wojciech Tyczyński
f31d0305ad
Clean shutdown of defaulttolerationseconds integration tests
2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
411c319db8
Clean shutdown of dualstack integration tests
2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
8a959396b8
Clean shutdown of volumescheduling integration tests
2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
3b61f4ac20
Clean shutdown of apply integration tests
2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
5073506aa7
Clean shutdown of statefulset integration tests
2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
aee829abf4
Clean shutdown of job integration tests
2022-05-28 21:14:09 +02:00
Wojciech Tyczyński
c802118e81
Update scheduler tests
2022-05-27 14:57:21 +02:00
Kubernetes Prow Robot
61b983a66b
Merge pull request #110229 from wojtek-t/fix_leaking_goroutines_1
...
Fix leaking goroutine in multiple integration tests by migrating to common StartTestServer utility
2022-05-27 00:41:19 -07:00
Wojciech Tyczyński
8ca1ec2b60
Clean shutdown of cronjob integration tests
2022-05-26 19:29:34 +02:00
Wojciech Tyczyński
2893ad3e5b
Clean shutdown of evictions integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
c0149f78d7
Clean shutdown of certificates integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
2583942eb7
Clean shutdown of daemonset integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
5fc1c39bd4
Clean shutdown of configmap integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
b8d28ef2b6
Clean shutdown of storageclasses integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
fbd2184583
Clean shutdown of namespace integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
7b44e64dd8
Clean shutdown of secret integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
492bad026c
Clean shutdown of endpointslice integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
7add7ba9e5
Clean shutdown of endpoints integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
7ac6638f92
Clean shutdown of replicationcontroller integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
33831c9fd3
Clean shutdown of replicaset integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
368802dd7e
Clean shutdown of deployment integration tests
2022-05-26 17:19:36 +02:00
Wojciech Tyczyński
79289294b2
Clean shutdown of pods integration tests
2022-05-26 17:18:26 +02:00
Wojciech Tyczyński
054c489d00
Clean shutdown of metrics integration tests
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
284509f36e
Clean shutdown of ttlcontroller integration tests
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
c6e3bd732e
Clean shutdown of persistentvolume integration tests
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
f68e72a360
Clean shutdown of volume integration tests
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
3b98f59e16
Clean shutdown of service integration tests
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
6ae4bbbfc2
Add namespace utility test functions
2022-05-26 16:20:56 +02:00
Wojciech Tyczyński
fe3616cafb
Clean shutdown of kcm, ccm and scheduler
2022-05-26 12:36:59 +02:00
Wojciech Tyczyński
6f706775bc
Clean shutdown of test apiserver
2022-05-26 10:42:48 +02:00
Kubernetes Prow Robot
072148d339
Merge pull request #110194 from p0lyn0mial/hardens-test-aggregated-api-server
...
hardens TestAggregatedAPIServer
2022-05-25 04:58:45 -07:00
Lukasz Szaszkiewicz
c4e337c57c
hardens TestAggregatedAPIServer
...
Since ClientCAs are provided by "client-ca::kube-system::extension-apiserver-authentication::client-ca-file" controller
we need to wait until it picks up the configmap (via a lister) before checking the CAs otherwise the response might contain an empty result.
2022-05-25 12:41:26 +02:00
Kubernetes Prow Robot
e1d92980e3
Merge pull request #107419 from sanposhiho/non-need-e2e-queue-move
...
Delete non-need `AddUnschedulableIfNotPresent` calling in `TestCoreResourceEnqueue`
2022-05-24 17:06:43 -07:00
Kubernetes Prow Robot
1ad8613d5c
Merge pull request #109790 from p0lyn0mial/users-watchtools-informerwatcher
...
users of watchtools.NewIndexerInformerWatcher should wait for the informer to sync
2022-05-24 08:52:05 -07:00
Kubernetes Prow Robot
c3d550d4e7
Merge pull request #110101 from MikeSpreitzer/rename-observers
...
Give apf metrics abstractions more familiar names
2022-05-24 07:26:06 -07:00
Lukasz Szaszkiewicz
59a5c1a6ea
hardens integration job tests
...
the job controller used by the tests must wait for the caches to sync
since the tests don't check /readyz there is no way
the tests can tell it is safe to call the server and requests won't be rejected
2022-05-24 13:47:38 +02:00
Lukasz Szaszkiewicz
4a7845b485
users of watchtools.NewIndexerInformerWatcher should wait for the informer to sync
...
previously users of this method were relying on the fact that a call to LIST was made.
Instead, users should use the dedicated `HasSynced` method.
2022-05-24 13:05:40 +02:00
Mike Spreitzer
7d64a93a14
Give apf metrics abstractions more familiar names
...
The logic is similar to Prometheus gauges and vectors,
adopt that terminology.
2022-05-23 16:09:43 -04:00
Kubernetes Prow Robot
1131fb95fc
Merge pull request #110125 from wojtek-t/fix_resource_quota_shutdown
...
Fix resource quota shutdown
2022-05-23 07:18:03 -07:00
Wojciech Tyczyński
f8211d7e44
Fix ResourceQuota admission shutdown
2022-05-23 12:34:50 +02:00
Wojciech Tyczyński
0d41d2921e
Fix leaking goroutines in kubelet integration test
2022-05-23 11:50:29 +02:00
sanposhiho
bbd5f19497
Delete non-need AddUnschedulableIfNotPresent in e2e
2022-05-22 06:54:49 +00:00
Wojciech Tyczyński
11b679c66a
Fix event broadcaster shutdown in multiple controllers
2022-05-17 22:14:19 +02:00
Kubernetes Prow Robot
22a21f974f
Merge pull request #110063 from wojtek-t/cleanup_testing_namespaces_in_integration
...
Simplify Create/Delete-TestingNamespace functions
2022-05-16 01:50:18 -07:00
Wojciech Tyczyński
deef9e40de
Simplify Create/Delete-TestingNamespace functions
2022-05-15 23:06:26 +02:00
Kubernetes Prow Robot
bbdcce6a9e
Merge pull request #109880 from Jefftree/patch-4
...
Remove warning log for crd merging
2022-05-13 15:31:54 -07:00
Jefftree
fad5353ef8
Integration test for openapi scale & status
2022-05-13 11:45:31 -07:00
Kubernetes Prow Robot
9720d130e4
Merge pull request #110030 from wojtek-t/clean_shutdown_2
...
Minor cleanups in integration test shutdown
2022-05-13 03:43:48 -07:00
Wojciech Tyczyński
492e7111a0
Minor cleanup of apply tests
2022-05-13 11:37:22 +02:00
Wojciech Tyczyński
89549142c0
Stop leaking apiserver in tracing test
2022-05-13 09:47:24 +02:00
Kubernetes Prow Robot
1be1ec4aa3
Merge pull request #109970 from stevekuznetsov/skuznets/isolate-versioner
...
storage: move the APIObjectVersioner definition to storage
2022-05-12 12:32:44 -07:00
Kubernetes Prow Robot
976a940f4a
Merge pull request #109978 from wojtek-t/remove_storage_tracking
...
Cleanup no-longer used storage cleanup method
2022-05-12 06:31:25 -07:00
Kubernetes Prow Robot
cae22d8b8a
Merge pull request #108797 from deads2k/release-1.25-removed-01-checker
...
update for APIs removed in 1.25
2022-05-11 19:25:13 -07:00
Wojciech Tyczyński
2dd44d6226
Cleanup no-longer used storage cleanup method
2022-05-11 20:11:37 +02:00
Kubernetes Prow Robot
564b204923
Merge pull request #109972 from wojtek-t/clean_shutdown_1
...
Clean shutdown of couple controllers in integration tests
2022-05-11 10:47:25 -07:00
Kubernetes Prow Robot
c0f48d2a2e
Merge pull request #109781 from wojtek-t/fix_scheduler_tests
...
Close events recording sink in integration tests
2022-05-11 08:47:14 -07:00
Kubernetes Prow Robot
3bcbf3de11
Merge pull request #108884 from kerthcet/feature/implement-nodeInclusionPolicy
...
feat: implement node inclusion policy in scheduler
2022-05-11 08:47:02 -07:00
Steve Kuznetsov
3939f3003e
storage: move the APIObjectVersioner definition to storage
...
The means by which we extract and parse the version of an API object is
not specific to etcd3. In order to allow for a generic suite of tests
against any storage.Interface imlpementation, we need this logic to live
outside of the etcd3 package, or import cycles will exist.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-11 08:19:32 -07:00
Wojciech Tyczyński
1fcc5d9eae
Clear shutdown in deployment integration test
2022-05-11 17:05:31 +02:00
Wojciech Tyczyński
ca68691feb
Clear shutdown in replicationcontroller integration test
2022-05-11 17:05:31 +02:00
Wojciech Tyczyński
c043535250
Clear shutdown in replicaset integration test
2022-05-11 17:05:31 +02:00
Kubernetes Prow Robot
b74d023e70
Merge pull request #109694 from RyanAoh/fix-108837
...
Be sure to update the status of StatefulSet even if the new replica creation fails
2022-05-10 21:28:50 -07:00
kerthcet
790d983867
feat: implement NodeInclusionPolicy in TopologySpreadConstraint
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-11 07:51:18 +08:00
David Eads
d323a30f60
remove PDB v1beta1 usage where v1 is equivalent
2022-05-10 13:32:07 -04:00
Kubernetes Prow Robot
8245695028
Merge pull request #109919 from stevekuznetsov/skuznets/clarify-integration-namespace
...
test/integration: clarify namespace utilities
2022-05-10 05:17:56 -07:00
Aohan Yang
774df1b0af
Be sure to update the status of StatefulSet even if the new replica creation fails
2022-05-10 10:25:26 +08:00
Kubernetes Prow Robot
b059f99951
Merge pull request #109901 from aojea/integration_shutdown
...
integration: force close httpserver on exit
2022-05-09 11:17:30 -07:00
Steve Kuznetsov
173c1da99e
test/integration: clarify namespace utilities
...
For a developer that's not very familiar with the integration flow, it
is very surprising to see that the namespace creation logic does not
create anything and that the namespace deletion logic does not delete
anything, either.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-05-09 09:57:01 -07:00
Antonio Ojea
eba27127db
integration: force close httpserver on exit
2022-05-09 16:18:26 +02:00
Wojciech Tyczyński
d1c9042f57
Unify apiserver startup in integration tests
2022-05-09 12:08:38 +02:00
Wei Huang
c96109a321
Refactor scheduler integration test that starts APIServer in a non-standarized manner
2022-05-08 22:28:13 -07:00
Kubernetes Prow Robot
7af5a7bfc5
Merge pull request #109602 from lavalamp/remove-clustername
...
Finish clustername removal
2022-05-07 08:01:16 -07:00
Kubernetes Prow Robot
570f1092f4
Merge pull request #109542 from sanposhiho/fix-test-case-scheduler-perf
...
scheduler_perf: Remove test cases for Preemption which always fail
2022-05-07 03:33:29 -07:00
Kubernetes Prow Robot
83b25e371f
Merge pull request #109834 from aojea/split_scheduling_integration
...
integration: refactor and split scheduler tests
2022-05-06 09:07:32 -07:00
Kubernetes Prow Robot
7e6a8bc3db
Merge pull request #109252 from kerthcet/fix/goroutine-leak-in-integration-tests
...
fix: resolve goroutine leak in integration tests
2022-05-06 09:07:17 -07:00
Antonio Ojea
6a0e55d124
remove unused variables in test/integration/scheduler/filters/filters_test.go
2022-05-06 12:50:30 +02:00
Antonio Ojea
46fc39f440
remove unused variables in test/integration/scheduler/util.go
2022-05-06 12:49:59 +02:00
Antonio Ojea
ef410d18e1
remove unused function on b/test/integration/util/util.go
2022-05-06 12:47:25 +02:00
kerthcet
c74aeab5a5
fix: resolve goroutine leak in statefulset integration tests
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-06 17:51:34 +08:00
kerthcet
835cdd6d81
fix: resolve goroutine leak in volumescheduling integration tests
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-06 17:51:17 +08:00
Antonio Ojea
9dbe4c8508
integration: migrate taint tests
2022-05-06 11:27:15 +02:00
Antonio Ojea
0dbb9f4a8f
integration: migrate scoring tests
2022-05-06 11:27:15 +02:00
Antonio Ojea
63d64b7108
integration: migrate preemption tests
2022-05-06 11:27:15 +02:00
Antonio Ojea
6a64e24cfa
integration: migrate plugings tests
2022-05-06 11:27:15 +02:00
Antonio Ojea
69acad2c15
integration: migrate extender tests
2022-05-06 11:27:15 +02:00
Antonio Ojea
3bb965b651
merge test integration scheduler util
2022-05-06 11:27:11 +02:00
Antonio Ojea
ad765c1801
integration: scheduler: migrate PDB from v1beta1 to v1
2022-05-06 10:24:47 +02:00
Daniel Smith
331525670b
Remove ClusterName
2022-05-05 20:12:50 +00:00
Kubernetes Prow Robot
71df3e819b
Merge pull request #109545 from sanposhiho/fix-nun-on-scheduler_perf
...
Skip adding data to avoid "json: unsupported value: NaN" panic when data is NaN
2022-05-05 11:53:45 -07:00
Kubernetes Prow Robot
751e9c0f5b
Merge pull request #109825 from alculquicondor/reduce-tests
...
Reduce number of repetitions and pods in TestPreemptionRaces
2022-05-05 10:50:29 -07:00
Kensei Nakada
4af3c5efeb
Skip adding data to avoid "json: unsupported value: NaN" panic when data is NaN
2022-05-05 16:11:22 +00:00
Aldo Culquicondor
51b1bb5ea7
Reduce number of repetitions and pods in TestPreemptionRaces
...
Change-Id: Id2c73be7be2536b02c804978d26d1e977a344399
2022-05-05 10:38:05 -04:00
Kubernetes Prow Robot
f40f078590
Merge pull request #109759 from wojtek-t/cleanup_integration_tests
...
Minor cleanup to use t.Run() in test/integration
2022-05-05 01:43:22 -07:00
Kubernetes Prow Robot
e514c5d79c
Merge pull request #109755 from p0lyn0mial/harden-test-service-account
...
hardens integration serviceaccount tests
2022-05-05 01:43:14 -07:00
Wojciech Tyczyński
61d681387f
Close events recording sink in integration tests
2022-05-04 13:59:47 +02:00
Kubernetes Prow Robot
3bef1692ef
Merge pull request #109696 from Huang-Wei/rm-sched-perf-legacy
...
Cleanup legacy scheduler perf tests
2022-05-04 02:35:43 -07:00
Kubernetes Prow Robot
629706e0fe
Merge pull request #109546 from sanposhiho/replace-metrics
...
Replace scheduler_e2e_scheduling_duration_seconds with scheduler_scheduling_attempt_duration_seconds in scheduler_perf
2022-05-04 01:29:22 -07:00
Kubernetes Prow Robot
63a618a815
Merge pull request #109486 from alculquicondor/job-backofflimit
...
Fix job tracking leaving pods with finalizers
2022-05-04 01:28:14 -07:00
Kubernetes Prow Robot
e8ef77514b
Merge pull request #109443 from kevindelgado/dynamic-apply
...
Add Apply and ApplyStatus methods to dynamic ResourceInterface
2022-05-04 01:27:53 -07:00
sanposhiho
1c2c20e6bd
Change test cases for Preemption to create fewer Pods
2022-05-04 07:47:46 +00:00
Kubernetes Prow Robot
edac6fce2a
Merge pull request #109338 from kerthcet/cleanup/forget-to-close-when-error
...
test/integration/framework: call closeFn() in startAPIServerOrDie() on error
2022-05-03 19:31:22 -07:00
Kubernetes Prow Robot
cc2807c521
Merge pull request #109303 from wojtek-t/clean_storage_shutdown
...
Cleanup rest storage resources on shutdown
2022-05-03 19:30:57 -07:00
Kubernetes Prow Robot
743238e951
Merge pull request #108048 from aojea/custom_etcd_integration
...
integration: custom etcd gracefully termination
2022-05-03 17:18:48 -07:00
Kubernetes Prow Robot
f0cd3725d3
Merge pull request #101835 from sanposhiho/scheduler_perf/feature/op-sleep
...
scheduler_perf: create sleep operation
2022-05-03 17:17:11 -07:00
Wojciech Tyczyński
04b77f02ee
Minor cleanup to use t.Run() in test/integration
2022-05-02 21:13:32 +02:00
Lukasz Szaszkiewicz
8dea7ea27e
hardens integration serviceaccount tests
...
the serviceAccountController controller used by the tests must wait for the caches to sync
since the tests don't check /readyz there is no way
the tests can tell it is safe to call the server and requests won't be rejected
2022-05-02 17:33:50 +02:00
Wei Huang
846ebf7814
Cleanup legacy scheduler perf tests
2022-04-27 09:57:17 -07:00
sanposhiho
b7b94b6b39
scheduler_perf: create sleep operation
2022-04-25 23:02:09 +00:00
Aldo Culquicondor
12568860cb
Test Foreground deletion in job integration
...
Change-Id: Ia6e86da5e66422fdb653c1ee60864a1c79233ea6
2022-04-20 16:39:10 -04:00
Aldo Culquicondor
f2c8030845
Integration test for backoff limit and finalizers
...
Change-Id: Ic231ce9a5504d3aae4191901d7eb5fe69bf017ac
2022-04-20 16:39:09 -04:00
sanposhiho
6e0da69632
Replace scheduler_e2e_scheduling_duration_seconds with scheduler_scheduling_attempt_duration_seconds in scheduler_perf
2022-04-20 00:48:12 +09:00
Wojciech Tyczyński
73da6d15f9
Fix TestPriorityLevelIsolation concurrency issue
2022-04-19 15:59:14 +02:00
Wojciech Tyczyński
e95f8f2e42
Clean apiserver shutdown in integration tests
2022-04-19 15:59:13 +02:00
Wojciech Tyczyński
0527a0dd45
Cleanup rest storage resources on shutdown
2022-04-19 15:59:13 +02:00
Antonio Ojea
1756fe60d4
integration: custom etcd gracefully termination
...
when running integration tests without an external etcd, the framework
spawns an etcd instance executing it in its own process and killing
it once the test stops.
Instead of killing it directly, allow etcd to exit gracefully or kill
it after 5 seconds.
2022-04-18 19:09:38 +02:00
Aldo Culquicondor
3b18613be8
Disable JobTrackingWithFinalizers due to unresolved bug
...
Change-Id: Ieeeab689ae51dfe0dc06bdca88519d0ecf66d636
2022-04-14 15:08:14 -04:00
Kubernetes Prow Robot
4cdeab4696
Merge pull request #109436 from JamesLaverack/revert-108290
...
Revert "Introduce APIs to support multiple ClusterCIDRs (#108290 )"
2022-04-13 07:02:46 -07:00
James Laverack
7d57d5c70d
Revert "Introduce APIs to support multiple ClusterCIDRs ( #108290 )"
...
This reverts commit b9792a9dae
.
2022-04-13 13:58:19 +01:00
Abdullah Gharaibeh
6d499ee9ea
Correct event registration for multiple scheduler plugins.
2022-04-12 18:32:24 -04:00
Kevin Delgado
581ac7f446
Add Apply and ApplyStatus methods to dynamic ResourceInterface
2022-04-12 21:55:40 +00:00
Jordan Liggitt
e570744ca9
Revert "add test to dry-run for unwanted generated values"
...
This reverts commit 48994c1518
.
2022-04-06 12:34:49 -04:00
Jordan Liggitt
adb7621919
Revert "remove unwanted values returned from dry-run"
...
This reverts commit 60c1d58d02
.
2022-04-06 12:34:42 -04:00
kerthcet
fbf07e989c
fix: forget to call close() in error
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-04-06 22:21:23 +08:00
Sarvesh Rangnekar
b9792a9dae
Introduce APIs to support multiple ClusterCIDRs ( #108290 )
...
* Introduce networking/v1alpha1 api, ClusterCIDRConfig type
Introduce networking/v1alpha1 api group.
Add `ClusterCIDRConfig` type to networking/v1alpha1 api group, this type
will enable the NodeIPAM controller to support multiple ClusterCIDRs.
* Change ClusterCIDRConfig.NodeSelector type in api
* Fix review comments for API
* Update ClusterCIDRConfig API Spec
Introduce PerNodeHostBits field, remove PerNodeMaskSize
2022-03-30 19:39:00 -07:00
Kubernetes Prow Robot
8b158fa730
Merge pull request #108953 from nckturner/remove-insecure-serving
...
Remove the deprecated insecure serving from the cloud controller manager
2022-03-30 18:03:00 -07:00
Kubernetes Prow Robot
e4690b0fbc
Merge pull request #109123 from dims/switch-to-pause-3.7
...
Switch to pause 3.7 for Kubernetes 1.24
2022-03-29 20:37:39 -07:00
Kubernetes Prow Robot
904c30562a
Merge pull request #109031 from Jefftree/openapiv3beta
...
OpenAPI V3 Enable Beta
2022-03-29 20:36:25 -07:00
Kubernetes Prow Robot
0c5574c2a3
Merge pull request #108745 from aramase/aes-gcm
...
feat: prepare KMS data encryption for migration to AES-GCM
2022-03-29 19:28:25 -07:00
Jefftree
67d3dbfaae
Separate OpenAPI V2 and V3 Config
2022-03-29 17:49:56 -07:00
Anish Ramasekar
90b42f91fd
feat: prepare KMS data encryption for migration to AES-GCM
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Co-authored-by: Monis Khan <mok@vmware.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-03-30 00:37:42 +00:00
Kubernetes Prow Robot
5b8dbfbbcf
Merge pull request #108995 from pohly/log-contextual
...
contextual logging
2022-03-29 17:35:59 -07:00
Kubernetes Prow Robot
9fe98d8bab
Merge pull request #108736 from NetApp/any-volume-data-source-beta
...
Update AnyVolumeDataSource feature gate to beta
2022-03-29 17:35:25 -07:00
Davanum Srinivas
f7ad09c447
Switch to pause 3.7
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-29 15:36:38 -04:00
Ben Swartzlander
08948ca779
Update AnyVolumeDataSource feature gate to beta
...
Default to enabled
Fix validation of null-updates/patches when the "old" PVC was persisted by
an older version. Add upgrade integration tests written by liggitt.
2022-03-29 13:39:48 -04:00
Aldo Culquicondor
8c00f510ef
Graduate JobReadyPods to beta
...
Set podUpdateBatchPeriod to 1s
Change-Id: I8a10fd8f8559adad9df179b664b8c82851607855
2022-03-29 10:07:41 -04:00
Patrick Ohly
b390d018c7
logs: pass verbosity to loggers
...
When a Logger gets called directly via contextual logging, it has to do its own
verbosity check and therefore needs to know what the intended verbosity level
is.
This used to work previously because all verbosity checks were done in klog
before invoking the Logger.
2022-03-29 12:06:40 +02:00
Ricardo Katz
42a1201082
Implementation on Network Policy Status ( #107963 )
...
* Implement status subresource in NetworkPolicy
* add NetworkPolicyStatus generated files
* Fix comments in netpol status review
2022-03-29 01:52:48 -07:00
Kubernetes Prow Robot
874d4bff43
Merge pull request #108990 from jpbetz/per-crd
...
CRD CEL Validation: per-CRD estimated cost limit enforcement
2022-03-28 16:53:11 -07:00
Kubernetes Prow Robot
ef45c99506
Merge pull request #109025 from alculquicondor/smaller-job-integration-load
...
Reduce number of pods in Job+GC tests
2022-03-28 15:23:56 -07:00
Joe Betz
ff3d67d76a
Enfoce per-CRD estimated cost limit
2022-03-28 17:33:16 -04:00
Kermit Alexander
7e66bd2057
Add per-CRD cost evaluation.
2022-03-28 16:08:13 +00:00
Nick Turner
18ce801bea
Remove the deprecated insecure serving from the cloud controller manager
2022-03-27 00:15:24 +00:00
Antonio Ojea
d2ca66651d
refactor apiserver tests
2022-03-26 10:20:27 +01:00
Antonio Ojea
ddadc9a0bb
reorganize controlplane integration tests
2022-03-26 09:19:55 +01:00
Antonio Ojea
d9bac2efb9
reduce parallelism on daemonset tests
2022-03-26 09:14:53 +01:00
Kubernetes Prow Robot
6c73b674d7
Merge pull request #109030 from liggitt/revert-apf-ssa
...
Revert "Revert "Merge pull request #107797 from tkashem/revert-107456""
2022-03-25 19:17:58 -07:00
Kubernetes Prow Robot
c239b406f0
Merge pull request #108929 from gnufied/move-expansion-feature-gate-ga
...
Move all volume expansion feature gates to GA
2022-03-25 18:08:16 -07:00
Kubernetes Prow Robot
0a63090445
Merge pull request #108859 from cici37/placeholder
...
Return a placeholder error for blocking failures and skip CEL validation.
2022-03-25 18:07:58 -07:00
Jordan Liggitt
363a8beaab
Revert "Revert "Merge pull request 107797 from tkashem/revert-107456""
...
This reverts commit b0b460921b
.
2022-03-25 14:36:10 -04:00
Aldo Culquicondor
cd9fd12960
Reduce number of pods in Job+GC tests
...
To reduce the load of the integration tests. This change reduces the runtime of each test in half.
Change-Id: I71bcaadf3809643c63bb0f6b73c28778d37d8967
2022-03-25 13:01:50 -04:00
Kubernetes Prow Robot
4348c8ecaf
Merge pull request #108752 from alculquicondor/job-orphan-pods
...
Fix: Clean job tracking finalizer from orphan pods
2022-03-25 03:21:51 -07:00
cici37
460121fa1e
Return a placeholder error for blocking failure before CEL validation.
2022-03-25 01:19:31 -07:00
Joe Betz
f71c4d4cf4
Add validation rule tests for transition rules
2022-03-24 21:19:50 -04:00
Ben Luddy
fe38a414f8
Allow and enforce CEL CRD validation rules that reference oldSelf.
...
Co-authored-by: Joe Betz <jpbetz@google.com>
2022-03-24 18:20:51 -04:00
Alex Zielenski
11b3a18cca
Update kube-openapi ( #108895 )
...
* upgrade k8s.io/kube-openapi
* fix open-api v3 blank aggregator output
* use keys as API group
in ./hack/update-openapi-spec.sh
* fix import grouping
* update openapiv3 integration tests
2022-03-24 14:01:01 -07:00
Kubernetes Prow Robot
2161071d0b
Merge pull request #108919 from denkensk/rename-usQ
...
Rename unschedulableQ to unschedulablePods
2022-03-24 12:18:53 -07:00
Aldo Culquicondor
1d9e3766d2
Add test for Background delete propagation
...
Change-Id: I033e6fb04933c64cfe6490d1019333745d58c423
2022-03-24 11:57:51 -04:00
Aldo Culquicondor
f72173e4b4
Add integration test for orphan pods when there is GC
...
Change-Id: I04cd70725fd1830be8daf2dca53f67bc10a379b7
2022-03-24 11:57:49 -04:00
Hemant Kumar
9343cce20b
remove ExpandPersistentVolume feature gate
2022-03-24 10:02:47 -04:00
Kubernetes Prow Robot
190f974dd8
Merge pull request #108902 from kolyshkin/bump-golangci-lint
...
Fix verify:* after go 1.18 upgrade
2022-03-24 02:59:06 -07:00
Alex Wang
8a5df1302a
rename unschedulableQ to unschedulablePods
...
Signed-off-by: Alex Wang <wangqingcan1990@gmail.com>
2022-03-24 17:38:49 +08:00
Kubernetes Prow Robot
bb67b5e9e8
Merge pull request #108717 from lavalamp/remove-clustername
...
Remove ClusterName
2022-03-23 22:31:33 -07:00
Kubernetes Prow Robot
f97825e1ce
Merge pull request #107395 from alculquicondor/indexed-job
...
Graduate IndexedJob to stable
2022-03-23 17:44:41 -07:00
Kubernetes Prow Robot
7dde0b4bb5
Merge pull request #108342 from tkashem/rate-limit-error
...
client-go: chain the error returned by rate limiter
2022-03-23 13:21:43 -07:00
Kubernetes Prow Robot
9fbe66a486
Merge pull request #103516 from ykakarap/kubectl-subresources-apiserver
...
kubectl: apiserver changes to add --subresource support
2022-03-23 13:21:32 -07:00
Kubernetes Prow Robot
2d46f1bc30
Merge pull request #103062 from ikeeip/component_helper_storage
...
Move volume helpers to "k8s.io/component-helpers/storage/volume".
2022-03-23 13:21:20 -07:00
Kubernetes Prow Robot
14e8db067e
Merge pull request #108191 from ravisantoshgudimetla/wire-cert-contexts
...
Wire cert contexts
2022-03-23 11:20:17 -07:00
Kir Kolyshkin
8820f4d381
TestWatchRestartsIfTimeoutNotReached: fix
...
This fixes the following error:
> test/integration/apimachinery/watch_restart_test.go:232:5: call to (*T).Fatalf from a non-test goroutine
Update: the previous fix (commit 1ce55e3afe
that uses panic)
looks way too severe; it seems it is enough to call t.Errorf and return
from goroutine. The test will time out and fail anyway.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-03-23 10:19:38 -07:00
Daniel Smith
2831f9a343
remove unneeded references
2022-03-23 15:26:38 +00:00
Kubernetes Prow Robot
24a71990e0
Merge pull request #108445 from pohly/storage-capacity-ga
...
storage capacity GA
2022-03-23 08:06:21 -07:00
Abu Kashem
6acbe7e645
client-go: chain the error returned by rate limiter
2022-03-23 08:29:28 -04:00
Davanum Srinivas
1ce55e3afe
fix govet on golang 1.18
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-23 08:02:53 -04:00
Yuvaraj Kakaraparthi
801c39b478
kubectl: API changes to support --subresource in kubectl
...
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
Co-authored-by: Nikhita Raghunath <nikitaraghunath@gmail.com>
Co-authored-by: Yuvaraj Kakaraparthi <kakaraparthy@vmware.com>
2022-03-23 11:19:58 +05:30
Kubernetes Prow Robot
0b8a665d50
Merge pull request #108613 from Huang-Wei/fix-v1beta3-order
...
Fix a bug that out-of-tree plugin is misplaced when using scheduler v1beta3 config
2022-03-22 01:01:44 -07:00
Kubernetes Prow Robot
9a8defda15
Merge pull request #108383 from tkashem/revert
...
Revert the revert of #107456 - "apf: change controller to use SSA for patches"
2022-03-21 22:09:43 -07:00
Kubernetes Prow Robot
7cf5c02980
Merge pull request #107979 from XudongLiuHarold/promote-loadbalancerclass-to-ga
...
Promote load balancer class to GA
2022-03-21 17:54:13 -07:00
Xudong Liu
c8a6c7f338
promote load balancer class to GA
...
Signed-off-by: Xudong Liu <xudongliuharold@gmail.com>
2022-03-21 16:16:13 -07:00
Wei Huang
d330f4dcb4
Fix a bug that out-of-tree plugin is misplaced when using scheduler v1beta3 config
2022-03-21 10:46:26 -07:00
Kubernetes Prow Robot
cd6af9e64b
Merge pull request #106155 from enj/enj/i/webhook_rest_config
...
webhook: use rest.Config instead of kubeconfig file as input
2022-03-18 12:23:56 -07:00
Kubernetes Prow Robot
ad751e8520
Merge pull request #108710 from kevindelgado/ssfv-testing-improvement
...
Exact Matching for Field Validation Integration Tests
2022-03-17 21:21:16 -07:00
Monis Khan
fef7d0ef1e
webhook: use rest.Config instead of kubeconfig file as input
...
This change updates the generic webhook logic to use a rest.Config
as its input instead of a kubeconfig file. This exposes all of the
rest.Config knobs to the caller instead of the more limited set
available through the kubeconfig format. This is useful when this
code is being used as a library outside of core Kubernetes. For
example, a downstream consumer may want to override the webhook's
internals such as its TLS configuration.
Signed-off-by: Monis Khan <mok@vmware.com>
2022-03-17 20:47:42 -04:00
Kevin Delgado
7983932800
Exact Matching for Field Validation Tests
2022-03-17 22:08:49 +00:00
Konstantin Misyutin
1d7cefe9c4
Move volume helpers to "k8s.io/component-helpers/storage/volume".
...
This patch aims to simplify decoupling "pkg/scheduler/framework/plugins"
from internal "k8s.io/kubernetes" packages. More described in
issue #89930 and PR #102953 .
Some helpers from "k8s.io/kubernetes/pkg/controller/volume/persistentvolume"
package moved to "k8s.io/component-helpers/storage/volume" package:
- IsDelayBindingMode
- GetBindVolumeToClaim
- IsVolumeBoundToClaim
- FindMatchingVolume
- CheckVolumeModeMismatches
- CheckAccessModes
- GetVolumeNodeAffinity
Also "CheckNodeAffinity" from "k8s.io/kubernetes/pkg/volume/util"
package moved to "k8s.io/component-helpers/storage/volume" package
to prevent diamond dependency conflict.
Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com>
2022-03-16 15:43:09 +08:00
Jefftree
8a1d5947ad
googleapis/gnostic -> google/gnostic
2022-03-15 20:44:03 -07:00
Aldo Culquicondor
2c5d0a273c
Graduate IndexedJob to stable
...
- Lock feature gate to true and schedule for deletion in 1.26
- Remove checks on feature gate
- Graduate E2E test to Conformance
Change-Id: I6814819d318edaed5c86dae4055f4b050a4d39fd
2022-03-15 13:41:06 -04:00
Kubernetes Prow Robot
2b1b849d6a
Merge pull request #108362 from sanposhiho/implement-mindomains
...
Implement MinDomains on Pod Topology Spread
2022-03-15 10:34:11 -07:00
Kubernetes Prow Robot
d7bd0d4f52
Merge pull request #108648 from ahg-g/ahg-ds
...
Update PreFilter interface to return a PreFilterResult
2022-03-14 18:50:20 -07:00
Kubernetes Prow Robot
c6c4915dd7
Merge pull request #108495 from stevekuznetsov/skuznets/better-rv-math
...
test/integration: improve TestTransform
2022-03-14 13:03:11 -07:00
Abdullah Gharaibeh
5b20b68bc9
Updated the scheduler framework's PreFilter interface to return a PreFilterResult
2022-03-14 15:36:52 -04:00
Patrick Ohly
f84f4fa291
storage capacity: use V1 API
2022-03-14 20:05:45 +01:00
Patrick Ohly
921edae2b4
storage capacity: v1 API
2022-03-14 20:05:45 +01:00
Patrick Ohly
3a7deaa141
storage capacity: GA, always enabled, remove feature check
...
The code and tests for scenarios where the feature is disabled are no longer
needed because the feature is graduating to GA.
2022-03-14 20:05:45 +01:00
sanposhiho
6141aa53f9
Implement MinDomains
2022-03-15 01:38:44 +09:00
Steve Kuznetsov
ff8fbc2d37
test/integration: use a context with a deadline for streaming
...
Without such a context, this test would hang without data for 10
minutes, then panic.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-03-10 13:56:55 -08:00
Steve Kuznetsov
a843239ec3
test/integration: use a known previous resourceVersion
...
ResourceVersion values are opaque and math should not be done on them.
The intent of this test was to watch from a resourceVersion before the
moment where the objects were created, and we can find such a version by
listing from the API server before the tests begin.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-03-10 13:56:36 -08:00
Kubernetes Prow Robot
b90bddfd9f
Merge pull request #108204 from kevindelgado/field-validation-crd-unit-tests
...
Field validation CRD benchmarks and decoder unit tests
2022-03-09 20:01:35 -08:00
Kubernetes Prow Robot
19935de5a9
Merge pull request #107410 from margocrawf/master
...
Ensure static certs in kubeconfig override exec plugin
2022-03-08 11:34:21 -08:00
carlory
fcc282f9f2
remove audit.k8s.io/v1[alpha|beta]1 versions
2022-03-08 14:37:26 +08:00
Margo Crawford
f015fd66ce
Check whether static cert is already configured in UpdateTransportConfig
...
- Also update test-cmd.sh to pass a signing ca to the kube controller
manager, so CSRs work properly in integration tests.
Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-07 13:54:32 -08:00
Ravi Gudimetla
72a62f47f7
Wire context for cert controllers
...
All the controllers should use context for signalling termination of communication with API server. Once kcm cancels context all the cert controllers which are started via kcm should cancel the APIServer request in flight instead of hanging around.
2022-03-07 10:19:45 -05:00
Kubernetes Prow Robot
3775ac6d19
Merge pull request #108535 from Abirdcfly/master
...
fix some typo
2022-03-05 22:46:52 -08:00
Abirdcfly
2005110090
fix some typo
...
Change-Id: I211f572555e964581214a5d726ac552676c9833a
2022-03-05 23:25:52 +08:00
Kubernetes Prow Robot
546e4fa1ef
Merge pull request #107771 from sanposhiho/fix-tiny
...
make scheduler_perf stable
2022-03-04 17:22:52 -08:00
Kubernetes Prow Robot
0a3470a68d
Merge pull request #107135 from ruquanzhao/removegenericScheduler
...
Scheduler: Remove genericScheduler and SchedulerAlgorithm.
2022-03-04 08:20:52 -08:00
Ruquan Zhao
f1a5b6ca06
Remove genericScheduler and SchedulerAlgorithm.
...
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com>
2022-03-04 13:26:46 +08:00
Jordan Liggitt
7895fbd45d
Restore wait loop to integration test
2022-03-03 21:33:01 -05:00
Antonio Ojea
b0600c630d
integration: run tests in eachs own process
2022-03-03 08:19:14 +01:00
Kubernetes Prow Robot
88f9728339
Merge pull request #108309 from zshihang/token
...
no auto-generation of secret-based service account token
2022-03-02 06:19:15 -08:00
Antonio Ojea
2660ac8a6d
integration framework: log number of leaked goroutines
2022-03-01 15:31:13 +01:00
Abu Kashem
b0b460921b
Revert "Merge pull request #107797 from tkashem/revert-107456"
...
This reverts commit 83ca745412
, reversing
changes made to 1c216c6ec8
.
2022-02-27 13:40:28 -05:00
Kubernetes Prow Robot
d3ece70f0b
Merge pull request #108269 from kerthcet/refactor/rename-schedulercache-to-cache
...
refactor: rename SchedulerCache to Cache in Scheduler
2022-02-24 14:46:13 -08:00
sanposhiho
4c3a1000c7
fix by gofmt
2022-02-25 00:23:01 +09:00
kerthcet
eafbaad9f7
refactor: rename SchedulerCache to Cache in Scheduler
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-02-24 09:47:21 +08:00
Kubernetes Prow Robot
2fcdbd098c
Merge pull request #107993 from deads2k/simplify
...
prevent enabling beta by default for new api groups
2022-02-23 16:03:35 -08:00
Kubernetes Prow Robot
77eb1a03df
Merge pull request #94637 from liggitt/namespace-before-admission
...
set/validate object namespace before admission
2022-02-23 14:35:58 -08:00
Shihang Zhang
fb6c727fde
no auto-generation of secret-based service account token
2022-02-23 14:17:30 -08:00
David Eads
1afcc31b1b
add integration test to prevent new beta APIs from being enabled by default
2022-02-23 13:51:43 -05:00
sanposhiho
1080c2d717
Make scheduler_perf stable
2022-02-24 01:29:38 +09:00
Jordan Liggitt
92422a7305
set/validate object namespace before admission
2022-02-23 11:12:27 -05:00
Kubernetes Prow Robot
5211a4b214
Merge pull request #103061 from SergeyKanzhelev/removeAlphaRuntimeClass
...
Remove RuntimeClass feature gate and stop serving older versions of RuntimeClass
2022-02-22 19:08:18 -08:00
Kubernetes Prow Robot
44241bacca
Merge pull request #108239 from Abirdcfly/master
...
delete redundant characters in comment
2022-02-22 13:25:16 -08:00
Sergey Kanzhelev
06ee2969ef
do not serve node.k8s.io, version v1alpha1
2022-02-22 18:30:24 +00:00
Wojciech Tyczyński
f3d56369f7
Unify merge GetToList and List storage methods to single GetList
2022-02-21 12:52:05 +01:00
Abirdcfly
5da98dedb4
delete redundant characters in comment
...
Change-Id: Id49d6266f76d2e242880f25cfa2b591bcef1b5ff
2022-02-21 13:51:53 +08:00
Abdullah Gharaibeh
8a1c70b48c
Graduate PodAffinityNamespaceSelector to GA
2022-02-18 12:07:29 -05:00
Kubernetes Prow Robot
8a6439d2b1
Merge pull request #108129 from ahg-g/ahg-suspend
...
Graduate SuspendJob to GA
2022-02-17 19:36:23 -08:00
Kevin Delgado
a72f24d33c
start CRD integration benchmarks
2022-02-18 01:04:51 +00:00
Kubernetes Prow Robot
3e60727f75
Merge pull request #108174 from stevekuznetsov/skuznets/transformer-context
...
storage: transformers: pass a context.Context
2022-02-17 09:45:37 -08:00
Steve Kuznetsov
27312feb99
storage: transformers: pass a context.Context
...
When an envelope transformer calls out to KMS (for instance), it will be
very helpful to pass a `context.Context` to allow for cancellation. This
patch does that, while passing the previously-expected additional data
via a context value.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-17 08:31:31 -08:00
Kevin Delgado
df2768123d
FieldValidation tests for endpoints apiserver and benchmarks for integration tests ( #107848 )
...
* wip, working post-strict-yaml
* wip, merge-patch and json-patch tests added
* added SMP tests
* cleanup
* add benchmarks
* more detailed test failure message
* start adding field validation integration benchmarks
* use valid input for benchmarking
* fix remaining integration benchmarks
* benchmarking feedback
* fix endpoints benchmarking
* remove unused vars
2022-02-16 21:19:49 -08:00
Kubernetes Prow Robot
a37b6fc8b4
Merge pull request #108138 from liggitt/v1beta1-selector
...
Revert v1beta1 PodDisruptionBudget selector patchStrategy to pre-1.21 behavior
2022-02-15 16:25:18 -08:00
Jordan Liggitt
33fc0b9651
Add PDB selector patch integration test
2022-02-15 14:45:22 -05:00
Abdullah Gharaibeh
b2d2ec9e76
Graduate SuspendJob to GA
2022-02-15 10:46:13 -05:00
Wojciech Tyczyński
b62774f2f7
Couple remaining SelfLink references cleanup
2022-02-14 18:35:54 +01:00
Wojciech Tyczyński
41ee6a3e44
Remove selflink integration tests
2022-02-14 11:11:56 +01:00
Kubernetes Prow Robot
21c0f6f6ff
Merge pull request #107677 from pohly/scheduler-integration-benchmark
...
scheduler integration benchmark improvements
2022-02-14 01:23:28 -08:00
Patrick Ohly
e1e84c8e5f
scheduler_perf: run with -v=0 by default
...
This provides a mechanism for overriding the forced increase of the klog
verbosity to 4 when starting the apiserver and uses that for the scheduler_perf
benchmark. Other tests run as before.
A global variable was used because adding an explicit parameter to several
helper functions would have caused a lot of code churn (test ->
integration/util.StartApiserver ->
integration/framework.RunAnAPIServerUsingServer ->
integration/framework.startAPIServerOrDie).
2022-02-11 16:58:33 +01:00
Kubernetes Prow Robot
e74c42aaf2
Merge pull request #107880 from liggitt/kubectl-auth-token
...
Add command to request a bound service account token
2022-02-09 14:10:01 -08:00
Jordan Liggitt
19d71bb5d5
Validate and populate metadata fields in token request
2022-02-09 14:05:53 -05:00
Kubernetes Prow Robot
24e5d1fdb7
Merge pull request #107432 from denkensk/graduate-nonpreemptingpriority-to-ga
...
Graduate NonPreemptingPriority to GA
2022-02-08 11:05:03 -08:00
Kubernetes Prow Robot
6ef0f3f620
Merge pull request #103642 from kerthcet/refactor/unreserve_test
...
refactor unreserve test
2022-02-08 02:36:53 -08:00
Alex Wang
541907334e
graduate nonpreemptingpriority to ga
2022-02-08 18:11:23 +08:00
kerthcet
8243167013
refactor unreserve_test
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-02-08 11:37:56 +08:00
Patrick Ohly
c62d7407c8
scheduler_perf: dump test data when writing it failed
...
Occasionally, writing as JSON failed because a NaN float couldn't be
encoded. The extended log message helps understand where that comes from, for
example:
F0120 20:24:45.515745 511835 scheduler_perf_test.go:540] BenchmarkPerfScheduling: unable to write measured data {Version:v1 DataItems:[{Data:map[Average:35.714285714285715 Perc50:2 Perc90:36 Perc95:412 Perc99:412] Unit:pods/s Labels:map[Metric:SchedulingThroughput Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2]} {Data:map[Average:27.863967530999993 Perc50:13.925925925925926 Perc90:30.06711409395973 Perc95:31.85682326621924 Perc99:704] Unit:ms Labels:map[Metric:scheduler_e2e_scheduling_duration_seconds Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2]} {Data:map[Average:11915.651577744 Perc50:15168.796680497926 Perc90:19417.759336099585 Perc95:19948.87966804979 Perc99:20373.77593360996] Unit:ms Labels:map[Metric:scheduler_pod_scheduling_duration_seconds Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2]} {Data:map[Average:1.1865832049999983 Perc50:0.7636363636363637 Perc90:2.891903719912473 Perc95:3.066958424507659 Perc99:5.333333333333334] Unit:ms Labels:map[Metric:scheduler_framework_extension_point_duration_seconds Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2 extension_point:Filter]} {Data:map[Average:NaN Perc50:NaN Perc90:NaN Perc95:NaN Perc99:NaN] Unit:ms Labels:map[Metric:scheduler_framework_extension_point_duration_seconds Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2 extension_point:Score]}]}: json: unsupported value: NaN
2022-02-07 08:59:19 +01:00
Patrick Ohly
8d44b819b3
scheduler_perf: avoid ambiguous test names
...
"-bench=PerfScheduling/Preemption/500Nodes" ran both the
PerfScheduling/Preemption/500Nodes and the
PerfScheduling/PreemptionPVs/500Nodes benchmark.
This can be avoided by choosing names where none is the prefix of another.
2022-02-07 08:59:19 +01:00
Patrick Ohly
259a8ad0b7
test: allow controlling etcd log level
...
When running an integration test that measures performance, like for example
test/integration/scheduler_perf, running etcd with debug level output is
undesirable because it creates additional load on the system and isn't
realistic.
The default is still "debug", but ETCD_LOGLEVEL=warn can be used to override
that.
2022-02-07 08:59:19 +01:00
ravisantoshgudimetla
65ff81757d
Wire contexts to Disruption controllers
2022-02-04 10:32:04 -05:00
ahrtr
fe95aa614c
io/ioutil has already been deprecated in golang 1.16, so replace all ioutil with io and os
2022-02-03 05:32:12 +08:00
Jyoti Mahapatra
a1b52fb17a
extend sa token if audience is apiserver ( #105954 )
...
Signed-off-by: Jyoti Mahapatra <jyotima@amazon.com>
2022-01-31 16:01:52 -08:00
Tim Hockin
e927ce85b6
service REST: Call Decorator(old) on update path
...
This is causing a bug when upgrading from older releases to 1.23 because
of Service's maybe-too-clever default-on-read logic.
Service depends on `Decorator()` to be called upon read, to
back-populate old saved objects which do not have `.clusterIPs[]` set.
This works on read, but the cache saves the pre-decorated type (as it is
documented)
In 1.23, this code was refactored and it seems some edge-case handling
was inadvertently removed (I have not confirmed exactly what happened).
Test by aojea
2022-01-30 11:25:17 -08:00
Kubernetes Prow Robot
83ca745412
Merge pull request #107797 from tkashem/revert-107456
...
Revert "Merge pull request #107456 from tkashem/apf-ssa"
2022-01-27 23:14:30 -08:00
Abu Kashem
8fb3333863
Revert "Merge pull request #107456 from tkashem/apf-ssa"
...
This reverts commit 6faa4f0010
, reversing
changes made to 33a2c50bce
.
2022-01-26 13:54:26 -05:00
Jeffrey Ying
ecb9b620fe
Revert "Populate OpenAPI in all integration tests"
2022-01-26 13:30:03 -05:00
Kubernetes Prow Robot
6a1de6b686
Merge pull request #107765 from Jefftree/ssa-integration-enable
...
Populate OpenAPI in all integration tests
2022-01-25 18:18:37 -08:00
Jefftree
eb8f6fe0f9
Populate OpenAPI in all integration tests
2022-01-25 14:16:31 -08:00
Kubernetes Prow Robot
1f05c78350
Merge pull request #107700 from sanposhiho/fix-error-log-namespace-not-found
...
Create namespace for Pod not to occur error log of namespace not-found
2022-01-25 13:34:05 -08:00
Kubernetes Prow Robot
804630ed24
Merge pull request #107636 from kerthcet/refactor/initRegistryAndConfig
...
refactor initRegistryAndConfig function
2022-01-25 10:20:30 -08:00
kerthcet
fdaea59465
refactor initRegistryAndConfig function
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-01-26 01:16:13 +08:00
sanposhiho
d8840405e2
Create namespace for Pod not to occur error log of namespace not-found
2022-01-26 00:39:12 +09:00
Kubernetes Prow Robot
321b411784
Merge pull request #107088 from joejulian/dry-run-metadata
...
strip dry-run metadata unwanted fields
2022-01-24 14:31:15 -08:00
Kubernetes Prow Robot
2a2b294c99
Merge pull request #107644 from liggitt/integration-test-user-groups
...
Fix up integration test user groups
2022-01-22 04:17:52 -08:00
Kubernetes Prow Robot
6faa4f0010
Merge pull request #107456 from tkashem/apf-ssa
...
apf: change controller to use SSA for patches
2022-01-20 13:44:29 -08:00
Abu Kashem
d9f4d6507b
apf: change controller to use SSA for patches
2022-01-19 14:56:53 -05:00
Jordan Liggitt
57e0c5969b
Fix integration test authenticators to include AllAuthenticated group
2022-01-19 13:21:05 -05:00
Kubernetes Prow Robot
e9e669aa60
Merge pull request #107276 from jlsong01/fix_flake_TestQuotaLimitService
...
Fix flake on TestQuotaLimitService
2022-01-19 09:38:05 -08:00
Kubernetes Prow Robot
657146e775
Merge pull request #107572 from MikeSpreitzer/add-flowschema-condition-test
...
Test isolation among FlowSchemaStatus Conditions
2022-01-19 06:34:06 -08:00
jlsong01
3006aa534b
fix flake on TestQuotaLimitService
2022-01-19 21:58:57 +08:00
Kubernetes Prow Robot
6989e2169f
Merge pull request #107564 from aojea/funnyips_etcd_data
...
integration test: API allow IPs with leading zeros
2022-01-18 17:18:05 -08:00
Antonio Ojea
ea130181a3
test integration: API allow IPs with leading zeros
2022-01-18 09:45:54 +01:00
Mike Spreitzer
23af47395b
Test isolation among FlowSchemaStatus Conditions
2022-01-17 15:43:37 -05:00
Kubernetes Prow Robot
a4931cc411
Merge pull request #107551 from wojtek-t/remove_unused_selflink_test_references
...
Remove unused selflink references in different testing-related files
2022-01-14 16:49:40 -08:00
Jiahui Feng
c56bbda368
fix containers order after applying
...
to be appending instead of prepending.
2022-01-14 11:15:54 -08:00
Wojciech Tyczyński
551790729f
Remove selflink references in different testing-related files
2022-01-14 12:58:05 +01:00
Kubernetes Prow Robot
dad0c48959
Merge pull request #106594 from pohly/log-benchmark
...
logs: add benchmark
2022-01-12 18:01:08 -08:00
Kubernetes Prow Robot
5bfc4286ee
Merge pull request #106943 from wojtek-t/graduate_watch_resumption_to_ga
...
Graduate EfficientWatchResumption feature to GA
2022-01-12 06:06:36 -08:00
Patrick Ohly
a5a241e0df
logs: update expected output for multi-line test case
...
The multiline support has been merged while this benchmark was written. We now
get the output that we want, with line breaks.
2022-01-11 09:57:03 +01:00
Patrick Ohly
25c646cbdd
json: never call fsync for stdout or stderr
...
We don't need to worry about data loss once the data has been written to an
output stream. Calling fsync unnecessarily has been the reason for performance
issues in the past.
2022-01-11 09:56:22 +01:00
Patrick Ohly
9a867c555c
logs: benchmark write performance
...
The recent regression https://github.com/kubernetes/kubernetes/issues/107033
shows that we need a way to automatically measure different logging
configurations (structured text, JSON with and without split streams) under
realistic conditions (time stamping, caller identification).
System calls may affect the performance and thus writing into actual files is
useful. A temp dir under /tmp (usually a tmpfs) is used, so the actual IO
bandwidth shouldn't affect the outcome. The "normal" json.Factory code is used
to construct the JSON logger when we have actual files that can be set as
os.Stderr and os.Stdout, thus making this as realistic as possible.
When discarding the output instead of writing it, the focus is more on the rest
of the pipeline and changes there can be investigated more reliably.
The benchmarks automatically gather "log entries per second" and "bytes per
second", which is useful to know when considering requirements like the ones
from https://github.com/kubernetes/kubernetes/issues/107029 .
2022-01-11 09:56:22 +01:00
Patrick Ohly
b8501fc10b
logs: work around logcheck
...
logcheck complains:
Additional arguments to ErrorS should always be Key Value pairs. Please check if there is any key or value missing.
That check is intentional, but not applicable here. The check can be worked
around by calling the functions through variables.
2022-01-11 09:56:22 +01:00
Patrick Ohly
072859c967
logs: create separate test/integration directory
...
The benchmark depends on k8s.io/api (for v1.Container). Such a dependency is
not desirable for k8s.io/component-base/logs, even if it's just for
testing. The solution is to create a separate directory where such a dependency
isn't a problem.
The alternative, a separate package with its own go.mod file under
k8s.io/component-base/logs wouldd have been more complicated to maintain (yet
another go.mod file and different whitelisted dependencies).
2022-01-11 09:56:22 +01:00
Kubernetes Prow Robot
ca4af7a981
Merge pull request #104716 from sanposhiho/feature/scheduler_perf/unused-template-params
...
test/integration/scheduler_perf: check for unused template parameters
2022-01-10 16:21:16 -08:00
Kubernetes Prow Robot
559091ba4f
Merge pull request #107339 from andrewsykim/internal-traffic-policy-external-name-validation
...
Add Service integration tests for internalTrafficPolicy when Type=ExternalName
2022-01-09 02:47:12 -08:00
Joe Julian
60c1d58d02
remove unwanted values returned from dry-run
...
Remove the uid and the resourceVersion from dry-run results per kep 576
https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/576-dry-run/README.md#generated-values
2022-01-06 15:44:05 -08:00
Joe Julian
48994c1518
add test to dry-run for unwanted generated values
...
[kep 576, dry
run](https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/576-dry-run/README.md#generated-values ), states:
```
The UID and the generated name would have a different value in a dry-run and non-dry-run creation. These values will be left empty when performing a dry-run.
```
and
```
ResourceVersion will also be left empty on creation
```
This tests ensures this behavior.
2022-01-06 15:08:09 -08:00
Andrew Sy Kim
aead636249
add integration test validating that converting a Service to ExternalName results in the field being dropped on read
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2022-01-05 12:41:53 -05:00
Andrew Sy Kim
9c3c3d8a3a
add integration test to validate that ExternalName Services can set internalTrafficPolicy, but the field is dropped on read
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2022-01-05 12:41:53 -05:00
Andrew Sy Kim
7aa20122bc
add integration test to check that Service internalTrafficPolicy is no longer defaulting when Type is ExternalName
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2022-01-05 12:41:53 -05:00
Kubernetes Prow Robot
adfc35d249
Merge pull request #107200 from pacoxu/test/cronjob-conflict-flake
...
flake: remove the error handler for cronjob integration test
2022-01-05 09:23:09 -08:00
Kubernetes Prow Robot
84f1d6834f
Merge pull request #106619 from chendave/ga
...
Graduate `PreferNominatedNode` to GA
2022-01-04 15:21:19 -08:00
Paco Xu
fd099ffaf2
flake fix: remove the error handler for cronjob integration test
2021-12-23 16:50:12 +08:00
Kubernetes Prow Robot
62faf2cdc2
Merge pull request #106721 from aojea/apiserver_dual_service
...
apiserver endpoint reconciler ip families
2021-12-17 15:23:54 -08:00
Kubernetes Prow Robot
a1e8a5bf39
Merge pull request #107027 from Nordix/disable-nodeport-ga
...
Prepare AllocateLoadBalancerNodePorts for GA
2021-12-17 13:24:05 -08:00
Kubernetes Prow Robot
8ade75465a
Merge pull request #104799 from RyanAoh/cronjob_dev
...
fix the error when cleaning up finished jobs for cronjob
2021-12-17 13:23:53 -08:00
Wei Huang
2433b083a9
clear pod's .status.nominatedNodeName when necessary
2021-12-16 10:55:13 -08:00
Lars Ekman
1ef96752da
Mark ServiceLBNodePortControl as GA
2021-12-16 16:48:58 +01:00
Antonio Ojea
cd9b22aabc
apiserver endpoint reconciler ip families
...
The apiserver may be configured to generate the Service
kubernetes.default and its endpoints addresses.
This service is single-stack, hence, the endpoints and the ClusterIP
must have the same IP family.
2021-12-13 15:43:41 +01:00
Jordan Liggitt
0b90b6ec5e
Add field paths to expected unknown/duplicate errors
2021-12-13 09:38:13 -05:00
Wojciech Tyczyński
b7257a4d6a
Graduate EfficientWatchResumption feature to GA
2021-12-10 10:20:51 +01:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 21:31:26 -05:00
Kubernetes Prow Robot
d7f8234b6d
Merge pull request #106747 from ahg-g/ahg-test
...
Added an integration test for NodeResourcesFit scoring
2021-12-07 19:28:06 -08:00
Kubernetes Prow Robot
874dc871a5
Merge pull request #106676 from HecarimV/fix-typo-2021112506
...
fix typo in /test/integration
2021-12-07 18:27:30 -08:00
Kubernetes Prow Robot
bf5b5496a0
Merge pull request #106522 from aojea/e2e_disable_nodeport_lb
...
Add e2e tests for disable nodeport lb feature
2021-12-07 18:25:53 -08:00
Abdullah Gharaibeh
33a04dc5f5
Added an integration test for NodeResourcesFit scoring
2021-11-30 12:13:30 -05:00
HaoJie Liu
1dc1a37294
fix typo in /test/integration
2021-11-25 18:59:31 +08:00
Jordan Liggitt
88ab0d03b7
Revert "update expected ordering"
...
This reverts commit fbc8ac9c96
.
2021-11-24 11:19:27 -05:00
Dave Chen
8609358975
Graduate PreferNominatedNode
to GA
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-11-24 14:50:53 +08:00
Aohan Yang
ad4fe13528
fix the error when cleaning up jobs for cronjob
2021-11-22 17:06:22 +08:00
Jordan Liggitt
d4d34085e4
Clean up field validation test logs
2021-11-21 21:29:06 -05:00
Jordan Liggitt
8fa1c612fd
Speed up field validation tests
2021-11-21 21:29:06 -05:00
Kevin Delgado
e50e2bbc88
Server Side Field Validation
...
Implements server side field validation behind the
`ServerSideFieldValidation` feature gate. With the
feature enabled, any create/update/patch request
with the `fieldValidation` query param set to
"Strict" will error if the object in the request
body have unknown fields. A value of "Warn"
(also the default when the feautre is enabled)
will succeed the request with a warning.
When the feature is disabled (or the query param
has a value of "Ignore"), the request will succeed
as it previously had with no indications of any
unknown or duplicate fields.
2021-11-19 21:24:36 +00:00
Antonio Ojea
2ea3d320b0
integration tests service node port control
...
When a service is created with AllocateLoadBalancerNodePorts to false
it should not allocate node ports.
If the same service is updated to set AllocateLoadBalancerNodePorts
to true, it should allocate node ports.
When a service is updated from ClusterIP type to LoadBalancer type,
and AllocateLoadBalancerNodePorts is set to false, it should not
allocate node ports.
2021-11-18 09:38:30 +01:00
Hanna Lee
07a883d8e6
Remove //lint:ignore pragmas that aren't being used anymore
2021-11-17 08:56:54 +01:00
Hanna Lee
c8fde197f5
Add more //nolint:staticcheck for failures caught in PR tests
2021-11-17 08:56:02 +01:00
Kubernetes Prow Robot
f784891854
Merge pull request #105945 from Jefftree/openapi-v3-test
...
OpenAPI v3
2021-11-16 21:14:05 -08:00
Kubernetes Prow Robot
c0b5ed7556
Merge pull request #105611 from damemi/simplified-multipoint-extension
...
Scheduler simplified MultiPoint plugin config
2021-11-16 17:44:12 -08:00
Kermit Alexander
3180012c1b
Add integration tests for OpenAPI v3.
2021-11-16 17:38:54 -08:00
Kubernetes Prow Robot
e14bdbaa1c
Merge pull request #105057 from jiahuif-forks/feature/enum-types-feature-enablement
...
Add Support for OpenAPIEnum in OpenAPI v2
2021-11-16 16:35:55 -08:00
Mike Dame
420c5308bb
Add MultiPoint scheduler plugin config field
2021-11-16 14:56:33 -05:00
Joe Betz
ba6db69c39
Add integration tests for CRD validation rules feature
2021-11-15 21:49:32 -05:00
Neha Lohia
fa1b6765d5
move pkg/util/node to component-helpers/node/util ( #105347 )
...
Signed-off-by: Neha Lohia <nehapithadiya444@gmail.com>
2021-11-12 07:52:27 -08:00
Mike Dame
80c01707e0
Wire contexts to Batch controllers ( #105491 )
...
* Wire contexts to Batch controllers
* (hold) feedback + updates that overlap with Apps controllers
* fixup errors
2021-11-10 14:56:46 -08:00
Jiahui Feng
a8175212aa
integration test for OpenAPI feature enablement.
2021-11-10 11:06:03 -08:00
Kubernetes Prow Robot
9351ea291a
Merge pull request #105873 from MikeSpreitzer/more-seat-metrics
...
More seat metrics for APF
2021-11-10 02:23:26 -08:00
Jiahui Feng
9c05de2f31
prune enum when OpenAPIEnums is disabled.
2021-11-09 13:00:00 -08:00
wangyysde
d2abddd909
rename v2beta2 to v2
...
Signed-off-by: wangyysde <net_use@bzhy.com>
Generation swagger.json.
Use v2 path for hpa_cpu_field.
run update-codegen.sh
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-11-09 10:34:54 +08:00
Kubernetes Prow Robot
8e2d7a3d64
Merge pull request #105983 from jiahuif-forks/dep/bump-smd
...
Upgrade sigs.k8s.io/structured-merge-diff/v4 to v4.2.0
2021-11-03 15:24:32 -07:00
Kubernetes Prow Robot
4dfd739403
Merge pull request #105997 from robscott/mirroring-selector
...
Fixing how EndpointSlice Mirroring handles Service selector transitions
2021-11-03 12:48:32 -07:00
Jiahui Feng
fbc8ac9c96
update expected ordering
...
in apply test.
2021-11-02 10:00:00 -07:00
Jordan Liggitt
01fa142ef5
PodSecurity: promote to beta
2021-11-02 09:43:24 -04:00
Kubernetes Prow Robot
2a821d787b
Merge pull request #105525 from damemi/wire-contexts-core
...
Wire contexts to Core controllers
2021-11-02 03:32:58 -07:00
Tim Allclair
6c273020d3
[PodSecurity] Avoid the LegcayRegistry for metrics serving
2021-11-01 14:23:00 -07:00
Tim Allclair
21692e1683
[PodSecurity] Add error & exemption metrics
2021-11-01 14:22:58 -07:00
Tim Allclair
e46928c0b1
[PodSecurity] Fix up metrics & add tests
...
Update pod security metrics to match the spec in the KEP.
2021-11-01 14:11:19 -07:00
Mike Spreitzer
154bf6aab3
Add metrics about watch counts seen by APF
2021-11-01 16:02:49 -04:00
Mike Dame
4960d0976a
Wire contexts to Core controllers
2021-11-01 10:29:00 -04:00
Rob Scott
794f0cb7f1
Fixing how EndpointSlice Mirroring handles Service selector transitions
2021-10-29 11:03:28 -07:00
Kubernetes Prow Robot
6edcb60d9f
Merge pull request #104915 from alculquicondor/job-ready
...
Track ready pods in Job status
2021-10-28 09:20:26 -07:00
Shuanglu
9bcfa71e31
Fix Daemonset controller role missing 'update pod' permission ( #104758 )
...
* fix_dsc_rbac_pod_update
* add test for DaemonSet Controller updates label of the pod after "DedupCurHistories"
* rebase
* update parameter of dsc.Run
2021-10-28 05:24:26 -07:00
Abdullah Gharaibeh
74e1b07a5e
Fixes TestNodeSelectorUpdate flaky test
2021-10-25 10:33:50 -04:00
Antonio Ojea
3ca2bb4443
integration test clientset share connection for custom transports
2021-10-20 06:39:39 +02:00
Aldo Culquicondor
68f2c892e5
Add integration tests for tracking ready Pods
...
Change-Id: I1f20657f4f9cd4daad73149f969bad52a33698fa
2021-10-19 15:18:37 -04:00
Aldo Culquicondor
2c1b3fdb5b
Graduate JobTrackingWithFinalizers to beta
...
Enable feature by default.
Update integration tests for other features to assume that finalizers are present.
Change-Id: Ie969344f572627dba882c0e862e5700dadaf3026
2021-10-15 10:29:40 -04:00
Kubernetes Prow Robot
57aaa70b2c
Merge pull request #105596 from pacoxu/subresource-remove
...
test fix: check correct subresource patch path
2021-10-14 10:49:48 -07:00
Kubernetes Prow Robot
dea052ceba
Merge pull request #105479 from ahg-g/ahg-mutable
...
Allow updating scheduling directives of suspended jobs that never started
2021-10-14 08:09:18 -07:00
Abdullah Gharaibeh
335817cbce
Allow updating node affinity, selector and tolerations for suspended jobs that never started
2021-10-14 10:04:47 -04:00
Kubernetes Prow Robot
f27e4714ba
Merge pull request #105377 from damemi/wire-contexts-apps
...
Wire contexts to Apps controllers
2021-10-14 06:59:19 -07:00
Mike Dame
41fcb95f2f
Wire contexts to Apps controllers
2021-10-13 16:32:13 -04:00
Kubernetes Prow Robot
3271dff7b4
Merge pull request #105535 from soltysh/apps_cleanup
...
Move test utils where they belong
2021-10-12 08:11:48 -07:00
Maciej Szulik
8322121434
Move test-related utils to test/utils
2021-10-12 14:52:19 +02:00
Dave Chen
1500a5ca80
Simplify the integration test by removing the struct of nodeConfig
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-10-12 17:46:38 +08:00
Kubernetes Prow Robot
c2cbf5ff49
Merge pull request #105509 from ravisantoshgudimetla/fix-integration
...
[scheduler] [test]: Fix PreferNominatedNode test
2021-10-11 20:01:46 -07:00
Paco Xu
abd13b131c
test fix: check correct subresource patch path
2021-10-11 10:14:19 +08:00
Kubernetes Prow Robot
835980ac67
Merge pull request #105424 from kerthcet/cleanup/remove-scheduler-policy-config
...
remove scheduler policy config
2021-10-08 10:57:23 -07:00
kerthcet
a6f695581b
remove legacy scheduler policy config, as well as associated flags policy-config-file, policy-configmap, policy-configmap-namespace and use-legacy-policy-config
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-10-08 23:57:49 +08:00
Kubernetes Prow Robot
60ab733932
Merge pull request #105546 from Huang-Wei/fix-evt-volumebinding
...
sched: adjust events to register for VolumeBinding plugin
2021-10-08 02:12:57 -07:00
Kubernetes Prow Robot
9b45983d3c
Merge pull request #104251 from ravisantoshgudimetla/scheduling-v1beta3
...
Scheduling v1beta3
2021-10-07 10:47:32 -07:00
Wei Huang
b7d90ca991
sched: adjust events to register for VolumeBinding plugin
2021-10-07 08:51:04 -07:00
ravisantoshgudimetla
283b176102
[test]: modify integration tests to use v1beta3
2021-10-07 10:58:07 -04:00