Patrick Ohly
2ace9a884e
e2e: generalize the framework e2e* import alias rule
...
All framework sub packages should used e2e<package name> as import alias, also
the daemonset sub package that previously wasn't listed explicitly.
2022-09-08 18:37:52 +02:00
Patrick Ohly
a00a1c99d5
preferredimports: support regular expressions for the import path
...
Having to list all packages isn't very manageable and requires constant
maintenance that is easy to miss. For example, test/e2e/framework/daemonset was
created without adding an entry for it. Promptly one file doesn't use the
intended e2edaemonset alias.
A simpler solution is to support matching the import path against a regular
expression and deriving the intended alias by expanding placeholders (${name},
$1, etc.) with the corresponding submatches from the import path. Example:
k8s.io/kubernetes/test/e2e/framework/([^/]*) -> e2e$1
This support is backwards compatible because normal import paths don't contain
characters that are special in a regular expression and normal aliases don't
contain placeholders.
A regular expression must match the entire import path, otherwise it is
skipped.
2022-09-08 18:37:52 +02: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
1c9cf66f73
Merge pull request #112301 from aojea/ipv6_rfc3849
...
use IPv6 Address Prefix Reserved for Documentation for api docs
2022-09-08 08:17:45 -07:00
Kubernetes Prow Robot
0e54bd2942
Merge pull request #112287 from palnabarun/master
...
Update images, dependencies and version to Go 1.19.1
2022-09-08 05:19:43 -07:00
Kubernetes Prow Robot
00c0c9d880
Merge pull request #112235 from demoManito/fix/upgrade-style
...
fix: modify declaration slice and map code style
2022-09-08 02:56:06 -07:00
Antonio Ojea
fe41181c3d
client-go: test transport generation is goroutine safe
2022-09-08 11:13:43 +02:00
Antonio Ojea
fa7ed64dae
use IPv6 Address Prefix Reserved for Documentation for api docs
2022-09-08 09:45:04 +02:00
Stephen Heywood
974f4b8ee1
Promote Namespace e2e test to Conformance
2022-09-08 11:44:05 +12:00
Kubernetes Prow Robot
8287e21228
Merge pull request #112299 from shyamjvs/gzip-level-change
...
Reduce default gzip compression level from 4 to 1 in apiserver
2022-09-07 15:28:38 -07:00
Shyam Jeedigunta
7cd5e6597e
Reduce default gzip compression level from 4 to 1 in apiserver
2022-09-07 14:23:31 -07:00
Kubernetes Prow Robot
385cc255c7
Merge pull request #111967 from alexzielenski/csa-to-ssa
...
[client-go] add function to upgrade managedfields CSA to SSA
2022-09-07 11:58:48 -07:00
Kubernetes Prow Robot
2969000db3
Merge pull request #111122 from alexzielenski/informer
...
support removal of event handlers from SharedIndexInformers
2022-09-07 11:58:37 -07:00
Nabarun Pal
fd3d11608f
Updates dependencies to reflect Go version updates to 1.19.1
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-09-07 22:14:53 +05:30
Nabarun Pal
26b33246cd
Update Go version in test Makefile to 1.19.1
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-09-07 22:13:58 +05:30
Nabarun Pal
b4ac3b18f6
Update publishing bot default Go version to 1.19.1
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-09-07 22:13:33 +05:30
Nabarun Pal
854b50ebe1
update the default go-runner version to v2.3.1-go1.19.1-bullseye.0
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-09-07 22:13:13 +05:30
Nabarun Pal
242649ee74
Update kube-cross version to v1.25.0-go1.19.1-bullseye.0
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-09-07 21:49:44 +05:30
Kubernetes Prow Robot
2b203348fb
Merge pull request #112022 from JackZxj/release-lock
...
update lock getter of leaderelection
2022-09-07 08:52:37 -07:00
Patrick Ohly
8349c77e82
e2e storage: better explanation for maxConcurrentConnections
...
This the same behavior as before, it just wasn't documented.
2022-09-07 17:05:22 +02: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
weilaaa
2b55c94e37
add symmetric difference in sets
2022-09-07 20:25:44 +08:00
Kubernetes Prow Robot
cae4c036c8
Merge pull request #112241 from xiaoliwang/simplified_regexp
...
Optimize: simplified regexp
2022-09-07 02:28:36 -07:00
demoManito
35c26f48e4
fix: map and slice create style
2022-09-07 17:10:13 +08:00
jiepeng
211e0a6496
simplified regexp
2022-09-07 15:51:36 +08:00
Kubernetes Prow Robot
3d3820bba3
Merge pull request #112257 from kerthcet/cleanup/modify-remove-release
...
Kube-scheduler: Deprecate Component config v1beta3
2022-09-06 23:54:36 -07:00
Kubernetes Prow Robot
4b9575acb8
Merge pull request #112272 from chendave/cleanupflags
...
kubeadm: using the existing exported method to add config flag
2022-09-06 22:26:36 -07:00
Alexander Zielenski
dbff8e117c
correct spacing
2022-09-06 20:58:50 -07:00
Dave Chen
6675bea8a2
kubeadm: using the existing exported method to add config flag
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-09-07 11:50:06 +08:00
Alexander Zielenski
3528fd7e47
add boilerplate
2022-09-06 19:51:47 -07:00
kerthcet
700065a18d
Add deprecation warning of removing scheduler CC v1beta3
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-09-07 10:09:27 +08:00
Alexander Zielenski
0ebbb6af61
revert fieldmanager changes
2022-09-06 18:36:57 -07:00
Kubernetes Prow Robot
1ab40212a4
Merge pull request #112093 from HecarimV/fix-2282915
...
test: use bytes.Buffer.String
2022-09-06 17:34:36 -07:00
Kubernetes Prow Robot
ed967343f4
Merge pull request #112198 from MikeSpreitzer/bound-all
...
Call queueSet::boundNextDispatchLocked enough
2022-09-06 12:58:34 -07:00
Kubernetes Prow Robot
6d1e9150d0
Merge pull request #108855 from haircommander/podStatsFix
...
kubelet/stats: deduplicate makePodStorageStats
2022-09-06 12:58:22 -07:00
Seth Jennings
b3a28d17fd
aws: skip health rules if they are a subnet of the client rule
2022-09-06 14:25:23 -05:00
Kubernetes Prow Robot
23790ec7fa
Merge pull request #112181 from xueqzhan/disable-anonymous
...
Add DisableAnonymous to DelegatingAuthenticationOptions
2022-09-06 10:28:03 -07:00
Kubernetes Prow Robot
780fe01858
Merge pull request #111935 from giuseppe/userns-manager-use-bitmask-pkg-registry
...
kubelet: drop bitArray implementation
2022-09-06 10:27:51 -07:00
Mike Spreitzer
6ee93e2cee
Call queueSet::boundNextDispatchLocked enough
...
Fix the one path where boundNextDispatchLocked was not being called
after modifying a queue.
Also check for negative work in a request.
These are motivated by
https://github.com/kubernetes/kubernetes/issues/112169 but I do not
have a way to reproduce it and so can not check that these changes
actually remove that symptom. But these changes are good anyway.
2022-09-06 13:23:03 -04:00
kerthcet
532d1df7ca
Modify release version of removing scheduler CC v1beta2
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-09-06 14:15:55 +08:00
Patrick Ohly
0bd9a1a29a
e2e storage: close all pending streams when proxy listener gets closed
...
After updating gRPC in node-driver-registrar from v1.40.0 to v1.47.0 the
behavior of gRPC change in a way such that it no longer detected the
single-sided closing of the stream as a loss of connection. This caused gRPC in
the e2e.test to get stuck, possibly in a Read or Write for the HTTP stream
because those have neither a context nor a timeout.
Changing the connection handling so that all active connections are tracking in
the listener and closing them when the listener gets closed fixed this problem.
2022-09-05 22:46:01 +02:00
Kubernetes Prow Robot
67bde9a102
Merge pull request #112243 from brianpursley/revert-110668-k-108630
...
Revert "Remove unused flags from kubectl run"
2022-09-05 09:30:36 -07:00
Kushagra
de8245e952
added ut for the change
2022-09-05 14:56:24 +00:00
viveksahu26
386bc4a7fa
fix warnings or linter errors
...
Signed-off-by: viveksahu26 <vivekkumarsahu650@gmail.com>
2022-09-05 19:10:43 +05:30
Brian Pursley
eae2c424ef
Revert "Remove unused flags from kubectl run"
2022-09-05 09:34:48 -04:00
Jakub Przychodzeń
ef9f8d099f
Ensure metric 'running_managed_controllers' is registered
2022-09-05 11:43:56 +00:00
demoManito
e1a5e8537a
optimize ifelse
2022-09-05 18:53:52 +08:00
Kushagra
b75fbda0ed
requested changes
2022-09-05 04:54:59 +00:00
Kushagra
bb735bf689
revert for non-utilization metrics
2022-09-05 04:54:59 +00:00