Commit Graph

108845 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
cb0e460343
Merge pull request #107872 from danwinship/apiserver-extra-ports
Remove unused and un-enable-able apiserver multiple ports feature
2022-06-01 15:49:58 -07:00
Kubernetes Prow Robot
a1b81ca06a
Merge pull request #101997 from shawnhanx/pvcquota
Add unit tests for pvc quota
2022-06-01 15:49:46 -07:00
Han Kang
f223b90090 cleanup deprecated metrics and usages 2022-06-01 13:45:03 -07:00
Kubernetes Prow Robot
d9eb7c4c6c
Merge pull request #110333 from liurupeng/rupliu/addwin22
Add Windows Server 2022 support for GKE
2022-06-01 13:40:09 -07:00
Kubernetes Prow Robot
ffcbe6c7d7
Merge pull request #108974 from ArangoGutierrez/devel/typos/windows
Fix typo at pkg/windows/service/service.go:94
2022-06-01 13:39:58 -07:00
Kubernetes Prow Robot
b4fbd12c3a
Merge pull request #106441 from yjjy0921/master
create resultsDir if the folder not exists
2022-06-01 13:39:46 -07:00
Jonathan Dobson
c8d3cc5c07 e2e: restore volume lifecycle checks for csi-hostpath driver
These tests were previously disabled to work around #79980
https://github.com/kubernetes/kubernetes/commit/f1e1f3a416b70bafadf961518c330ce3b1b5459
2022-06-01 14:23:10 -06:00
Jonathan Dobson
daa181d92e kubelet: fix volume reconstruction for CSI ephemeral volumes
This resolves a couple of issues for CSI volume reconstruction.
1. IsLikelyNotMountPoint is known not to work for bind mounts and was
   causing problems for subpaths and hostpath volumes.
2. Inline volumes were failing reconstruction due to calling
   GetVolumeName, which only works when there is a PV spec.
2022-06-01 14:22:57 -06:00
Kubernetes Prow Robot
19ca12cb3e
Merge pull request #109820 from fromanirh/e2e-node-enable-device-plugin-test
e2e: node: re-enable the device plugin tests
2022-06-01 12:03:40 -07:00
Kubernetes Prow Robot
737f706b1c
Merge pull request #108803 from SergeyKanzhelev/httpProbeMinorCleanup
remove TODOs from http package and prober
2022-06-01 12:03:28 -07:00
Kubernetes Prow Robot
875d48b66b
Merge pull request #108195 from SergeyKanzhelev/unusedMetadataKeys
there is no need for gci-docker-version and gci-ensure-gke-docker - t…
2022-06-01 12:03:16 -07:00
Kubernetes Prow Robot
22fda4e7ee
Merge pull request #108232 from qmloong/qmloong/chore
fix: remove the redundant count variable
2022-06-01 10:53:40 -07:00
Rupeng Liu
89b76dd156 Add Windows Server 2022 support for GKE 2022-06-01 17:47:40 +00:00
Michal Wozniak
e298649b6c Avoid duplicate conditions by updating the pre-existing failed condition
in case its status is False or Unknown.

In case the status of the pre-existing condition is true we ignore the new
condition. If there is no pre-existing failed condition, then append
the new failed condition as before.

Also, make the condition comparisons less hacky by ignoring timestamp fields
in tests.
2022-06-01 19:32:53 +02:00
Kermit Alexander
05da62c075 Add additional CRD validation tests. 2022-06-01 17:11:21 +00:00
Lubomir I. Ivanov
403ca0c1a2 e2e_kubeadm: cleanup tests for UnversionedKubeletConfig
- don't require clusteconfiguration.kubernetesVersion
- use the helper functions GetConfigMap, ExpectRole, ExpectRoleBinding
(these were used before UnversionedKubeletConfig went Beta)
2022-06-01 17:17:07 +03:00
Lubomir I. Ivanov
9f6df1d489 kubeadm: graduate the UnversionedKubeletConfig FG to GA
- lock the FG to true by default
- cleanup wrappers and logic related to versioned vs unversioned
naming of API objects (CMs and RBAC)
- update unit tests
2022-06-01 17:17:07 +03:00
Kubernetes Prow Robot
ba502ee555
Merge pull request #110180 from gnufied/add-ephemeral-expansion-tests
Enable volume expansion tests for generic ephemeral volumes
2022-06-01 06:11:02 -07:00
Thearas
2457fbc643 docs: add ephemeral-storage to SystemReserved/KubeReserved comment 2022-06-01 16:19:26 +08:00
Dave Chen
3c594d6156 Fix the naming of the test suites
Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-06-01 13:59:39 +08:00
Manish Kumar
e9e8be304c etcd: Updated to v3.5.4 2022-06-01 07:52:46 +05:30
Kubernetes Prow Robot
8415ae647d
Merge pull request #110313 from SergeyKanzhelev/minorRegistryConfigFix
fix the registry configuration
2022-05-31 17:23:00 -07:00
Sergey Kanzhelev
6f5661f139 fix the registry configuration 2022-05-31 23:12:16 +00:00
Kubernetes Prow Robot
62d9f8ba80
Merge pull request #110311 from logicalhan/fix-continue-tests
add explicit typing for continue tests
2022-05-31 13:45:35 -07:00
Kubernetes Prow Robot
78fb1fa9a2
Merge pull request #109938 from dims/move-from-k8s.gcr.io-to-registry.k8s.io
Move from k8s.gcr.io to registry.k8s.io
2022-05-31 13:45:23 -07:00
Kubernetes Prow Robot
5219122d0c
Merge pull request #110310 from logicalhan/deprecate-and-promote
remove deprecated metric and promote the replacement to STABLE
2022-05-31 11:00:52 -07:00
Han Kang
213e380a2e add explicit typing for continue tests
Our tests are mostly error based and explicit error typing allows
us to test against error types directly. Having made this change also
makes it obvious that our test coverage was lacking in two branches,
specifically, we were previously not testing empty start keys nor were
we testing for invalid start RVs.
2022-05-31 10:30:02 -07:00
Han Kang
731397086b remove deprecated metric and promote the replacement to STABLE 2022-05-31 09:53:28 -07:00
Kubernetes Prow Robot
135ac17f20
Merge pull request #110297 from kerthcet/cleanup/revise-unmatch-comments
Cleanup: modify unmatch comments with stopCh
2022-05-31 08:44:52 -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
hunknownz
fdb43cc5ad enhance assertions in test/e2e/windows
Signed-off-by: hunknownz <klercc37@gmail.com>
2022-05-31 20:42:04 +08:00
FillZpp
1818a9a36a A calculation function for StatefulSet maxUnavailable and some tests for it
Signed-off-by: FillZpp <FillZpp.pub@gmail.com>
2022-05-31 16:45:19 +08: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
991d848e34 logcheck: enable helper check
This is in preparation of converting code to contextual logging.
2022-05-31 08:07:37 +02:00
Patrick Ohly
7b8d711d02 json: clarify magic 100 constant
This addresses review feedback from
https://github.com/kubernetes/kubernetes/pull/108995#discussion_r837943366.
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
kerthcet
186470abd4 Cleanup: modify unmatch comments with stopCh
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-31 11:28:02 +08:00
Kubernetes Prow Robot
aae07c6f7b
Merge pull request #110287 from neolit123/1.25-add-url-scheme-e2e-test-for-cri-socket
test/e2e_kubeadm: add URL scheme test for node CRI annotations
2022-05-30 19:52:52 -07:00
Wojciech Tyczyński
c20f7cc4e1 Clean shutdown of endpoints/endpointslice integration tests 2022-05-30 20:17:35 +02:00
Lubomir I. Ivanov
2a18a2d59b test/e2e_kubeadm: add URL scheme test for node CRI annotations
The tests in nodes_test.go check if the Node objects
in a kubeadm cluster are annotated with a CRI socket
path. It is used by kubeadm to store a CRI socket per node.

Add a new test condition to verify if the CRI socket path
is prefixed with URL scheme "unix://".
2022-05-30 17:10:14 +03:00
Kubernetes Prow Robot
7e3c98fd30
Merge pull request #96771 from soltysh/shortcut_expander
restmapper: re-try shortcut expander after not-found error
2022-05-30 05:14:51 -07:00
Maciej Szulik
f7d1eb7726
restmapper: re-try shortcut expander after not-found error 2022-05-30 13:09:22 +02:00
Kubernetes Prow Robot
92263ee0dd
Merge pull request #110072 from neolit123/1.25-kubeadm-etcd-liveness-probe
kubeadm: add serializable health checks for etcd probes
2022-05-30 00:40:52 -07:00
Sascha Grunert
882c460d2a
Update cri-tools to v1.24.2
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-05-30 09:13:56 +02:00
Brian Pursley
457181fbd6 Fix e2e test failure
Remove namespace from manifest to fix the error: the namespace from
the provided object "my-ns" does not match the namespace
"kubectl-8939". You must pass '--namespace=my-ns' to perform this
operation.
2022-05-28 18:09:41 -04: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