Commit Graph

116711 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
4c40d74900
Merge pull request #118044 from bart0sh/PR112-dra-kubelet-e2e
DRA: implement e2e node tests
2023-06-07 00:06:12 -07:00
Dr. Stefan Schimanski
9be6e7bb33
STRUCTURE: cmd/kube-apiserver/app: stratify construction with options/config/server 2023-06-07 10:05:43 +03:00
Dr. Stefan Schimanski
e6ed4c7934
CLEANUP: cmd/kube-apiserver/app: remove trivial funcs 2023-06-07 10:05:43 +03:00
Dr. Stefan Schimanski
f7d4e90b5c
MOVE: cmd/kube-apiserver/app.createAPIExtensionsConfig -> pkg/controlplane 2023-06-07 10:05:43 +03:00
Kubernetes Prow Robot
8b7c7d7839
Merge pull request #118522 from jpbetz/remove-bad-merge-key
Remove invalid merge key
2023-06-06 20:52:11 -07:00
Kubernetes Prow Robot
da1f52034e
Merge pull request #118489 from testwill/logs
chore: os.SEEK_END os.SEEK_SET and use b.Logf(...) instead of b.Log(f…
2023-06-06 19:40:24 -07:00
Kubernetes Prow Robot
e3d43b3b5b
Merge pull request #118237 from benluddy/e2e-field-validation-crd-cleanup
Delete CRDs created during field validation tests.
2023-06-06 19:40:12 -07:00
Joe Betz
087fbc9304 Remove invalid merge key 2023-06-06 21:18:59 -04:00
Kubernetes Prow Robot
9ede836ea2
Merge pull request #118292 from cchapla/crd_webhook_metrics
Webhook conversion metrics [request/error counts and latency metrics]
2023-06-06 18:00:12 -07:00
Dan Winship
4962e6eacb Squash detectNodeIP and nodeIPTuple together 2023-06-06 20:48:00 -04:00
Kubernetes Prow Robot
c831a08c8e
Merge pull request #118253 from saschagrunert/streaming-cri-api
Move `cri/streaming` to `k8s.io/kubelet` staging repository
2023-06-06 14:14:12 -07:00
Ed Bartosh
58162ffd63 DRA: add node tests
- Setup overall test structure
- Tested Kubelet plugin re-registration on plugin and Kubelet restarts
- Tested pod processing on Kubelet start
2023-06-06 23:03:50 +03:00
Dan Winship
b69b34bec6 Move a kube-proxy unit test to the correct file 2023-06-06 16:01:03 -04:00
Daman Arora
4bee9b2b35 structured logging in proxy/ipvs/ipset
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2023-06-07 01:21:03 +05:30
Kubernetes Prow Robot
5a5ebfd88b
Merge pull request #118499 from aojea/kproxy_podcidr_alt
kube-proxy avoid race condition using LocalModeNodeCIDR
2023-06-06 12:18:11 -07:00
Kubernetes Prow Robot
c5100c0d11
Merge pull request #118510 from SataQiu/clean-e2e-framework-20230606
e2e-framework: remove node-role.kubernetes.io/master taint from non-blocking-taints
2023-06-06 11:18:58 -07:00
Kubernetes Prow Robot
901edb5a26
Merge pull request #118504 from jsafrane/fix-selinux-contexts
Fix SELinux contexts used in e2e tests
2023-06-06 11:18:50 -07:00
Kubernetes Prow Robot
9bfb9518e8
Merge pull request #118444 from TommyStarK/pkg-util-iptables-clean-code-bytes-buffer
pkg/util/iptables: use buf.String() instead of string(buf.Bytes())
2023-06-06 11:18:43 -07:00
Kubernetes Prow Robot
3d4a243742
Merge pull request #116742 from moshe010/fix-pod-resource-api-ut
kubelet PodResources API: follow-up review comments
2023-06-06 11:18:35 -07:00
Kubernetes Prow Robot
299b72c587
Merge pull request #114760 from TommyStarK/unit-tests/pkg-kubelet-cm-containermap
kubelet/cm/containermap: Improving test coverage
2023-06-06 11:18:24 -07:00
Kubernetes Prow Robot
73b5ed49a1
Merge pull request #114394 from SergeyKanzhelev/cri-api-versioning
Document versioning of CRI API
2023-06-06 11:18:11 -07:00
Kubernetes Prow Robot
aaaf70c8ad
Merge pull request #118411 from SataQiu/fix-NoNewBetaAPIsByDefault-20230602
Remove enabled by default beta resources that have been removed
2023-06-06 10:20:24 -07:00
Kubernetes Prow Robot
fea314a89a
Merge pull request #117423 from cbandy/test-testing-setenv
Replace os.Setenv with testing.T.Setenv in tests
2023-06-06 10:20:12 -07:00
Kubernetes Prow Robot
6f116dc4d5
Merge pull request #118416 from sttts/sttts-etcd-options-complete
k8s.io/apiserver: remove skewed completion from EtcdOptions
2023-06-06 09:20:22 -07:00
Kubernetes Prow Robot
bfb3c37410
Merge pull request #117294 from humblec/open-containers
dependencies: update go-humanize to latest version
2023-06-06 09:20:11 -07:00
Antonio Ojea
26801d6541 kube-proxy avoid race condition using LocalModeNodeCIDR
Since kube-proxy in LocalModeNodeCIDR needs to obtain the PodCIDR
assigned to the node it watches for the Node object.

However, kube-proxy startup process requires to have these watches in
different places, that opens the possibility of having a race condition
if the same node is recreated and a different PodCIDR is assigned.

Initializing the second watch with the value obtained in the first one
allows us to detect this situation.

Change-Id: I6adeedb6914ad2afd3e0694dcab619c2a66135f8
Signed-off-by: Antonio Ojea <aojea@google.com>
2023-06-06 15:03:22 +00:00
SataQiu
4dbece1e20 e2e-framework: remove node-role.kubernetes.io/master taint from non-blocking-taints 2023-06-06 22:19:55 +08:00
Kubernetes Prow Robot
f812ac5445
Merge pull request #118349 from bart0sh/PR116-fix-ginkgo-deprecation-warning
Fix ginkgo deprecation warning
2023-06-06 06:59:01 -07:00
Kubernetes Prow Robot
93ec57734f
Merge pull request #118362 from linxiulei/zero_copy
Do not copy bytes for cached serializations
2023-06-06 05:33:00 -07:00
Rajalakshmi Girish
dddbecb47e prune's xml files to display only top level tests and failed sub-tests 2023-06-06 05:26:00 -07:00
Paco Xu
8b0a6ed699 re-send the shutdown signal in case the dbus restart is not done 2023-06-06 18:04:29 +08:00
Jan Safranek
4d0e25151d Fix SELinux contexts used in e2e tests 2023-06-06 11:30:27 +02:00
Humble Chirammal
010343562c dependencies: update github.com/dustin/go-humanize v1.0.1
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-06-06 14:45:00 +05:30
Paco Xu
743e5525ed fix eviction failing test for nil feature gates assignment 2023-06-06 17:05:04 +08:00
Madhav Jivrajani
6d66fbc6b6 storage: Move cacher tests to reside with the cacher code
Doing this allows us to implement some more nuanced cacher manipulations
to be used in testing. For ex: implementing a test-only compaction method
for the watch cache.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-06-06 14:11:03 +05:30
Madhav Jivrajani
70978e4af6 cacher: Move common testing utils to a single file
This commit prepares for when cacher tests are moved here
from the `tests` package. Tests in that package redeclare
some of the testing utils that exist here, so dedup-ing them.

This commit also adapts to any changes in test util signatures.
There are still some utils that can be reused but currently are
highly specific to some tests. (ex: watch_cache_test.go)

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-06-06 14:08:25 +05:30
Kubernetes Prow Robot
d220ecb415
Merge pull request #118486 from testwill/framework
chore: use strings.Contains instead
2023-06-06 00:39:00 -07:00
guoguangwu
bdfb96c57d chore: os.SEEK_END os.SEEK_SET and use b.Logf(...) instead of b.Log(fmt.Sprintf(...)) 2023-06-06 15:23:19 +08:00
Kubernetes Prow Robot
16cbdef00a
Merge pull request #118330 from MadhavJivrajani/test-watch-from-zero
storage: Implement TestWatchFromZero for cacher
2023-06-05 23:41:00 -07:00
guoguangwu
923db7bd8e chore: use strings.Contains instead 2023-06-06 14:29:20 +08:00
Dr. Stefan Schimanski
e9e4acb1dd
k8s.io/apiserver: remove skewed completion from EtcdOptions 2023-06-06 08:32:34 +03:00
Madhav Jivrajani
4d85a1f00c storage: Implement TestWatchFromZero for cacher
There exists a storage test to test for rv=0 and production
of ADDED events. This commit adapts the test to be used for
the watch cache as well.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-06-06 10:53:04 +05:30
Kubernetes Prow Robot
587f0a2210
Merge pull request #118467 from yuanchen8911/naming
Rename scheduler queue variables for consistency
2023-06-05 22:20:59 -07:00
Chris Bandy
2e76ac31fd Replace os.Setenv with testing.T.Setenv in tests
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.
2023-06-05 21:08:56 -05:00
Chris Bandy
ac5ce5cbce Replace os.Setenv with testing.T.Setenv in tests
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.
2023-06-05 21:03:21 -05:00
Riaan Kleinhans
b274a9bf7c
remove csidriver endpoints from pending_eligible_endpoints.yaml 2023-06-06 11:22:41 +12:00
Stephen Heywood
5d4bf0b6f9 Promote CSIDriver e2e test to Conformance 2023-06-06 10:28:39 +12:00
Kubernetes Prow Robot
c07c739f04
Merge pull request #118282 from wojtek-t/retry_after_followup
Follow up from dynamic retryAfter
2023-06-05 15:03:06 -07:00
Eric Lin
3085b57869 Do not copy bytes for cached serializations
Since cachingObject has the encoded data cached and they are not
supposed to change. It's memory efficient to just copy the slice
references.

Signed-off-by: Eric Lin <exlin@google.com>
2023-06-05 18:03:48 +00:00
Humble Chirammal
c009667c6c deprecate CephFS plugin from available in-tree drivers.
https://groups.google.com/a/kubernetes.io/g/dev/c/g8rwL-qnQhk
based on above, the consensus was to start the deprecation in v1.28.

This commit start the deprecation process of CephFS plugin from
in-tree drivers.

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-06-05 23:26:43 +05:30