Commit Graph

116711 Commits

Author SHA1 Message Date
Benjamin Elder
c1cced24aa WIP: don't exclude .git from rsync 2023-06-16 20:27:17 +00:00
Kubernetes Prow Robot
1ff1a26426
Merge pull request #118542 from cchapla/crd_webhook_metrics_updates
Updating names from webhookconversion to conversionwebhook for apiserver
2023-06-16 10:34:19 -07:00
Kubernetes Prow Robot
cef13f11fd
Merge pull request #118615 from mimowo/job-controller-backoff-cleanup
Cleanup job controller handling of backoff
2023-06-16 08:58:19 -07:00
Michal Wozniak
74c5ff97f1 Lower the constants for the rate limiter in Job controller 2023-06-16 17:00:04 +02:00
Michal Wozniak
c51a422d78 Cleanup job controller handling of backoff 2023-06-16 14:53:27 +02:00
Kubernetes Prow Robot
fa78f28f0a
Merge pull request #117522 from pawbana/auth-provider-gcp-windows
Added support for image credential provider for windows and arm64 on gce
2023-06-15 17:48:38 -07:00
Kubernetes Prow Robot
3454de64dd
Merge pull request #116863 from SergeyKanzhelev/knowninplaceBug
added known issue for 1.27 release
2023-06-15 17:48:31 -07:00
Kubernetes Prow Robot
58d7a794d2
Merge pull request #113504 from pacoxu/taint-unit-test
AddOrUpdateTaintOnNode: if node does not exists, return an error
2023-06-15 17:48:19 -07:00
Kubernetes Prow Robot
b637006302
Merge pull request #118420 from alculquicondor/job_warnings
Add warnings for big number of completions and parallelism
2023-06-15 14:24:18 -07:00
Kubernetes Prow Robot
604584d1d3
Merge pull request #118631 from champtar/ca-not-before
Make CA valid 1 hour in the past
2023-06-15 11:22:30 -07:00
Kubernetes Prow Robot
79ca192b4f
Merge pull request #118585 from twz123/fix-ginkgo-no-color-deprecation-warning
Fix ginkgo noColor deprecation warning
2023-06-15 11:22:18 -07:00
Kubernetes Prow Robot
1193ab62e2
Merge pull request #116746 from AxeZhan/csi_translate
Return name instead whole volume when error occurred in csi-translation
2023-06-15 06:50:18 -07:00
Kubernetes Prow Robot
c984d53b31
Merge pull request #117896 from kolyshkin/mount-utils-spring-cleaning
Mount utils spring cleaning and optimization
2023-06-15 01:40:17 -07:00
Kubernetes Prow Robot
41575586b4
Merge pull request #118668 from Riaankl/Uupdate-pending_eligible_endpoints.yaml-to-match-APISnoop
Update pending_eligible_endpoints.yaml to match APISnoop
2023-06-14 20:38:31 -07:00
Kubernetes Prow Robot
7bd66c4a30
Merge pull request #118666 from upodroid/simplify-node-e2e-flags
Update container runtime flags to use containerd instead of docker
2023-06-14 20:38:18 -07:00
Kubernetes Prow Robot
e56002ab04
Merge pull request #118665 from bart0sh/PR119-DRA-E2E-remove-NodeFeature
DRA Node E2E: remove NodeFeature label
2023-06-14 18:10:18 -07:00
Kubernetes Release Robot
8636f9353a CHANGELOG: Update directory for v1.27.3 release 2023-06-14 21:26:04 +00:00
Kubernetes Prow Robot
e436472e24
Merge pull request #118628 from dims/check-before-you-sudo
check before you sudo on AWS EC2 instances
2023-06-14 14:14:17 -07:00
Kubernetes Release Robot
763555814b CHANGELOG: Update directory for v1.26.6 release 2023-06-14 20:17:31 +00:00
Kubernetes Prow Robot
302564c66f
Merge pull request #118655 from aojea/glbc_up
use ingress-gce-glbc v1.23.1 image for CI
2023-06-14 12:50:30 -07:00
Kubernetes Prow Robot
78f18c1b4b
Merge pull request #116894 from enj/enj/i/encrypt_resp_sanity_checks
kmsv2: add sanity checks and refine probing logic
2023-06-14 12:50:19 -07:00
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
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