Commit Graph

117125 Commits

Author SHA1 Message Date
Riaan Kleinhans
3bf93156d8
Update pending_eligible_endpoints.yaml to match APISnoop 2023-06-15 07:31:31 +12:00
Kubernetes Release Robot
ff2a1f0167 CHANGELOG: Update directory for v1.25.11 release 2023-06-14 18:51:12 +00:00
upodroid
a29be0cfb0 update container runtime flags to use containerd instead of docker 2023-06-14 19:18:39 +01:00
Davanum Srinivas
89adbc6e5b
check for AWS environment before running sudo
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-06-14 14:03:44 -04:00
Kubernetes Release Robot
7f650acb3c CHANGELOG: Update directory for v1.24.15 release 2023-06-14 17:59:12 +00:00
Ed Bartosh
a83edd35c4 DRA Node E2E: relabel test suite to fix CI
Removed NodeFeature:DynamicResourceAllocation label from the
tests to fix cos-cgroupv1/v2-containerd-node-e2e-serial CI jobs.

It turned out that labeling DRA Node tests as NodeFeature was
a mistake. Re-labeling with NodeAlphaFeature would not work either.
It would fail certain containerd jobs as DRA requires containerd >= 1.7
2023-06-14 20:46:24 +03:00
Kubernetes Prow Robot
99e050f88e
Merge pull request #117597 from CoderSherlock/master
Added e2e_node test for sigkilled pods exit code and exit reason check
2023-06-14 10:34:29 -07:00
Kubernetes Prow Robot
6a79a8a57c
Merge pull request #115835 from HirazawaUi/fix-terminationGracePeriod-bug
fix terminationGracePeriod blocked by preStop
2023-06-14 10:34:18 -07:00
Kubernetes Prow Robot
77fd143c8d
Merge pull request #118603 from pbetkier/deflake-hpa-e2e-behavior-tests
e2e: deflake a HPA CPU test by stabilizing cpu consumption
2023-06-14 09:26:29 -07:00
Kubernetes Prow Robot
6fbf4824fd
Merge pull request #116091 from pacoxu/cleanup-terminationGracePeriodSeconds
cleanup: remove ProbeTerminationGracePeriod feature tag on test
2023-06-14 09:26:18 -07:00
Kubernetes Prow Robot
76c0be5462
Merge pull request #118659 from jsafrane/bump-iscsi-image
Bump iscsi test server image
2023-06-14 08:00:30 -07:00
Kubernetes Prow Robot
47e79b8156
Merge pull request #116910 from fatsheep9146/job-controller-contextual-logging
Migrated pkg/controller/job to contextual logging
2023-06-14 08:00:18 -07:00
Aldo Culquicondor
c27f9fdeb7
Add warnings for big number of completions and parallelism
Change-Id: I63e192b1ce9da7d8bb04f8be1a6e19ec6fbbfa5a
2023-06-14 10:38:42 -04:00
Kubernetes Prow Robot
b53411ffb8
Merge pull request #118639 from bergerhoffer/cli-help-updates
Update CLI help text for grammar and consistency
2023-06-14 06:54:18 -07:00
Andrea Hoffer
a86380c781 Update CLI help text for grammar and consistency 2023-06-14 08:54:23 -04:00
Kubernetes Prow Robot
173a473803
Merge pull request #118128 from carlory/fix-issue-118120
remove helper function for unused storage feature in pkg/proxy/util
2023-06-14 04:28:18 -07:00
Jan Safranek
96e7d5f1f2 Bump iscsi test server image 2023-06-14 12:47:16 +02:00
Antonio Ojea
e0f273ffda use ingress-gce-glbc v1.23.1 image for CI
Change-Id: Ia2dacdc1d8fd3e369b9dcc0ec8b2653f3a834057
2023-06-14 10:40:01 +00:00
Ritikaa96
e213448db1 Updated kubectl explain help output 2023-06-14 12:33:18 +05:30
Ziqi Zhao
7bc449d7e0 add contextual logging to job-controller
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
2023-06-14 13:40:02 +08:00
Kubernetes Prow Robot
9740bc0e0a
Merge pull request #118606 from sanposhiho/refactor-score
refactor: simplify RunScorePlugins for readability + performance
2023-06-13 21:41:57 -07:00
Kubernetes Prow Robot
daaa4c5186
Merge pull request #118479 from Riaankl/remove-csidriver-endpoints
Remove csidriver endpoints from pending_eligible_endpoints.yaml
2023-06-13 19:53:58 -07:00
Kir Kolyshkin
cfbc5dc54f mount-utils: fix linter warnings in tests
Mostly "return value is not checked".

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-06-13 18:50:33 -07:00
Kir Kolyshkin
8ced101db5 mount-utils: stop using ioutil in tests
io/ioutil is deprecated since Go 1.16. Besides, we now have a nice
t.TempDir() function which simplifies things a lot.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-06-13 18:50:33 -07:00
Kir Kolyshkin
699d118d85 mount-utils: stop using ioutil
It has been deprecated since Go 1.16.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-06-13 18:50:33 -07:00
Kir Kolyshkin
b690450e84 mount-utils: don't reread mountinfo on newer kernels
1. Background.

Since the dawn of times mount-utils package tries to work around the bug
in the Linux kernel, which results in occasional incomplete read of
mountinfo entries (from either /proc/mounts or /proc/PID/mountinfo).
The workaround used is to read the whole file twice and compare the two
blobs. If they differ, try again.

The kernel bug is manifesting when mountinfo read is performed
concurrently with an unmount, and can easily be reproduced by running
lots of mounts and unmounts in parallel with the code reading mountinfo.
For one such reproducer, see https://github.com/kolyshkin/procfs-test.

On a Kubernetes node with lots of short-lived containers, mounts and
unmounts are quite frequent. This leads to the occasional bug, and
surely results in much more re-reads of mountinfo, because the
workaround assumes its content is more-or-less static.

The good news is, this bug was finally fixed by kernel commit
9f6c61f96f2d97, which made its way into Linux 5.8.

2. The issue.

The code still read every file at least twice, and up to 10 times. The
chance of re-reading is higher if there is a mount or unmount going on
at the same time. The result is higher system and kernel load, and
degraded performance.

3. The fix.

As the re-reading is not necessary for newer kernels, let's check the
kernel version and skip the workaround if running Linux >= 5.8.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-06-13 18:50:27 -07:00
Kir Kolyshkin
8c79a91133 mount-utils: isMountPointMatch: simplify and speedup
Here's before/after comparison.

[kir@kir-rhat mount-utils]$ benchstat before after
name                 old time/op    new time/op    delta
IsMountPointMatch-4     707ns ± 1%      40ns ± 1%   -94.39%  (p=0.008 n=5+5)

name                 old alloc/op   new alloc/op   delta
IsMountPointMatch-4      264B ± 0%        0B       -100.00%  (p=0.008 n=5+5)

name                 old allocs/op  new allocs/op  delta
IsMountPointMatch-4      11.0 ± 0%       0.0       -100.00%  (p=0.008 n=5+5)

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-06-13 18:35:41 -07:00
Kir Kolyshkin
404e844468 mount-utils: add isMountPointMatch test and benchmark
Add some test cases for isMountPointMatch, to prepare for its rework.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-06-13 18:35:41 -07:00
Kir Kolyshkin
4bb0239279 mount-utils: IsMountPoint: fix
Commit 44bea35804 added a code to return unwrapped fs.ErrNotExist
error in case filepath.EvalSymlinks failed a wrapped one.

This never worked because of a copy/paste bug.

Fix this.

Fixes: 44bea35804
Cc: Manu Gupta <manugupt1@gmail.com>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-06-13 18:35:41 -07:00
Kir Kolyshkin
167252fb5e mount-utils: format with gofumpt
gofumpt is a superset of go fmt, enabling some more strict formatting
rules, mostly to improve code readability.

No functional or code change, just formatting.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-06-13 18:35:41 -07:00
Monis Khan
55b690ee01
kmsv2: no-op refactor priming logic into its own function
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-06-13 18:24:50 -04:00
Monis Khan
15003c609d
kmsv2: refine probing logic to avoid slow starts
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-06-13 16:59:23 -04:00
Monis Khan
d8150b8160
kmsv2: add a sanity check to confirm that new state is always valid
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-06-13 16:34:56 -04:00
Kubernetes Prow Robot
666fc23fe4
Merge pull request #118539 from benluddy/timeout-filter-flake
Ensure timeout test handlers don't complete before timing out.
2023-06-13 09:21:58 -07:00
Kubernetes Prow Robot
cdbdb17934
Merge pull request #118567 from chendave/node_arm_ci
Pass the mandatory parameters to build arm64 binaries
2023-06-13 08:22:11 -07:00
Kubernetes Prow Robot
bca1336021
Merge pull request #118530 from carlory/fix-issue-118276
fix Cronjob status.lastSuccessfulTime not populated by a manually triggered job
2023-06-13 08:21:59 -07:00
Kubernetes Prow Robot
232cdf9716
Merge pull request #118624 from jsafrane/iscsi-dbus
iscsi: use dbus from the host
2023-06-13 05:00:09 -07:00
Kubernetes Prow Robot
e80e6b8e5a
Merge pull request #118597 from tkashem/apf-refactor
apf: refactor bootstrap ensure strategy
2023-06-13 04:59:58 -07:00
Ritikaa96
8c06ca68d7 Details added in kubectl explain help 2023-06-13 17:01:46 +05:30
Kubernetes Prow Robot
8fd27c6137
Merge pull request #118574 from bart0sh/PR118-DRA-E2E-Node-test-grpc-timeout
DRA: E2E Node: test GRPC timeout
2023-06-13 03:39:58 -07:00
Ed Bartosh
4960207b31 DRA Node E2E: test NodePrepareResource timeout 2023-06-13 12:42:05 +03:00
Ed Bartosh
5c5f6e8fe2 DRA Node E2E: add NodePrepareResourceCalled API 2023-06-13 12:42:05 +03:00
Ed Bartosh
673d0aaa60 DRA Node E2E: add call blocking to the Kubelet plugin APIs 2023-06-13 12:41:59 +03:00
Kubernetes Prow Robot
3b44969134
Merge pull request #118460 from serathius/componentstatuses
Make etcd component status consistent with health probes
2023-06-13 02:17:58 -07:00
Marek Siarkowicz
a60314c47e Make etcd component status consistent with health probes
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2023-06-13 10:10:29 +02:00
Kubernetes Prow Robot
96b08afd9c
Merge pull request #118620 from byako/fix-dra-e2e-readme
Update Kind details for DRA e2e
2023-06-13 00:43:58 -07:00
Kubernetes Prow Robot
d701b6be0f
Merge pull request #118629 from jeremyrickard/update-publishing-bot-go11910
Update publishing-bot rules for release branches to Go 1.19.10
2023-06-12 23:31:57 -07:00
Etienne Champetier
e1735b9863 Make CA valid 1 hour in the past
When running kubeadm / installing k8s early during boot,
the CA certificate can be generated before time is synchronised
and time is jumped backward.
Make notBefore 1 hour in the past to accept small clock jump.

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
2023-06-13 01:34:41 -04:00
Kubernetes Prow Robot
83d30f4463
Merge pull request #118342 from yt2985/cleanSA
Fix the flaky legacy_service_account_token_clean_up_test.
2023-06-12 22:33:57 -07:00
Kubernetes Prow Robot
b4a7427ac3
Merge pull request #118157 from deveshgoyal1000/patch-1
Update typo in k8s.po in line 2170
2023-06-12 21:28:09 -07:00