Commit Graph

113873 Commits

Author SHA1 Message Date
Dan Winship
9283429f22 Remove checks for userspace proxy mode in e2e tests
It's gone
2023-02-15 16:30:58 -05:00
Damien Grisonnet
51ae7265ae restclient: revert metrics test to use old label
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2023-02-15 20:57:31 +01:00
Damien Grisonnet
437c9d9ab2 Revert "restclient: rename "method" label to "verb""
This reverts commit c9944709bc.
2023-02-15 20:08:13 +01:00
Han Kang
7b823002f3 add 25s bucket 2023-02-15 10:31:12 -08:00
Kubernetes Prow Robot
ebae41641f
Merge pull request #115798 from pohly/dra-event-broadcaster
dra: avoid goroutine leaks from event broadcaster
2023-02-15 09:58:41 -08:00
Kubernetes Prow Robot
fa3d5730a4
Merge pull request #115797 from pohly/dra-test-driver-resource-limit-fix
e2e dra: fix resource limits in a mixed cluster
2023-02-15 09:58:33 -08:00
Han Kang
20b5205dad use 10 seconds as the biggest bucket for webhook metrics otherwise charts will top out at 2.5s for webhook latencies 2023-02-15 09:17:41 -08:00
Shogo Hida
58ae449604 Change etcd to agnhost
Signed-off-by: Shogo Hida <shogo.hida@gmail.com>
2023-02-16 00:49:28 +09:00
Kubernetes Prow Robot
e18fa74551
Merge pull request #115590 from swatisehgal/topology-mgr-duration-metrics
node: topology-mgr: Add metric to measure topology manager admission latency
2023-02-15 07:12:25 -08:00
Sascha Grunert
37caed0e19
Graduate SeccompDefault feature to stable / GA
Updating the required code and docs for SeccompDefault to go GA, which
now means that we enable the feature per default.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-02-15 15:28:07 +01:00
Patrick Ohly
0e1139d027 dra: avoid goroutine leaks from event broadcaster
When using these controllers in test/integration/scheduler_perf, the goroutine
leak check there pointed out that broadcaster.Shutdown function wasn't called
and thus goroutines leaked during a test.
2023-02-15 15:14:27 +01:00
Patrick Ohly
20d7fa2771 e2e dra: fix resource limits in a mixed cluster
The check for "resources available on a node" must treat nodes that are not
listed as "no resources available". The previous logic only worked because all
nodes were listed during E2E testing. The upcoming integration testing is
covering additional scenarios and triggered this broken case.
2023-02-15 15:12:19 +01:00
Swati Sehgal
8442b450e5 node: topology-mgr: code optimization
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-02-15 14:04:10 +00:00
Swati Sehgal
cf21dcef51 node: topology-mgr: e2e: changes to validate admission latency metrics
The component was previously incorrect. This patch updates to
the correct component name.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-02-15 13:59:56 +00:00
Swati Sehgal
bc941633c1 node: topology-mgr: add metric to measure topology mgr admission latency
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-02-15 13:59:47 +00:00
Kubernetes Prow Robot
b3d8ac8496
Merge pull request #115786 from liggitt/net-0.7.0-master
Update golang.org/x/net to v0.7.0
2023-02-14 23:28:35 -08:00
Kubernetes Prow Robot
964529b227
Merge pull request #112037 from mingweishih/update_default_proc_mount
Move /proc/asound from defaultReadonlyPaths to defaultMaskedPaths
2023-02-14 23:28:24 -08:00
Kubernetes Prow Robot
98406e2a3e
Merge pull request #115785 from liggitt/fix-kubectl-test
Revert "Refactor fake versions of openapi client into testing subdir"
2023-02-14 21:26:39 -08:00
Kubernetes Prow Robot
62903e3de6
Merge pull request #115626 from hh/patch-3
Migrate apiserver tracing_test.go to registry.k8s.io
2023-02-14 21:26:31 -08:00
Kubernetes Release Robot
abe25e4ebc CHANGELOG: Update directory for v1.27.0-alpha.2 release 2023-02-15 04:19:34 +00:00
Jordan Liggitt
f8e00778dd
Update golang.org/x/net to v0.7.0 2023-02-14 23:14:30 -05:00
Kubernetes Prow Robot
f545ff3ba8
Merge pull request #115610 from SataQiu/detect-sandbox-20230208
kubeadm: show a warning message when detecting that the sandbox image of the container runtime is inconsistent with that used by kubeadm
2023-02-14 19:26:23 -08:00
Jordan Liggitt
f989445900
Revert "Refactor fake versions of openapi client into testing subdir"
This reverts commit 869da89eab.
2023-02-14 22:14:37 -05:00
lianghao208
c01fa8279d Optimization on running prePreEnqueuePlugins before adding pods into activeQ 2023-02-15 11:13:21 +08:00
Kubernetes Prow Robot
08bbecb8e3
Merge pull request #115465 from seans3/openapi-client-testing
Refactor fake versions of openapi client into testing subdir
2023-02-14 16:35:54 -08:00
Kubernetes Prow Robot
390ddafe9e
Merge pull request #114494 from chrishenzie/readwriteoncepod-beta
Graduate ReadWriteOncePod to beta, updated e2e test
2023-02-14 16:35:42 -08:00
Kubernetes Prow Robot
b8688048f8
Merge pull request #115758 from sourcelliu/storageversion
Remove unused code
2023-02-14 14:26:03 -08:00
Kubernetes Prow Robot
fdc117a6dd
Merge pull request #114887 from binacs/binacs/simplify-pickOneNodeForPreemption
cleanup: simplify pickOneNodeForPreemption in preemption
2023-02-14 14:25:51 -08:00
Andrew Sy Kim
7367201288 increase expected fairness margin in TestDifferentWidths
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2023-02-14 16:34:04 -05:00
Kubernetes Prow Robot
731238fb41
Merge pull request #115739 from ii/update-ineligible-yaml-debug-endpoints
Update ineligible endpoints yaml to include debug endpoints
2023-02-14 12:46:02 -08:00
Kubernetes Prow Robot
8f55d34507
Merge pull request #115384 from sourcelliu/allowlist
Add test for pkg/kubelet/sysctl/allowlist_test.go
2023-02-14 12:45:51 -08:00
Kubernetes Prow Robot
125e38c087
Merge pull request #115670 from tallclair/httpprobe
Document risk of HTTP response body in probe failure msg
2023-02-14 10:31:43 -08:00
Kubernetes Prow Robot
5071c4f57e
Merge pull request #111982 from cvvz/kubelet-del-unnecessary-code
cleanup: delete useless code from kubelet volumemanager
2023-02-14 10:31:31 -08:00
Ming-Wei Shih
532bb2288e Move /proc/asound from defaultReadonlyPaths to defaultMaskedPaths (align with moby)
Signed-off-by: Ming-Wei Shih <mishih@microsoft.com>
2023-02-14 18:21:48 +00:00
Chris Henzie
be139f9bb7 feat: bump ReadWriteOncePod feature to beta 2023-02-14 10:09:58 -08:00
Chris Henzie
f855c90c1e chore: Update hostpath driver to v1.11.0
This version enforces the new SINGLE_NODE_SINGLE_WRITER CSI access mode
in NodePublishVolume.

See for more details:
https://github.com/kubernetes-csi/csi-driver-host-path/pull/381
2023-02-14 10:09:58 -08:00
Chris Henzie
0e47d90dd1 test: e2e test for ReadWriteOncePod preemption 2023-02-14 10:09:57 -08:00
Kubernetes Prow Robot
4cf352c4bb
Merge pull request #115456 from pohly/goroutine-leak-check
test/integration: goroutine leak check
2023-02-14 08:31:31 -08:00
Andy Goldstein
71ec5ed81d
resourcequota: use contexual logging (#113315)
Signed-off-by: Andy Goldstein <andy.goldstein@redhat.com>
2023-02-14 07:19:31 -08:00
Kubernetes Prow Robot
2f977fd8c4
Merge pull request #115759 from stlaz/oidc_static_ca
oidc: do not leak work queue goroutine
2023-02-14 05:49:31 -08:00
Stanislav Laznicka
4ae4266c91
authenticator config: use static CA reader for OIDC CA 2023-02-14 13:43:58 +01:00
Kubernetes Prow Robot
fa294f3e4e
Merge pull request #115527 from sondinht/ipvs_sh
Ipvs: Enable Source Port hash flag for "mh" method.
2023-02-14 04:25:30 -08:00
mantuliu
bc70548c47 Remove unused code
Signed-off-by: mantuliu <240951888@qq.com>
2023-02-14 20:08:11 +08:00
Kubernetes Prow Robot
5ad9e41879
Merge pull request #114987 from astefanutti/pr-codegen-applyconfig
Add applyconfiguration generator to code-generator script
2023-02-14 03:19:30 -08:00
Patrick Ohly
f131cabfa0 test: use go-uber/goleak for strict leak checking
It provides more readable output and has additional APIs for using it inside a
unit test. goleak.IgnoreCurrent is needed to filter out the goroutine that gets
started when importing go.opencensus.io/stats/view.

In order to handle background goroutines that get created on demand and cannot
be stopped (like the one for LogzHealth), a helper function ensures that those
are running before calling goleak.IgnoreCurrent. Keeping those goroutines
running is not a problem and thus not worth the effort of adding new APIs to
stop them.

Other goroutines are genuine leaks for which no fix is available. Those get
suppressed via IgnoreTopFunction, which works as long as that function
is unique enough.

Example output for the leak fixed in https://github.com/kubernetes/kubernetes/pull/115423:

    E0202 09:30:51.641841   74789 etcd.go:205] "EtcdMain goroutine check" err=<
        found unexpected goroutines:
        [Goroutine 4889 in state chan receive, with k8s.io/apimachinery/pkg/watch.(*Broadcaster).loop on top of the stack:
        goroutine 4889 [chan receive]:
        k8s.io/apimachinery/pkg/watch.(*Broadcaster).loop(0xc0076183c0)
        	/nvme/gopath/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/watch/mux.go:268 +0x65
        created by k8s.io/apimachinery/pkg/watch.NewBroadcaster
        	/nvme/gopath/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/watch/mux.go:77 +0x116
    >
2023-02-14 12:11:37 +01:00
Kubernetes Prow Robot
5d9d06aa47
Merge pull request #115717 from pacoxu/node-dns-v1.22.17
update node-local-dns to v1.22.17
2023-02-13 23:43:30 -08:00
Li Bo
2d98d2412a refine code 2023-02-14 15:10:54 +08:00
Sean Sullivan
869da89eab Refactor fake versions of openapi client into testing subdir 2023-02-13 17:43:01 -08:00
Paco Xu
ceb37c3a5c update node-local-dns to 1.22.18 2023-02-14 09:37:35 +08:00
Kubernetes Prow Robot
d0e927e7bf
Merge pull request #115737 from Nordix/uablrek-ipvs-owner
Add uablrek in pkg/util/ipvs/OWNERS
2023-02-13 15:57:41 -08:00