Commit Graph

16185 Commits

Author SHA1 Message Date
Ravi Gudimetla
95fc0987cd Generated: PodOS field to GA 2022-07-18 23:28:00 -04:00
Ravi Gudimetla
e9ce94edf5 api: Promote PodOS field to GA 2022-07-18 23:27:59 -04:00
Kubernetes Prow Robot
5b92e46b22 Merge pull request #110706 from prateekgogia/cloudprovider-284
Add rate limiting when calling STS assume role API
2022-07-16 00:28:59 -07:00
Kubernetes Prow Robot
e8410006ac Merge pull request #107042 from kkkkun/update_metrics_bucket
Update etcdRequestLatency metrics bucket size
2022-07-16 00:28:52 -07:00
Kubernetes Prow Robot
98aab0a00d Merge pull request #111171 from MadhavJivrajani/conversion-fix
cacher: Use PodList type for use in GetList
2022-07-15 19:00:53 -07:00
Lukasz Szaszkiewicz
63b125d406 reflector: simplify reading the resourceVersion 2022-07-15 11:22:28 +02:00
Lukasz Szaszkiewicz
6fc09008de reflector: move LIST to its own method 2022-07-15 09:53:11 +02:00
Lukasz Szaszkiewicz
e9e26068b7 reflector: refactor watchHandler 2022-07-15 09:43:57 +02:00
Madhav Jivrajani
487761f4e2 cacher: Use PodList type for use in GetList
Using a Pod type in a GetList() call in a test
can panic at worst and error out at best. Here,
neither happened because the error condition
being tested for (cacher being stopped or not)
gets returned before the list pointer can be
enforced.

This commit changes the above to use PodList.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2022-07-15 12:22:04 +05:30
Kubernetes Prow Robot
d14ba948ef Merge pull request #111081 from HecarimV/fix-22071210
Fix: some typo in apimachinery/pkg
2022-07-14 19:44:25 -07:00
Prateek Gogia
3f412cdf5d Update naming for a const 2022-07-14 19:16:51 -05:00
Prateek Gogia
b346cedefb Add rate limiting when calling STS assume role API 2022-07-14 19:16:51 -05:00
Kubernetes Prow Robot
3b4d2a9b31 Merge pull request #111080 from zhoumingcheng/master-v3
Correct wrong syntax
2022-07-14 14:37:08 -07:00
Kubernetes Prow Robot
408850e9f7 Merge pull request #111035 from jiahuif-forks/feature/matrics/cel
metrics for CEL compilation and evaluation
2022-07-14 14:37:00 -07:00
Kubernetes Prow Robot
a35c1f37b6 Merge pull request #111083 from nixpanic/mount-utils/no-systemd
mount-utils: only detect systemd when needed
2022-07-14 13:18:57 -07:00
Kubernetes Prow Robot
e5f4f8d71b Merge pull request #110896 from ravisantoshgudimetla/promote-minReadySec-sts-update-ga
Promote minReadySeconds to GA
2022-07-14 09:45:09 -07:00
Kubernetes Prow Robot
a655368390 Merge pull request #104907 from adrianreber/2021-09-10-checkpoint
Minimal checkpointing support
2022-07-14 09:44:56 -07: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
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
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
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
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
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
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
Cici Huang
51fcfb97ce Add test for CEL maxRecurionDepth check. 2022-07-13 17:03:16 +00: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
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
saltbo
d2bab218dd fix: update the typo code comment 2022-07-13 10:16:51 +08:00
Kubernetes Prow Robot
63106196df Merge pull request #111064 from sftim/20220711_update_kube_aggregator_readme
Update kube aggregator readme
2022-07-12 18:38:06 -07:00
Kubernetes Prow Robot
e85dcc5337 Merge pull request #108532 from cbandy/status-cause
Use errors.As to detect wrapping in StatusCause
2022-07-12 18:37:47 -07:00
Kubernetes Prow Robot
d46399f788 Merge pull request #111087 from HecarimV/fix-22071205
Fix: import the same package multiple times
2022-07-12 08:32:21 -07:00
Kubernetes Prow Robot
15beb41423 Merge pull request #110538 from hwdef/update-kubectl-trans
Update the Chinese translation of kubectl
2022-07-12 04:04:50 -07:00
HaoJie Liu
4f0a0ec81c Fix:import the same package multiple times
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
2022-07-12 17:41:37 +08:00
HaoJie Liu
ab4ede19f0 Fix: some typo in apimachinery/pkg
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
2022-07-12 11:17:15 +08:00
zhoumingcheng
e590ab77dc Correct some wrong syntax
Signed-off-by: zhoumingcheng <zhoumingcheng@beyondcent.com>
2022-07-12 10:46:56 +08:00
Cici Huang
a421fd4834 Bump cel-go to v0.12.1 2022-07-11 17:05:32 +00:00
Cici Huang
772a252b06 Bump cel-go to v0.12.0 2022-07-11 08:40:34 -07:00
Tim Bannister
fe66c05a30 Fix link to design-proposals archive 2022-07-11 10:07:55 +01:00
Tim Bannister
facc028968 Update kube-aggregator deliverables 2022-07-11 10:07:34 +01:00
Kubernetes Prow Robot
be53d94595 Merge pull request #108792 from wongearl/modify-todo
fix CustomArgs annotation, todo describe
2022-07-11 00:21:50 -07:00
Kubernetes Prow Robot
00ea892a0f Merge pull request #110564 from j4m3s-s/add-ports-doc-fix
Fix description of Ports in PodSpec
2022-07-08 21:41:46 -07:00