Commit Graph

107937 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6445efb341 Merge pull request #109344 from stbenjam/host-port-fixes
Replace use of Sprintf with net.JoinHostPort
2022-05-04 15:28:19 -07:00
Kubernetes Prow Robot
6b988c516e Merge pull request #109268 from liggitt/pruning-metadata
ServerSideFieldValidation: Fix bug treating metadata fields as unknown fields
2022-05-04 14:14:19 -07:00
Kubernetes Prow Robot
4dacd5113d Merge pull request #109231 from pbeschetnov/rc-logs
Only log requests for configured consumptions in ResourceConsumer
2022-05-04 13:02:19 -07:00
Kubernetes Prow Robot
889e60ab33 Merge pull request #109124 from daschott/daschott/winkernel-perf-fix
winkernel proxier cache HNS data to improve syncProxyRules performance
2022-05-04 11:47:14 -07:00
Kubernetes Prow Robot
7477e1c91a Merge pull request #109735 from my-git9/kubernetesurl
update k8s url
2022-05-04 09:49:50 -07:00
Kubernetes Prow Robot
1234d061c0 Merge pull request #109727 from Huang-Wei/cleanup-sched-heap
sched: remove unused code in heap.go
2022-05-04 08:01:51 -07:00
Kubernetes Prow Robot
39021f66ef Merge pull request #109715 from yibozhuang/volumerestrictions-refactor
Remove parallel node processing in PreFilter stage in volumerestrictions scheduler plugin
2022-05-04 06:49:51 -07:00
Kubernetes Prow Robot
2fd498f620 Merge pull request #109430 from soltysh/export_kustomize_version
Export function returning kustomize version
2022-05-04 04:57:51 -07:00
Kubernetes Prow Robot
094a33ad80 Merge pull request #109342 from bertinatto/custom-timeout-storage-e2e-cleanup
test/e2e/storage: replace hardcoded value with custom timeout in cleanup routine
2022-05-04 03:45:52 -07:00
Stephen Benjamin
b351745c1c Replace use of Sprintf with net.JoinHostPort
On IPv6 clusters, one of the most frequent problems I encounter is
assumptions that one can build a URL with a host and port simply by
using Sprintf, like this:

```go
fmt.Sprintf("http://%s:%d/foo", host, port)
```

When `host` is an IPv6 address, this produces an invalid URL as it must
be bracketed, like this:

```
http://[2001:4860:4860::8888]:9443
```

This change fixes the occurences of joining a host and port with the
purpose built `net.JoinHostPort` function.

I encounter this problem often enough that I started to [write a linter
for it](https://github.com/stbenjam/go-sprintf-host-port).  I don't
think the linter is quite ready for wide use yet, but I did run it
against the Kube codebase and found these.  While the host portion in
some of these changes may always be an FQDN or IPv4 IP today, it's an
easy thing that can break later on.
2022-05-04 06:37:50 -04:00
Kubernetes Prow Robot
3bef1692ef Merge pull request #109696 from Huang-Wei/rm-sched-perf-legacy
Cleanup legacy scheduler perf tests
2022-05-04 02:35:43 -07:00
Kubernetes Prow Robot
b593ed3118 Merge pull request #109659 from heqg/structuredLog01
Log StructuredLog: spelling formatting
2022-05-04 02:35:34 -07:00
Kubernetes Prow Robot
82ccfb4d2e Merge pull request #109657 from claudiubelu/gce-containerd-update
GCE Windows: Copy the CNI binaries from the right folder
2022-05-04 02:35:26 -07:00
Kubernetes Prow Robot
c1ad54dfe3 Merge pull request #109649 from pohly/e2e-feature-gates
e2e: move feature gate support from test/e2e to test/e2e_node
2022-05-04 02:35:18 -07:00
Kubernetes Prow Robot
1ad0940732 Merge pull request #109623 from stevekuznetsov/skuznets/clarify-list-flow
storage/etcd3: clarify the pagingation flow in LIST
2022-05-04 02:35:10 -07:00
Kubernetes Prow Robot
ebd5c8c446 Merge pull request #109618 from stevekuznetsov/skuznets/common-storage-test-setup
storage/etcd3: continue unifying test setup
2022-05-04 02:35:02 -07:00
Kubernetes Prow Robot
7adb7c1d06 Merge pull request #109612 from pandaamanda/remove_DeprecatedControllerOptions
refactor: remove deprecated `deleting-pods-qps` `deleting-pods-burst` `register-retry-count`  flags
2022-05-04 02:34:54 -07:00
Kubernetes Prow Robot
366dcaa81c Merge pull request #109606 from endocrimes/dani/cleanup-make-test-e2e-node
hack: make test-e2e-node: remove old project refs
2022-05-04 02:34:45 -07:00
Kubernetes Prow Robot
d11eec71ce Merge pull request #109587 from slaskawi/106142-warn-on-white-characters-at-the-beginning-of-a-token-2
Warn on receiving a space before the token
2022-05-04 02:34:37 -07:00
Kubernetes Prow Robot
3739175e1f Merge pull request #109580 from dobsonj/offline-expansion-test-flag
e2e: add storage capability for offline volume expansion
2022-05-04 02:34:29 -07:00
Kubernetes Prow Robot
8dd45ba46c Merge pull request #109579 from logicalhan/watch-cache-metric
remove stutter from alpha metric
2022-05-04 02:34:21 -07:00
Kubernetes Prow Robot
2a0d2331a8 Merge pull request #109574 from endocrimes/dani/e2e_node-approver
sig-node: endocrimes as e2e_node approver
2022-05-04 02:34:11 -07:00
Kubernetes Prow Robot
1347e560ec Merge pull request #109572 from endocrimes/dani/remote-docker
e2e_node: remote runner: Require containerd/crio
2022-05-04 02:34:03 -07:00
Kubernetes Prow Robot
a637604399 Merge pull request #109571 from endocrimes/dani/cleanup-e2e-node
e2e_node: Cleanup old unused jenkins scripts/config
2022-05-04 02:33:56 -07:00
Kubernetes Prow Robot
78faab2c7b Merge pull request #109478 from shintard/added-status-functions
Implementation of a function that returns the wait state of the scheduler
2022-05-04 02:33:44 -07:00
Kubernetes Prow Robot
b1e130fe83 Merge pull request #109563 from ardaguclu/describe-topologyspreadconstraints
Show topologySpreadConstraints in Describe command
2022-05-04 01:29:37 -07:00
Kubernetes Prow Robot
fa69786fa6 Merge pull request #109551 from SergeyKanzhelev/fixTensorflow
fix the image for node performance tests - model expected tensorflow…
2022-05-04 01:29:30 -07:00
Kubernetes Prow Robot
629706e0fe Merge pull request #109546 from sanposhiho/replace-metrics
Replace scheduler_e2e_scheduling_duration_seconds with scheduler_scheduling_attempt_duration_seconds in scheduler_perf
2022-05-04 01:29:22 -07:00
Kubernetes Prow Robot
aca3b6a0ce Merge pull request #109536 from yuanchen8911/master
Add PodWrapper functions for scheduler testing
2022-05-04 01:29:12 -07:00
Kubernetes Prow Robot
74ec2dd197 Merge pull request #109527 from navist2020/kubeadm/preflightError
Return preflightError if an error occurs when running the preflight
2022-05-04 01:29:04 -07:00
Kubernetes Prow Robot
78dbcb4233 Merge pull request #109520 from cncal/lcn_cleanup_duplicate_code_snippet
Remove the duplicate code snippet in client-go delaying_queue tests
2022-05-04 01:28:56 -07:00
Kubernetes Prow Robot
7e8a35e7da Merge pull request #109514 from aryan9600/clear-guaranteed-update
Update `storage.GuaranteedUpdate` to be clearer
2022-05-04 01:28:48 -07:00
Kubernetes Prow Robot
a3c0729c4d Merge pull request #109509 from leiyiz/imagevsc
fixed incorrect tag on volume cloning test case
2022-05-04 01:28:40 -07:00
Kubernetes Prow Robot
76d6473136 Merge pull request #109506 from wangrzneu/fix-comment
fix comment of IngressClassParametersReferenceScopeCluster
2022-05-04 01:28:33 -07:00
Kubernetes Prow Robot
1480fc3945 Merge pull request #109504 from soltysh/clean_builder
Move path error to const and squash tests
2022-05-04 01:28:25 -07:00
Kubernetes Prow Robot
63a618a815 Merge pull request #109486 from alculquicondor/job-backofflimit
Fix job tracking leaving pods with finalizers
2022-05-04 01:28:14 -07:00
Kubernetes Prow Robot
9566ce488a Merge pull request #109468 from pjh/owners-pjh
Remove pjh from cluster/gce/ OWNERS files
2022-05-04 01:28:07 -07:00
Kubernetes Prow Robot
e8ef77514b Merge pull request #109443 from kevindelgado/dynamic-apply
Add Apply and ApplyStatus methods to dynamic ResourceInterface
2022-05-04 01:27:53 -07:00
Kubernetes Prow Robot
d9fa563550 Merge pull request #109441 from Miciah/kubelet-parseResolvConf-handle-search-dot
kubelet: parseResolvConf: Handle "search ."
2022-05-04 01:27:42 -07:00
Kubernetes Prow Robot
35de9f5027 Merge pull request #109410 from dims/set-default-flake-attempt-to-one
Set default flake attempt to 1 (not 2)
2022-05-04 01:27:30 -07:00
Kubernetes Prow Robot
6605e526b0 Merge pull request #109421 from vpnachev/fix/typo-in-token-request-doc-string
Fix typo in TokenRequest doc string
2022-05-03 22:43:30 -07:00
shinta
22984402ab impl 'IsWait' functions
Co-authored-by: Alex Wang <453102040@qq.com>
2022-05-04 12:36:13 +09:00
Kubernetes Prow Robot
edac6fce2a Merge pull request #109338 from kerthcet/cleanup/forget-to-close-when-error
test/integration/framework: call closeFn() in startAPIServerOrDie() on error
2022-05-03 19:31:22 -07:00
Kubernetes Prow Robot
d0fc41d105 Merge pull request #109324 from wppzxc/fix-output
Fix: test case wrong output in cmd/kubeadm/app/cmd/completion_test.go
2022-05-03 19:31:14 -07:00
Kubernetes Prow Robot
e5115587b3 Merge pull request #109322 from hoskeri/conformance-test-healthz
conformance-test: use kubelet healthz port.
2022-05-03 19:31:06 -07:00
Kubernetes Prow Robot
cc2807c521 Merge pull request #109303 from wojtek-t/clean_storage_shutdown
Cleanup rest storage resources on shutdown
2022-05-03 19:30:57 -07:00
Kubernetes Prow Robot
75398940b6 Merge pull request #109288 from ScheererJ/ScheererJ-kube-proxy-kube-node-port-cleanup
[kube-proxy]: Cleanup KUBE-NODE-PORT chain in filter table.
2022-05-03 19:30:48 -07:00
Kubernetes Prow Robot
108222ef72 Merge pull request #109279 from pohly/fstype-csi-ephemeral
storage e2e: set fstype for CSI ephemeral inline volumes
2022-05-03 19:30:39 -07:00
Kubernetes Prow Robot
cbb164efe6 Merge pull request #109277 from MikeSpreitzer/add-weighted-histogram
Start drafting weighted and timing histograms
2022-05-03 19:30:31 -07:00
Kubernetes Prow Robot
b1cdb660b4 Merge pull request #109270 from liggitt/cleanup-test-cmd-exit
test-cmd: Reorder process shutdown and exit immediately in cleanup
2022-05-03 19:30:23 -07:00