Commit Graph

108834 Commits

Author SHA1 Message Date
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
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
Kubernetes Prow Robot
c6970e6452
Merge pull request #110250 from wojtek-t/fix_leaking_goroutines_3
Fix leaking goroutines in scheduler integration tests
2022-05-28 05:51:02 -07:00
Kubernetes Prow Robot
4f851ebffb
Merge pull request #110145 from sxllwx/fix/audit-union-var-closures
fix audit union loop variables in closures
2022-05-28 05:50:50 -07:00
Kubernetes Prow Robot
dfefd5a698
Merge pull request #110244 from humblec/feature-gate
CSINodeExpandSecret featuregate has to be 1.25 based
2022-05-28 03:06:50 -07:00
Kubernetes Prow Robot
f3264dd0b3
Merge pull request #110031 from mk46/etcd-image-v3.5.4
etcd: Build image 3.5.4-0
2022-05-27 21:16:16 -07:00
Kubernetes Prow Robot
8b6dd065d7
Merge pull request #110255 from robscott/fix-pod-eviction-ip
Endpoints and EndpointSlices should not publish IPs for terminal pods
2022-05-27 16:24:42 -07:00
Kubernetes Prow Robot
016a7bbc0b
Merge pull request #110131 from stevekuznetsov/skuznets/stop-copying-metadata
customresource: stop shallow-copying metadata
2022-05-27 14:30:42 -07:00
Rob Scott
aa02b7a434
Updating e2e test to check EndpointSlices and Endpoints as well 2022-05-27 21:10:59 +00:00
Kubernetes Prow Robot
de449881fd
Merge pull request #109892 from jlsong01/add_annotation_comments
clarify a comment on annotation key validation
2022-05-27 11:36:41 -07:00