Tim Allclair
1a1ca5173e
Combine RequestAuditConfig with RequestAuditConfigWithLevel
2022-11-02 15:24:14 -07:00
Aldo Culquicondor
5e03865f65
Add benchmark for large indexed job
...
Change-Id: I556f0cce5842699c98654cfb5a66e7c8d63b2e2e
2022-11-02 11:56:26 -04:00
Kubernetes Prow Robot
447706238f
Merge pull request #113419 from chrishenzie/rwop-integration-test
...
scheduler: integration test for ReadWriteOncePod alpha
2022-11-02 08:35:38 -07:00
Laszlo Janosi
82ce61afc7
KEP-1435 Mixed Protocol values in LoadBalancer Service GA
...
Removed the unit tests that test the cases when the MixedProtocolLBService feature flag was false - the feature flag is locked to true with GA
Added an integration test to test whether the API server accepts an LB Service with different protocols.
Added an e2e test to test whether a service which is exposed by a multi-protocol LB Service is accessible via both ports.
Removed the conditional validation that compared the new and the old Service definitions during an update - the feature flag is locked to true with GA.
2022-11-02 13:44:52 +02:00
Chris Henzie
2d0afbc054
scheduler: integration test for ReadWriteOncePod alpha
...
Tests scheduler enforcement of the ReadWriteOncePod PVC access mode.
- Creates a pod using a PVC with ReadWriteOncePod
- Creates a second pod using the same PVC
- Observes the second pod fails to schedule because PVC is in-use
- Deletes the first pod
- Observes the second pod successfully schedules
2022-11-01 15:08:01 -07:00
Mark Rossetti
498d065cc5
Promoting WindowsHostProcessContainers to stable
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-11-01 14:06:25 -07:00
kerthcet
cfc53ee524
Refactor code and annotations for readability
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-11-01 17:44:45 +08:00
kerthcet
21e8a69a22
Use operationCode instead of string directly
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-11-01 17:01:22 +08:00
David Ashpole
f830d971b8
fix and extend apiserver tracing tests
2022-10-31 19:42:14 +00:00
Michał Woźniak
3628532311
Extend metrics with the new labels ( #113324 )
...
* Extend job metrics
* Refactor TestMetrics to extract its checks into dedicated tests per feature
2022-10-31 08:50:45 -07:00
Rita Zhang
c3df726c7b
Enable encryption for custom resources
...
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2022-10-26 13:37:11 -07:00
Shihang Zhang
569cd70a52
track legacy service account tokens
2022-10-24 09:37:53 -07:00
Kubernetes Prow Robot
4d50d28777
Merge pull request #113193 from kerthcet/cleanup/remove-unnecessary-tests
...
Remove unuseful multi scheduler testcases
2022-10-21 08:32:03 -07:00
Kubernetes Prow Robot
18b81513b6
Merge pull request #112025 from kerthcet/refactor/handle-scheduling-failure
...
Refactor schedulingCycle and bindingCycle in scheduler
2022-10-21 08:31:51 -07:00
kerthcet
f7f857814f
Refactor schedulingCycle and bindingCycle in scheduler
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-10-21 13:53:18 +08:00
Aldo Culquicondor
12d308f5c4
Add metric for terminated pods with tracking finalizer
...
Change-Id: I26f3169588c30ed82250cb7baff8e277f8d13bb7
2022-10-20 11:35:20 -04:00
Michal Wozniak
b1e575aaf7
Self-nominate mimowo as a reviewer for pkg/controller/job & test/integration/job
...
I think I'm ready to start review and LGTM code changes within this
package, but not necessarily for the entire sig-apps.
My PRs to the packages:
https://github.com/kubernetes/kubernetes/pull/110292
https://github.com/kubernetes/kubernetes/pull/111113
https://github.com/kubernetes/kubernetes/pull/112948
PRs to the packages I contributed reviews to:
https://github.com/kubernetes/kubernetes/pull/113166
https://github.com/kubernetes/kubernetes/pull/110294
2022-10-20 09:22:35 +02:00
kerthcet
26ad401b7a
Remove unuseful multi scheduler testcases
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-10-20 15:15:49 +08:00
Aldo Culquicondor
b8bd168180
Simplify tests for job metrics by resetting them
...
Change-Id: I20a0acbbb179bf895953b9d7af72625a2191b8eb
2022-10-19 13:52:00 -04:00
Kubernetes Prow Robot
126986016e
Merge pull request #113167 from alculquicondor/job_test_owners
...
Add SIG Apps owners for job integration tests
2022-10-19 10:03:14 -07:00
Kubernetes Prow Robot
bf14677914
Merge pull request #112546 from oscr/the-the
...
grammar: replace all occurrences of "the the" with "the"
2022-10-19 10:03:02 -07:00
Aldo Culquicondor
f21cd0c53d
Add SIG Apps owners for job integration tests
...
Change-Id: I5c6198d10388ee7ce1fb7ae8d2f2b2144993688b
2022-10-19 10:38:07 -04:00
Mohammad Zuber Khan
f86acbad68
add superuser fallback to authorizer ( #111558 )
...
* add superuser fallback to authorizer
* change the order of authorizers
* change the order of authorizers
* remove the duplicate superuser authorizer
* add integration test for superuser permissions
2022-10-18 18:57:00 -07:00
David Ashpole
00bcd6cf01
Fix bug in which APIServerTracing did not work with some egress selectors
2022-10-18 19:41:07 +00:00
Antonio Ojea
bea96abac3
test dualstack services with assigned clusterIPs
2022-10-14 15:53:49 +00:00
Kubernetes Prow Robot
9bedff1147
Merge pull request #112948 from mimowo/112873-fix-job-finished-metric
...
Fix the job finished metric issue due to the final job status update occasionally failing
2022-10-14 06:24:57 -07:00
Oscar Utbult
e4f776f230
grammar: replace all occurrences of "the the" with "the"
2022-10-14 09:03:14 +02:00
Kubernetes Prow Robot
01019770cf
Merge pull request #112789 from enj/enj/r/kms_load_once_v2
...
Load encryption config once (second approach)
2022-10-13 11:25:02 -07:00
Michal Wozniak
b64e5b2d15
Fix the occasional double-counting job_finished_total metric
...
The reason for the issue is that the metrics were bumped before the
final job status update. In case the update failed the path was
repeated by the next syncJob leading to double-counting of the metrics.
The solution is to delay recording metrics and broadcasting events
after the job status update succeeds.
2022-10-13 17:23:03 +02:00
Monis Khan
f507bc2553
Load encryption config once
...
This change updates the API server code to load the encryption
config once at start up instead of multiple times. Previously the
code would set up the storage transformers and the etcd healthz
checks in separate parse steps. This is problematic for KMS v2 key
ID based staleness checks which need to be able to assert that the
API server has a single view into the KMS plugin's current key ID.
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-10-13 10:52:29 -04:00
Kubernetes Prow Robot
525280d285
Merge pull request #112643 from SergeyKanzhelev/removeDynamicKubeletConfig
...
remove DynamicKubeletConfig feature gate from the code
2022-10-12 01:33:00 -07:00
Gunju Kim
2ee024a4df
Update daemonSet status even if syncDaemonSet fails
2022-10-11 22:55:50 +09:00
Tim Hockin
70c1c795e8
Remove generated file rules in make
...
This is all covered by update-codegen.sh now.
The old `make generated_files` rule still exists, but just prints a
warning.
2022-10-04 08:50:30 -07:00
Kubernetes Prow Robot
a6bee7d5fc
Merge pull request #112575 from tkashem/apf-fix-reset-fields-test
...
apf: don't omit flowschemas from reset fields test
2022-10-03 13:20:13 -07:00
Kubernetes Prow Robot
9720af2ba3
Merge pull request #112306 from tkashem/v1beta3
...
add v1beta3 for Priority And Fairness
2022-10-03 10:06:14 -07:00
kerthcet
55dcde737d
typo fixed
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-09-29 18:08:15 +08:00
Jordan Liggitt
2d397e8530
Avoid following redirects in aggregator availability controller
2022-09-28 10:56:21 -04:00
Wojciech Tyczyński
57c95fbfa1
Lock ServerSideApply feature to true
2022-09-27 13:48:28 +02:00
Kubernetes Prow Robot
24377fa7a1
Merge pull request #112703 from enj/enj/r/kms_cleanup
...
encryption config: no-op refactor to prepare for single loading
2022-09-26 14:50:26 -07:00
Monis Khan
db850931a8
encryption config: no-op refactor to prepare for single loading
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-09-26 15:35:03 -04:00
Abu Kashem
66fc0d7037
rename assuredConcurrencyShares for flowcontrol v1beta3
2022-09-26 15:34:10 -04:00
Anish Ramasekar
c3794e2377
Add staging directory for kms
...
- Moves kms proto apis to the staging repo
- Updates generate and verify kms proto scripts to check staging repo
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-09-26 19:23:35 +00:00
Sergey Kanzhelev
39e49a91d7
remove DynamicKubeletConfig feature gate from the code
2022-09-23 23:14:19 +00:00
Kubernetes Prow Robot
a2dc82f0b8
Merge pull request #112590 from liggitt/authorizer_config
...
improve integration test customization of authn/authz
2022-09-22 09:41:04 -07:00
Abu Kashem
6edc251686
apiserver: update apf tests to use v1beta3
2022-09-21 18:54:20 -04:00
Abu Kashem
e1a764d635
apiserver: enable v1beta3 for apf
2022-09-21 18:54:19 -04:00
Jordan Liggitt
93ae6b1fb8
Make serviceaccount integation tests coexist with default API server config
2022-09-21 12:42:50 -04:00
Jordan Liggitt
6473f8c7e3
Make controlplane integation tests coexist with default API server config
2022-09-21 12:42:49 -04:00
Jordan Liggitt
e5c4c9b2c0
Make auth integation tests coexist with default API server config
2022-09-21 12:42:49 -04:00
Kubernetes Prow Robot
6dbec8e255
Merge pull request #112120 from pohly/klog-flag-removal
...
logs: remove deprecated klog flags
2022-09-21 00:44:53 -07:00
Kubernetes Prow Robot
6820a383be
Merge pull request #112545 from dims/update-etcd-3.5.5-and-all-otel-related-to-latest
...
Update etcd 3.5.5 and all otel related libraries to newer versions
2022-09-19 19:15:31 -07:00
Kubernetes Prow Robot
59c21a2515
Merge pull request #112474 from liggitt/concurrency-cleanup
...
Simplify P&F concurrency test
2022-09-19 13:17:44 -07:00
Abu Kashem
aa04af3f5c
apf: don't omit flowschemas from reset fields test
2022-09-19 13:46:38 -04:00
Jordan Liggitt
9cfc128b8e
Simplify P&F concurrency test
2022-09-19 08:26:29 -04:00
Michal Wozniak
e11039b6f5
Cleanup the TestEvictionForNoExecuteTaintAddedByUser test
2022-09-19 10:07:54 +02:00
Michal Wozniak
ca90621b2a
Simplify the integration test for node lifecycle manager
2022-09-19 10:07:35 +02:00
Davanum Srinivas
a1635fa702
fix how we look for our request
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-18 17:21:19 -04:00
Davanum Srinivas
3eaca7cf51
update code to use newer otel api
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-17 21:48:20 -04:00
Kubernetes Prow Robot
3e5e5cc7ee
Merge pull request #112357 from SataQiu/deprecated-20220907
...
kube-scheduler: add taints filtering logic consistent with TaintToleration plugin for PodTopologySpread plugin
2022-09-16 18:14:27 -07:00
m.nabokikh
00dfba473b
Add auth API to get self subject attributes
...
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-09-14 18:00:26 +02:00
SataQiu
bc9c494319
kube-scheduler: add taints filtering logic consistent with TaintToleration plugin for PodTopologySpread plugin
...
Signed-off-by: SataQiu <shidaqiu2018@gmail.com>
2022-09-10 09:04:30 +08:00
Kante Yin
096dafe757
Feat: unify the status handle when return in bindingCycle ( #112103 )
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-09-09 08:31:23 -07:00
Kubernetes Prow Robot
a7936658ba
Merge pull request #112193 from jindijamie/master
...
Add an option for aggregator
2022-09-08 17:21:24 -07:00
Kubernetes Prow Robot
cc4b7dc3c5
Merge pull request #111986 from enj/enj/i/transformer_leak
...
kms: fix go routine leak in gRPC connection
2022-09-08 09:49:46 -07:00
Di Jin
6d78a25374
Add integration test
...
Add integration test to ensure aggregator is not forwarding redirect response
2022-09-08 09:36:12 -07:00
Monis Khan
4e68e9b5ad
kms: fix go routine leak in gRPC connection
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-09-08 11:46:57 -04:00
Kubernetes Prow Robot
a488f4b95c
Merge pull request #107515 from MikeSpreitzer/explain-reset-fields-failure
...
Make TestApplyResetFields exhibit surprising object
2022-09-07 07:14:37 -07:00
Patrick Ohly
41619ace15
stop using deprecated klog flags
...
Some scripts and tools still relied on the deprecated flags, the ones
which are about to be removed.
This is intentionally not a complete removal of all those flags in the entire
repo. This would lead to much more code churn also in places where commands
still accept the flags because they use klog directly.
2022-09-04 21:02:43 +02:00
SataQiu
f09e136aca
cloud-provider: remove deprecated insecure serving from Config
2022-09-01 10:54:23 +08:00
SataQiu
1ae5237a66
controller-manager: remove deprecated insecure serving from Config
2022-08-31 17:32:21 +08:00
Kubernetes Prow Robot
4f66f8c408
Merge pull request #112069 from enj/enj/t/aggregated_apis
...
Expand aggregated API server integration test to include CRUD
2022-08-30 08:52:55 -07:00
Monis Khan
ec283e526b
Expand aggregated API server integration test to include CRUD
...
This change updates TestAggregatedAPIServer and the related test
server wiring to exercise the full network path between the Kube API
server and the aggregated API server. We now assert that the wardle
API service and Kube API server discovery endpoints are fully healthy.
CRUD operations are performed through the Kube API server to the
wardle API server.
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-08-30 10:44:01 -04:00
Kubernetes Prow Robot
04f8a5c41a
Merge pull request #111999 from kerthcet/refactor/handle-failure
...
fix error type when handling failures in scheduler
2022-08-30 05:47:01 -07:00
Mike Spreitzer
d3081b378a
Revise according to review
2022-08-29 23:02:29 -04:00
Mike Spreitzer
98acbc3692
Make TestApplyResetFields exhibit surprising object
2022-08-26 14:13:35 -04:00
Kubernetes Prow Robot
00191af94b
Merge pull request #111885 from p0lyn0mial/apiserver-integration-rsp-body
...
integration: TestCacheControl and TestHSTS close the ResponseBody
2022-08-25 05:14:07 -07:00
kerthcet
e61c16cc95
fix tests
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-08-25 15:33:10 +08:00
kerthcet
dd4fb3cd37
fix test error
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-08-25 13:29:09 +08:00
Kubernetes Prow Robot
22cb7ac766
Merge pull request #111912 from aojea/crd_recursion_regression_test
...
regression test for exponential recursion bug on CRDs
2022-08-23 20:09:08 -07:00
Kubernetes Prow Robot
15a5136c26
Merge pull request #111726 from Huang-Wei/debug-pendingpods
...
Expose a pending pods summary in scheudler's dummper output
2022-08-23 17:17:49 -07:00
Kubernetes Prow Robot
068743f937
Merge pull request #111148 from cyang49/master
...
APF concurrency isolation integration test
2022-08-23 16:05:02 -07:00
Antonio Ojea
8d7264fb8e
regression test for exponential recursion bug on CRDs
2022-08-19 09:43:17 +02:00
Lukasz Szaszkiewicz
be2c707a4c
integration: TestCacheControl and TestHSTS close the ResponseBody
2022-08-17 13:29:01 +02:00
Roman Bednar
77d904f053
add integration tests for retroactive SC assignment
...
Also stress tested for ~2 hours to minimize possible races:
$ stress ./volume.test -test.run=TestRetroactiveStorageClassAssignment
...
1h59m50s: 3198 runs so far, 0 failures
1h59m55s: 3200 runs so far, 0 failures
2h0m0s: 3201 runs so far, 0 failures
2h0m5s: 3202 runs so far, 0 failures
2022-08-09 15:22:38 +02:00
Chih-Chieh Yang
94097457fd
Minor fixes
2022-08-09 12:19:00 +00:00
Kubernetes Prow Robot
759785ea14
Merge pull request #109090 from sarveshr7/multicidr-rangeallocator
...
Enhance NodeIPAM to support multiple ClusterCIDRs
2022-08-07 15:40:18 -07:00
Wei Huang
7df9bfcfef
Expose a pending pods summary in scheudler's dummper output
2022-08-05 22:02:38 -07:00
Sarvesh Rangnekar
1473e13d1b
Add integration test for multi cluster cidr
2022-08-06 00:11:06 +00:00
Sarvesh Rangnekar
5b801ba9f9
Introduce MultiCIDRRangeAllocator
...
MultiCIDRRangeAllocator is a new Range Allocator which makes using
multiple ClusterCIDRs possible. It consists of two controllers, one for
reconciling the ClusterCIDR API objects and the other for allocating
Pod CIDRs to the nodes.
The allocation is based on the rules defined in
https://github.com/kubernetes/enhancements/tree/master/keps/sig-network/2593-multiple-cluster-cidrs
2022-08-06 00:10:39 +00:00
Sarvesh Rangnekar
7093b10416
Introduce networking/v1alpha1 api, ClusterCIDR type
...
Introduce networking/v1alpha1 api group.
Add `ClusterCIDR` type to networking/v1alpha1 api group, this type
will enable the NodeIPAM controller to support multiple ClusterCIDRs.
2022-08-05 00:54:00 +00:00
Michal Wozniak
bf9ce70de3
Support handling of pod failures with respect to the specified rules
2022-08-04 18:39:08 +02:00
Kubernetes Prow Robot
0a2ae7ab3a
Merge pull request #111126 from aramase/kms-v2alpha1-impl
...
Implement KMS v2alpha1
2022-08-03 16:41:43 -07:00
Anish Ramasekar
f19f3f4099
Implement KMS v2alpha1
...
- add feature gate
- add encrypted object and run generated_files
- generate protobuf for encrypted object and add unit tests
- move parse endpoint to util and refactor
- refactor interface and remove unused interceptor
- add protobuf generate to update-generated-kms.sh
- add integration tests
- add defaulting for apiVersion in kmsConfiguration
- handle v1/v2 and default in encryption config parsing
- move metrics to own pkg and reuse for v2
- use Marshal and Unmarshal instead of serializer
- add context for all service methods
- check version and keyid for healthz
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2022-08-03 19:04:47 +00:00
Alexander Zielenski
bd648f3f9e
add regression test of formerly atomic claimRef
2022-08-03 10:57:13 -07:00
Chih-Chieh Yang
3c31efe32f
Add more comment and clip negative value to prevent Sqrt error
2022-08-03 15:16:26 +00:00
Chih-Chieh Yang
c70ec593ec
Fix minor issues and clean up
2022-08-03 14:14:36 +00:00
Kubernetes Prow Robot
182e0989ec
Merge pull request #111646 from alculquicondor/fix_failed_suceeded
...
Fix JobTrackingWithFinalizers when a pod succeeds after the job fails
2022-08-02 17:45:52 -07:00
Aldo Culquicondor
ca8cebe5ba
Fix JobTrackingWithFinalizers when a pod succeeds after the job fails
...
Change-Id: I3be351fb3b53216948a37b1d58224f8fbbf22b47
2022-08-02 19:33:06 -04:00
Kubernetes Prow Robot
1de16be28f
Merge pull request #111462 from jprzychodzen/controllers
...
Enable 'running_managed_controllers' for KCM/CCM controllers: routes, services and cloud-node
2022-08-02 13:59:09 -07:00
Kubernetes Prow Robot
bc4c4930ff
Merge pull request #111475 from alculquicondor/clear_pod_disruption
...
Add worker to clean up stale DisruptionTarget condition
2022-08-02 11:38:18 -07:00
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