Commit Graph

109252 Commits

Author SHA1 Message Date
Giuseppe Scrivano
705242e2af
kubelet: remove superfluous function
the ensureDirectory seems to be just a wrapper around MkdirAll.

Since MkdirAll doesn't treat an existing directory as an error, there is no need of the extra stat() syscall that was previously performed.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-07-18 17:08:27 +02:00
Kubernetes Prow Robot
5108b0a3a0
Merge pull request #111189 from Octopusjust/k8s-pr4
Add testcases for cmd/kubeadm/app/util/net.go and version.go
2022-07-18 02:49:27 -07:00
Kubernetes Prow Robot
d79cf03615
Merge pull request #110569 from wojtek-t/fix_leaking_goroutines_8
Clean shutdown of controlplane integration tests
2022-07-18 02:49:15 -07:00
Kubernetes Prow Robot
3987c8ad91
Merge pull request #111134 from ldsdsy/modify1
Improve the accuracy of output msg in pkg/controller/endpoint/endpoints_controller.go
2022-07-17 23:51:15 -07:00
Octopusjust
db0bfd8727
Update version_test.go
run ./hack/verify-gofmt.sh
2022-07-18 14:15:06 +08: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
ZhangYu
ba80421254 Add testcases for cmd/kubeadm/app/util/net.go and version.go 2022-07-16 09:23:48 +08:00
Kubernetes Prow Robot
a156de9661
Merge pull request #111169 from HecarimV/fix-22071511
Remove redundant variable definitions in apis/autoscaling
2022-07-15 16:49:21 -07:00
Kubernetes Prow Robot
9d59f95a11
Merge pull request #111138 from kidddddddddddddddddddddd/two_default_ingressClasses
Fix failing e2e test: Handle two default IngressClasses more cleanly
2022-07-15 16:49:09 -07:00
Kubernetes Prow Robot
d6f4a5d04a
Merge pull request #111062 from SataQiu/fix-scheduler-20220711
scheduler: using math.MinInt64 instead of -math.MaxInt64
2022-07-15 10:42:18 -07:00
Kubernetes Prow Robot
d96891255f
Merge pull request #111176 from p0lyn0mial/upstream-cacher-refactor-for-streaming
refactor the reflector to pave the way for streaming
2022-07-15 09:24:53 -07:00
Kubernetes Prow Robot
f8e80d32c0
Merge pull request #111135 from thockin/yamlfmt-print-filenames
Make yamlfmt tool print filenames
2022-07-15 03:46:25 -07:00
kidddddddddddddddddddddd
a76c0f9898 select the lower name ingressClass in e2e 2022-07-15 18:17:57 +08:00
Kubernetes Prow Robot
a0fe0d6b37
Merge pull request #111131 from thockin/coverage-handle-relative-paths
Make coverage handle relative-path pkgs
2022-07-15 02:26:25 -07:00
Lukasz Szaszkiewicz
63b125d406 reflector: simplify reading the resourceVersion 2022-07-15 11:22:28 +02:00
Kubernetes Prow Robot
63822660f0
Merge pull request #110880 from yangjunmyfm192085/fixnegativevalue
When metrics are counted, discard the wrong container StartTime metrics
2022-07-15 01:04:36 -07:00
Kubernetes Prow Robot
b3057e7ccc
Merge pull request #106834 from mengjiao-liu/sysctl-allow-slashes
Add support for slash as sysctl separator to Pod securityContext field and to PodSecurityPolicy
2022-07-15 01:04:24 -07: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
HaoJie Liu
66205bb313
Remove redundant variable definitions in apis/autoscaling
Signed-off-by: HaoJie Liu <liuhaojie@beyondcent.com>
2022-07-15 14:03:59 +08:00
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
JunYang
c71e3a7802 When metrics are counted, discard the wrong container startup time metrics 2022-07-15 08:56:12 +08: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
7e2c02d4c8
Merge pull request #111133 from thockin/comment-build_binaries_for_platform
Add comment on build_binaries_for_platform
2022-07-14 16:26:47 -07:00
Kubernetes Prow Robot
08117cdd76
Merge pull request #111132 from thockin/remove-unused-platform-envs-func
Remove unused `unset_platform_envs` func
2022-07-14 16:26:36 -07:00
Kubernetes Prow Robot
db345360f3
Merge pull request #111129 from thockin/makefile-sort-debug-by-time
Makefile: sort debug output by time
2022-07-14 16:26:25 -07:00
Kubernetes Prow Robot
dd47702273
Merge pull request #111146 from pacoxu/patch-2
kubeadm: UnversionedKubeletConfigMap is GAed in v1.25
2022-07-14 14:37:23 -07:00
Kubernetes Prow Robot
ff84df580e
Merge pull request #111128 from thockin/gitignore-under-under-star
gitignore __* - leave them for local use
2022-07-14 14:37:15 -07: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
ce583e0338
Merge pull request #110950 from yangjunmyfm192085/fixmetricsjudgement
filter out terminated containers in cadvisor_stats_provider
2022-07-14 14:36:52 -07:00
Kubernetes Prow Robot
21149f1b68
Merge pull request #109794 from shiftstack/always_annotate_nodeip
Make kubelet set alpha.kubernetes.io/provided-node-ip unconditionally
2022-07-14 14:36:40 -07:00
Kubernetes Prow Robot
f2395bbd4a
Merge pull request #111141 from yangjunmyfm192085/fixpanic
Fix kubelet panic when accessing metrics/resource endpoint
2022-07-14 13:19:27 -07:00
Kubernetes Prow Robot
6a1b9e1c50
Merge pull request #111130 from thockin/comments-about-go-install
Add comments around `go install`
2022-07-14 13:19:20 -07:00
Kubernetes Prow Robot
0e826ffef4
Merge pull request #111127 from HecarimV/fix-22071410
fix: update comment for related updated func
2022-07-14 13:19:08 -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
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