Commit Graph

109434 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
27110bd821
Merge pull request #111070 from mimowo/retriable-pod-failures-refactor-gc-controller
Refactor gc_controller to do not use the deletePod stub
2022-07-14 06:11:09 -07:00
Kubernetes Prow Robot
e50a366565
Merge pull request #110973 from Dieken/subpath-mount-embedded-filesystem
make sure auto-mounted subpath mount source is already mounted  …
2022-07-14 06:10:57 -07:00
Paco Xu
5c0c20a5ea
kubeadm: UnversionedKubeletConfigMap is GAed in v1.25 2022-07-14 20:56:45 +08:00
Wojciech Tyczyński
8e267eba51 Clean shutdown of controlplane integration tests 2022-07-14 14:38:22 +02:00
Niels de Vos
a800b15d04 mount-utils: only detect systemd when needed
The detectSystemd() function adds quite some logging when systemd is not
detected. This is not critical when the k8s.io/mount-utils package is
used by external applications or CSI-drivers. In that case, it may not
be required to detect systemd at all. To reduce logging in cases where
systemd does not need to be detected, add a hasSystemd() helper function
that calls detectSystemd() only once.
2022-07-14 13:31:51 +02:00
Adrian Reber
92ea6e32b8
Add e2e tests for checkpointing
Signed-off-by: Adrian Reber <areber@redhat.com>
2022-07-14 10:27:41 +00:00
Adrian Reber
fc37a7a990
kubelet: wire checkpoint container support through
This adds the last pieces to wire through the container checkpoint
support in the kubelet.

Signed-off-by: Adrian Reber <areber@redhat.com>
2022-07-14 10:27:41 +00:00
Adrian Reber
8c24857ba3
kubelet: add CheckpointContainer() to the runtime
Signed-off-by: Adrian Reber <areber@redhat.com>
2022-07-14 10:27:41 +00:00
Adrian Reber
3e6f50683f
kubelet: add CheckpointContainer() on the service level
Signed-off-by: Adrian Reber <areber@redhat.com>
2022-07-14 10:27:40 +00:00
Adrian Reber
1ac7d78296
kubelet: add CheckpointContainer in remote runtime
This is the first step to implement checkpointing and restoring of
container and containers starting from the lowest layer in the kubelet.

Signed-off-by: Adrian Reber <areber@redhat.com>
2022-07-14 10:27:40 +00:00
Adrian Reber
564f0e9a25
kubelet: add checkpoint/restore infrastructure
This adds the first infrastructure code parts to the kubelet
to support checkpoint/restore.

Signed-off-by: Adrian Reber <areber@redhat.com>
2022-07-14 10:27:40 +00:00
Adrian Reber
eeb5923937
make update after CRI API changes (checkpoint/restore)
Signed-off-by: Adrian Reber <areber@redhat.com>
2022-07-14 10:27:40 +00:00
Adrian Reber
df4ca2dd9e
Add CRI API definitions for checkpoint/restore
This adds the minimal CRI API changes to support checkpoint/restore and
to enable implementation of these checkpoint/restore interfaces on
container engine level.

Signed-off-by: Adrian Reber <areber@redhat.com>
2022-07-14 10:27:39 +00:00
Kubernetes Prow Robot
19a22f7637
Merge pull request #111008 from cici37/bumpCEL
Bump cel-go to v0.12.3
2022-07-14 03:03:04 -07:00
Kubernetes Prow Robot
7ac06e11e8
Merge pull request #109676 from cartermckinnon/optimize-unmounts
Skip mount point checks when possible during mount cleanup.
2022-07-14 03:02:57 -07:00
Wojciech Tyczyński
690d2f0101 Clean(er) shutdown of auth integration tests 2022-07-14 11:25:57 +02:00
Wojciech Tyczyński
13e4f2b554 Clean shutdown of volume integration tests 2022-07-14 11:25:57 +02:00
JunYang
f33652ce61 Fix kubelet panic when accessing metrics/resource endpoint 2022-07-14 16:38:48 +08:00
ldsdsy
eacddf9f28 Optimising print information 2022-07-14 15:03:03 +08:00
Kubernetes Prow Robot
08f9125cb0
Merge pull request #111109 from azylinski/apf-seats-httplog
Always log APF WorkEstimate params in kube-apiserver http logs
2022-07-13 22:51:03 -07:00
Kubernetes Prow Robot
b70f340209
Merge pull request #110958 from kidddddddddddddddddddddd/cleanup/remove-potential-goroutine-leak-in-binder
Pass context to pkg/scheduler/framework/plugins/volumebinding.
2022-07-13 22:50:56 -07:00
Tim Hockin
722ebf8dca Make yamlfmt tool print filenames
Otherwise fixing errors YAML is much harder.
2022-07-13 20:33:40 -07:00
Tim Hockin
8461a645d6 Add comment on build_binaries_for_platform 2022-07-13 20:33:32 -07:00
Tim Hockin
4b8e3a0b54 Remove unused unset_platform_envs func 2022-07-13 20:33:24 -07:00
Tim Hockin
15cab6d085 Make coverage handle relative-path pkgs 2022-07-13 20:33:12 -07:00
Tim Hockin
0863919807 Add comments around go install 2022-07-13 20:33:03 -07:00
Tim Hockin
f87542ac19 Makefile: sort debug output by time 2022-07-13 20:32:55 -07:00
Abirdcfly
00b9ead02c cleanup: remove duplicate import
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-07-14 11:25:19 +08:00
Tim Hockin
47c270d92e gitignore __* - for local use only
I know it is useful to keep some local stuff and NOT see it in `git
status`, so let's agree that anyuthing that starts with "__" will be
ignored.
2022-07-13 20:15:02 -07:00
HaoJie Liu
d8702cc369
fix: update comment for related updated func
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
2022-07-14 10:20:48 +08:00
Kubernetes Prow Robot
f3654386ab
Merge pull request #111097 from saltbo/fix-thethe-typo
fix: update the typo code comment
2022-07-13 18:03:07 -07:00
Kubernetes Prow Robot
22d018cf76
Merge pull request #110104 from MikeSpreitzer/add-timing-ratio-histograms
Add timing ratio histograms
2022-07-13 18:02:56 -07:00
Tim Allclair
e7f0fd7cf7 Delete dead audit code 2022-07-13 17:22:26 -07:00
Cici Huang
58303deee7 Adding comment for maxValidDepth check. 2022-07-13 21:35:38 +00:00
Cici Huang
c67e914373 Bump cel-go to v0.12.3 2022-07-13 20:19:59 +00:00
Kubernetes Release Robot
6a784ef8f8 CHANGELOG: Update directory for v1.24.3 release 2022-07-13 19:58:00 +00:00
Kubernetes Release Robot
894a8fd4dd CHANGELOG: Update directory for v1.22.12 release 2022-07-13 19:13:52 +00:00
Kubernetes Release Robot
cc97ed19e7 CHANGELOG: Update directory for v1.23.9 release 2022-07-13 17:43:03 +00:00
Cici Huang
51fcfb97ce Add test for CEL maxRecurionDepth check. 2022-07-13 17:03:16 +00:00
Kubernetes Prow Robot
d06fc1e1bb
Merge pull request #111039 from ncdc/resourcequota-update-filter-func
quota: add an update filter
2022-07-13 09:27:50 -07:00
Kubernetes Prow Robot
c813886dc4
Merge pull request #110930 from falser101/fix/codeCleanUp
fix:remove Redundant type conversion
2022-07-13 09:27:38 -07:00
Mike Spreitzer
0c0b7ca49f Use timing ratio histograms instead of sample-and-watermark histograms 2022-07-13 12:03:06 -04:00
Mike Spreitzer
8039f9d600 Add timing ratio histograms
Following is the result of benchmarking the two kinds of histograms on
my laptop.

% go test  -benchmem -run=^$ -bench Histogram .
goos: darwin
goarch: amd64
pkg: k8s.io/apiserver/pkg/util/flowcontrol/metrics
cpu: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
BenchmarkSampleAndWaterMarkHistogramsVecEltSafeEarly-16    	  980143	      1230 ns/op	       0 B/op	       0 allocs/op
BenchmarkSampleAndWaterMarkHistogramsVecEltSafeLate-16     	  932380	      1216 ns/op	       0 B/op	       0 allocs/op
BenchmarkTimingRatioHistogram-16                           	12665247	        94.13 ns/op	       0 B/op	       0 allocs/op
BenchmarkTimingRatioHistogramVecElementSimple-16           	11015806	       100.4 ns/op	       0 B/op	       0 allocs/op
BenchmarkTimingRatioHistogramVecElementSafeEarly-16        	 7142589	       172.0 ns/op	       0 B/op	       0 allocs/op
BenchmarkTimingRatioHistogramVecElementSafeLate-16         	11487517	        96.67 ns/op	       0 B/op	       0 allocs/op
PASS
ok  	k8s.io/apiserver/pkg/util/flowcontrol/metrics	7.718s
2022-07-13 12:02:31 -04:00
Ravi Gudimetla
9ab807fdaa Generated: minReadySeconds for STS 2022-07-13 11:37:11 -04:00
Ravi Gudimetla
05f20dced0 api: Promote statefulset MinReadySeconds to GA 2022-07-13 11:37:10 -04:00
Ravi Gudimetla
9144250a92 Promote minReadySeconds to GA 2022-07-13 11:37:10 -04:00
Artur Żyliński
962eb52be4 Always log APF InitialSeats and FinalSeats values
Add apf_additionalLatency field, to have all WorkEstimate data
2022-07-13 11:11:59 +02:00
Kubernetes Prow Robot
09e8339ae4
Merge pull request #111002 from HecarimV/fix-220707
fix static-check for staging/src/k8s.io/client-go/
2022-07-13 01:01:37 -07:00
Francesco Romani
b4e015bf3c sched: schedfwk: init indexers with non-nil map
Using a nil map to initialize the pod indexers will
cause runtime failure when trying to add indexers
in scheduler plugin.
We use a empty map to enable scheduler plugins
to add their indexers.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-07-13 09:24:57 +02:00
Abirdcfly
aeed9ecc37 enable stylecheck check in golangci
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-07-13 12:12:59 +08:00