Commit Graph

108550 Commits

Author SHA1 Message Date
Abirdcfly
58043b936a
update kubectl api-resources help info
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-06-06 10:21:17 +08:00
Kubernetes Prow Robot
35940b707c
Merge pull request #109773 from danielhelfand/short-kubectl-comp
Include powershell in short description for kubectl completion
2022-06-05 01:14:20 -07:00
Kubernetes Prow Robot
ca630bc118
Merge pull request #109828 from pohly/polling-failures
[E2E] enhance pod polling failures
2022-06-03 18:08:31 -07:00
Kubernetes Prow Robot
1f90b7980b
Merge pull request #108997 from dobsonj/issue79980
Fix volume reconstruction for CSI ephemeral volumes
2022-06-03 18:08:20 -07:00
Kubernetes Prow Robot
b7337cb171
Merge pull request #110235 from jsturtevant/fix-new-restricted-pod-tests
test: RunAsUser causes pods to not start on Windows
2022-06-03 13:32:20 -07:00
Kubernetes Prow Robot
4988bfce91
Merge pull request #110319 from chendave/newline
Remove `newlineReporter` custom report
2022-06-03 11:42:32 -07:00
Kubernetes Prow Robot
62351e24c5
Merge pull request #109552 from cyclinder/fix_CVE-2022-27191
fix CVE-2022-27191: Bump golang.org/x/crypto to v0.0.0-20220315160706
2022-06-03 11:42:20 -07:00
Kubernetes Prow Robot
bad4c8c464
Merge pull request #110184 from acumino/update/changelog
Remove release note added twice
2022-06-03 09:31:14 -07:00
Kubernetes Prow Robot
8d5518d426
Merge pull request #109813 from saschagrunert/cri-tools
Update cri-tools to v1.24.2
2022-06-03 09:31:05 -07:00
Kubernetes Prow Robot
b578d61606
Merge pull request #109709 from shiftstack/nonfatal_openstack_config_k8s
Don't fail when OpenStack config contains unknown directives
2022-06-03 09:30:59 -07:00
Kubernetes Prow Robot
60902b7caf
Merge pull request #109692 from yxxhero/remove_ioutil_in_kubelet
remove ioutil in kubelet
2022-06-03 09:30:51 -07:00
Kubernetes Prow Robot
0c0b528ec4
Merge pull request #109516 from kaydxh/master
refactor(hack): use ${BASH_SOURCE[0]} to get script name
2022-06-03 09:30:44 -07:00
Kubernetes Prow Robot
70dca66271
Merge pull request #109388 from ialidzhikov/cleanup/experimental-kernel-memcg-notification
kubelet: Remove the deprecated `--experimental-kernel-memcg-notification` flag
2022-06-03 09:30:33 -07:00
Kubernetes Prow Robot
c74c82e845
Merge pull request #109228 from pacoxu/cleanup-ut
prevent the unit test name too long in report
2022-06-03 09:30:21 -07:00
Patrick Ohly
f02c72eaf9 pods: more tolerant checking of poll tests
Under load we might skip some of the poll events, leading to less output. Now
we expect only at least one output line for polling.
2022-06-03 13:41:11 +02:00
Patrick Ohly
2b299526b2 e2e: include more information in pod timeout error
The advantage is that the extra error information is guaranteed to be printed
directly before the failure and we avoid one extra log line that would have to
be correlated with the failure.
2022-06-03 13:41:05 +02:00
Patrick Ohly
8e79f4ce27 e2e: make failure message for unexpected errors more readable
The failure message from Gomega was hard to read because explanation and error
text were separated by the error dump. In many cases, that error dump doesn't
add any relevant information.

Now the error is dumped first as info message (just in case that it is
relevant) and then a shorter failure message is created from explanation and
error text.
2022-06-03 13:41:02 +02:00
Patrick Ohly
486744e814 e2e: test output of e2epod wait
Both output during the test and the failure message are covered.
2022-06-03 11:03:16 +02:00
Patrick Ohly
0e0e51d792 e2e: refactor Ginkgo output testing
The helper code will be useful for testing other parts of the e2e framework.
2022-06-03 10:25:23 +02:00
Patrick Ohly
2ad1fc5f8f e2e: include expected line number in output test
This makes it easier to see when comment lines must be added or removed.
2022-06-03 10:04:40 +02:00
Kubernetes Prow Robot
ccfac6d320
Merge pull request #110360 from 21kyu/fix_defer_in_for_loop_listwatch_test
fix defer in for loop, maybe resource leak
2022-06-02 22:38:19 -07:00
Kubernetes Prow Robot
b7b824bb9e
Merge pull request #110033 from mk46/etcd_update_v3.5.4
etcd: Updated to v3.5.4
2022-06-02 13:26:31 -07:00
Kubernetes Prow Robot
4702214d78
Merge pull request #105008 from knight42/feat/kubectl-debug-general-profile
refactor(kubectl): add Debugger interface for kubectl-debug
2022-06-02 13:26:20 -07:00
Kubernetes Prow Robot
6a32b671f3
Merge pull request #110353 from soltysh/drop_marshal
Drop unnecessary json.Marshal
2022-06-02 12:12:02 -07:00
Kubernetes Prow Robot
e562e93010
Merge pull request #110303 from hunknownz/enhance_assertions_windows
enhance assertions in test/e2e/windows
2022-06-02 12:11:50 -07:00
Kubernetes Prow Robot
9f82d81e55
Merge pull request #110286 from FillZpp/add-test-for-statefulset-maxunavailable
A calculation function for StatefulSet maxUnavailable and some tests for it
2022-06-02 10:46:07 -07:00
21kyu
3f7dfc9818 fix defer in for loop, maybe resource leak 2022-06-03 02:08:23 +09:00
Kubernetes Prow Robot
da813852d0
Merge pull request #110343 from neolit123/1.25-mutate-image-repo-in-cluster-config
kubeadm: mutate ClusterConfiguration.imageRepository to "registry.k8s.io"
2022-06-02 08:45:47 -07:00
Lubomir I. Ivanov
1c46686f09 kubeadm: mutate ClusterConfiguration.imageRepository to "registry.k8s.io"
If the user runs "kubeadm upgrade apply", kubeadm can download
a configuration from the cluster. If the configuration contains
the legacy default imageRepository of "k8s.gcr.io", mutate it
to the new default of "registry.k8s.io" and update the
configuration in the config map.

During "upgrade node/diff" download the configuration, mutate the
image repository locally, but do not mutate the in-cluster value.
That is done only on "apply".

This ensures that users are migrated from the old default registry
domain.
2022-06-02 17:37:30 +03:00
Maciej Szulik
e4fca64690
Drop unnecessary json.Marshal
yaml.Marshal under the covers invokes json.Marshal and then JSONToYAML
conversion which was done here manually.
2022-06-02 16:15:25 +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
Kubernetes Prow Robot
451e1fa8bc
Merge pull request #109366 from pohly/csi-1.6
dependencies: bump CSI to v1.6.0
2022-06-01 19:03:46 -07:00
Dave Chen
9953dde65d Remove newlineReporter custom report
The `newlineReporter` intends to print a new line after the test to
prevent the something print to the stdout and mess up the test result
while cause the tool like `go-junit-report` fail to parse the result.

But this is no longer needed based on following evidence.

- The issue that was first introduced in `go-junit-report` has already fixed in the version
referenced in `go.mod`.
- The `newlineReporter` report doesn't fix anything for `Ginkgo` v1 or V2 or `go test`, it just prints a
new line before the test summarization.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-06-02 09:52:15 +08:00
Kubernetes Prow Robot
e66a016b73
Merge pull request #110337 from logicalhan/deprecate-metrics
cleanup deprecated metrics and usages
2022-06-01 17:55:58 -07:00
Kubernetes Prow Robot
901434942c
Merge pull request #107878 from danwinship/apiserver-endpointslice-cleanup
Clean up some EndpointSlice-related code in apiserver endpoint reconciler
2022-06-01 17:55:45 -07:00
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
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
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