Commit Graph

105836 Commits

Author SHA1 Message Date
Mauricio Poppe
028de6a8cb Fix order of commands in the snapshot tests for persistent volumes 2021-12-22 00:14:45 +00:00
Kubernetes Prow Robot
ba8410ea5f
Merge pull request #106821 from justinsb/use_non_deprecated_zone_selector
e2e: Stop using deprecated zone nodeSelector
2021-12-21 15:59:47 -08:00
Kubernetes Prow Robot
95b4e46db0
Merge pull request #106593 from claudiubelu/windows/etcd-image2
Adds Windows support for etcd image
2021-12-21 15:59:35 -08:00
Luigi Tagliamonte
6542f4bb99 add failopen metric 2021-12-21 14:11:12 -08:00
Derek Pryor
70e0f8197a
Fix the leak of vSphere client sessions
Implement the test cleanup callback method to close any open vSphere
client connections. Without this clean up sessions were leaking during
testing.
2021-12-21 14:07:53 -08:00
Kubernetes Prow Robot
38ec822b46
Merge pull request #107103 from pohly/log-klog-update
dependencies: update klog to v2.40.1
2021-12-21 13:58:02 -08:00
Kubernetes Prow Robot
d0d23ea052
Merge pull request #107157 from chendave/proxy-config
kube-proxy: note that cli args is ignored if config file is specified
2021-12-21 12:44:25 -08:00
Kubernetes Prow Robot
d76c1c56c7
Merge pull request #106831 from gxglls/master
docs: fix error link path in storage e2e test doc
2021-12-21 12:44:12 -08:00
Kubernetes Prow Robot
d56558ecaf
Merge pull request #106822 from justinsb/log_volume_when_creating_volume
e2e tests: log zone when creating volume
2021-12-21 12:44:01 -08:00
Kubernetes Prow Robot
813671d1a0
Merge pull request #107138 from crisboarna/feat/102334_netpol-arg-improvement
feat(netpol tests):  netpol probeConnectivity refactor
2021-12-21 07:44:46 -08:00
Jan Safranek
045ca75c03 Deflake PV metrics unit test
Test 5-7 tries to delete a PVC at the very same time when it detects that
the PV controller started processing the PVC. The controller then sometimes
can't update the PVC and generate an event for it that the test expects.

From PV controller logs (not shown in CI):
> I1221 14:36:34.548160  104481 pv_controller.go:815] updating PersistentVolumeClaim[default/claim5-7] status: set phase Lost failed: cannot update claim claim5-7: claim not found

Typical error in CI:
> FAIL: TestControllerSync (83.22s)
> framework_test.go:202: Event "Warning ClaimLost" not emitted

Therefore wait for the PVC to be fully processed before deleting the PVC to
avoid races.
2021-12-21 15:36:44 +01:00
Jan Safranek
e323306ce0 Add new watchers to PV controller tests
Add fake Pod and Node watchers to the tests. It only reduces test noise:

Failed to watch *v1.Pod: unhandled watch: testing.WatchActionImpl{ActionImpl:testing.ActionImpl{Namespace:"", Verb:"watch", Resource:schema.GroupVersionResource{Group:"", Version:"v1", Resource:"pods"}, Subresource:""}, WatchRestrictions:testing.WatchRestrictions{Labels:labels.internalSelector(nil), Fields:fields.andTerm{}, ResourceVersion:""}}
2021-12-21 15:36:34 +01:00
Kubernetes Prow Robot
a8cb4e22bf
Merge pull request #106909 from adisky/remove-docker-from-hack-local-up
Remove docker as container runtime for local-up-cluster.sh
2021-12-21 06:04:46 -08:00
Mengjiao Liu
7319114cdd Improve test coverage: pkg/api/persistentvolume 2021-12-21 19:01:58 +08:00
Cristian Boarna
bcb7b938a6 feat(netpol tests): added netpol probeConnectivity args improvement 2021-12-21 12:32:09 +02:00
Kubernetes Prow Robot
13e97453f9
Merge pull request #107091 from robscott/endpointslice-metrics-perf
Improving performance of EndpointSlice controller metrics cache
2021-12-21 01:08:45 -08:00
Dave Chen
e5eb158877 kube-proxy: note that cli args is ignored if config file is specified
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-12-21 17:04:47 +08:00
Kubernetes Prow Robot
4cd6db046f
Merge pull request #107061 from alexzielenski/oav3-bug-incorrect-definitions-version
Fix openapi v3 bug which causes incorrect schema version to be looked up
2021-12-20 23:26:45 -08:00
Mengjiao Liu
e805e646e3 Remove feature gate ImmutableEphemeralVolumes 2021-12-21 14:55:33 +08:00
Aditi Sharma
e3b92ad551 Remove docker as container runtime for local-up
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2021-12-21 11:37:43 +05:30
lsytj0413
c6bd8d6713 fix(*): display the diff as new-old 2021-12-21 14:00:57 +08:00
Kubernetes Prow Robot
7046fc258d
Merge pull request #104733 from thaJeztah/bump_moby_term
go.mod: github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6
2021-12-20 19:24:45 -08:00
Kubernetes Prow Robot
da9a46bac2
Merge pull request #107136 from bertinatto/vsphere-log
Don't log vSphere configuration data in storage e2e tests
2021-12-20 15:11:32 -08:00
Daniel Helfand
291ec05fb3 add comment on beta status for APIPriorityAndFairness feature gate
APIPriorityAndFairness reached beta status and is enabled by default in v1.20
2021-12-20 14:22:06 -06:00
Kubernetes Prow Robot
9386aa0d60
Merge pull request #107131 from jonnylangefeld/jlf/fix-default-config-flags
Fix default config flags
2021-12-20 11:19:33 -08:00
Rob Scott
242c33615e
Improving performance of EndpointSlice controller metrics cache 2021-12-20 10:26:47 -08:00
Kubernetes Prow Robot
8c2ee3c422
Merge pull request #107083 from deejross/create-special-verbs
Allow `create.specialVerbs` to be customized
2021-12-20 10:13:07 -08:00
Arda Güçlü
afdde38321
Enable setting proxyurl in kubeconfig via kubectl config (#105566)
* Enable setting proxyurl in kubeconfig via kubectl config

This PR enables setting `proxy-url` in kubeconfig via kubectl config.

* Add godoc for proxy-url unit tests
2021-12-20 10:12:56 -08:00
Hemant Kumar
7989f27044 use node informer to check volumes attachment status before backoff
fix unit tests
2021-12-20 11:57:05 -05:00
Kubernetes Prow Robot
571e067cdd
Merge pull request #107085 from deejross/set-image-resolver
Allow custom img resolver and flags for `set image`
2021-12-20 08:18:55 -08:00
Ross Peoples
2f56584853 Allow custom img resolver and flags for set image 2021-12-20 09:20:53 -06:00
Kubernetes Prow Robot
f5f34166b7
Merge pull request #106954 from saschagrunert/experimental-runtime-flags
Mark `--container-runtime-endpoint` and `--image-service-endpoint` stable
2021-12-20 06:19:25 -08:00
Cristian Boarna
e755c1cf2a chore(kubectl_utils): remove windows specifc command addition for sync 2021-12-20 14:24:52 +02:00
Fabio Bertinatto
434741ecb7 Don't log vSphere configuration data in storage e2e tests 2021-12-20 09:20:57 -03:00
Jonny Langefeld
c4fbd35cf4 Fix default config flags
This is a follow up to #105520 which only changed the new default config flags in the `NewKubectlCommand` function if `kubeConfigFlags == nil`. However they are not nil because they were initialized before here:
2fe968deb6/staging/src/k8s.io/kubectl/pkg/cmd/cmd.go (L97)

This fix uses the same defaults for both functions

Signed-off-by: Jonny Langefeld <jonny.langefeld@gmail.com>
2021-12-19 19:59:59 -08:00
Patrick Ohly
cb17b76d4d dependencies: update klog to v2.40.1
The new release adds support for multi-line string output (required for
contextual logging) and Verbose.InfoSDepth (required to properly attach
verbosity to some log messages in helper code).
2021-12-19 17:31:25 +01:00
Jiekun
30e06ecf1e #106203 Added test cases for PriorityQueue Activate 2021-12-18 22:12:46 +08:00
Ciprian Hacman
5bae9b9288 Clean up DockerLegacyService interface
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2021-12-18 12:24:54 +02:00
Ciprian Hacman
6cdb1c225d Clean up dockerless build tag
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2021-12-18 12:18:25 +02:00
Kubernetes Prow Robot
489fb9bee3
Merge pull request #107025 from jsafrane/remove-attach-match
Remove AttachID matching from Detach
2021-12-17 18:41:24 -08:00
yxxhero
a90b149be0 add more message for no PodSandbox container
Signed-off-by: yxxhero <aiopsclub@163.com>
2021-12-18 09:52:03 +08:00
Kubernetes Prow Robot
62faf2cdc2
Merge pull request #106721 from aojea/apiserver_dual_service
apiserver endpoint reconciler ip families
2021-12-17 15:23:54 -08:00
songlh
8cceaa051d apply gofmt 2021-12-17 17:35:09 -05:00
Kubernetes Prow Robot
a1e8a5bf39
Merge pull request #107027 from Nordix/disable-nodeport-ga
Prepare AllocateLoadBalancerNodePorts for GA
2021-12-17 13:24:05 -08:00
Kubernetes Prow Robot
8ade75465a
Merge pull request #104799 from RyanAoh/cronjob_dev
fix the error when cleaning up finished jobs for cronjob
2021-12-17 13:23:53 -08:00
songlh
d4f3dde804 time -> timer 2021-12-17 16:03:46 -05:00
songlh
a108393b8c add spaces to comments 2021-12-17 15:41:34 -05:00
songlh
8886e58ae9 add comments to the fix 2021-12-17 15:22:27 -05:00
Kubernetes Prow Robot
e30e7f6861
Merge pull request #107087 from jsturtevant/remove-hostprocess-feature-flag
Remove Hostprocess flag from e2e test
2021-12-17 11:12:15 -08:00
Abu Kashem
f30a34bc01
apf: use v1beta2 for registry 2021-12-17 10:35:37 -05:00