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
Kubernetes Prow Robot
5d7fdf1f12
Merge pull request #111065 from chendave/cleanup_measure
...
Stop using the deprecated `Measure` method
2022-07-12 19:57:50 -07:00
Kubernetes Prow Robot
59842a5f0a
Merge pull request #110974 from kidddddddddddddddddddddd/cleanup/handle-two-default-FooClass
...
Handle two or more default IngressClasses more cleanly
2022-07-12 19:57:38 -07:00
saltbo
d2bab218dd
fix: update the typo code comment
2022-07-13 10:16:51 +08:00
falser101
f07d8d396f
fix:remove Redundant type conversion
...
Signed-off-by: jianfei.zhang <jianfei.zhang@daocloud.io>
2022-07-13 10:03:38 +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
cb0f09275e
Merge pull request #111036 from Huang-Wei/rm-MakeDefaultErrorFunc
...
merge MakeDefaultErrorFunc into handleSchedulingFailure
2022-07-12 18:37:59 -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
ec849f4d51
Merge pull request #103523 from divyenpatel/enable-vsphere-csi-migration
...
enabling CSIMigrationvSphere feature by default
2022-07-12 18:37:36 -07:00
R0CKSTAR
d9294dfff7
Resolve review comments
...
Signed-off-by: R0CKSTAR <yeahdongcn@gmail.com>
2022-07-13 08:44:07 +08:00
Kubernetes Prow Robot
f58d83777f
Merge pull request #111063 from chendave/revert_workaround
...
Revert the workaround needed to cleanup for Ginkgo V1
2022-07-12 16:21:36 -07:00
Wei Huang
4f77732540
merge MakeDefaultErrorFunc into handleSchedulingFailure
2022-07-12 12:11:16 -07:00
Kubernetes Prow Robot
71481bf247
Merge pull request #111075 from ii/fix-controllerrevision-test
...
Fix ControllerRevision e2e test flake
2022-07-12 11:35:56 -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
098c733373
Merge pull request #111032 from kerthcet/cleanup/remove-validation-of-removed-plugins
...
Remove validation of removedPlugins in KubeSchedulerConfiguration
2022-07-12 08:32:14 -07:00
Yubao Liu
834ce75f88
Make sure auto-mounted subpath mount source is already mounted
...
For example, we have two filesystems, one is embedded into another:
/a/test # first filesystem with a directory "/a/test/b2"
/a/test/b2 # not auto mounted yet second filesystem, notice "/a/test/b2" is
# a new directory on this filesystem after this filesystem is mounted
For subpath mount "/a/test/b2", `openat("/a/test", "b2")` gets directory "b2" on the first
filesystem, then "mount -c" will use this wrong directory as source directory.
`fstatat("/a/test", "b2/")` forces triggering auto mount of second filesystem, so
`openat("/a/test", "b2")` gets correct source directory for "mount -c".
This fixes issue https://github.com/kubernetes/kubernetes/issues/110818#issuecomment-1175736550
References:
1. https://man7.org/linux/man-pages/man2/openat.2.html
If pathname refers to an automount point that has not yet
been triggered, so no other filesystem is mounted on it,
then the call returns a file descriptor referring to the
automount directory without triggering a mount.
2. https://man7.org/linux/man-pages/man2/open_by_handle_at.2.html
name_to_handle_at() does not trigger a mount when the final
component of the pathname is an automount point. When a
filesystem supports both file handles and automount points, a
name_to_handle_at() call on an automount point will return with
error EOVERFLOW without having increased handle_bytes. This can
happen since Linux 4.13 with NFS when accessing a directory which
is on a separate filesystem on the server. In this case, the
automount can be triggered by adding a "/" to the end of the
pathname.
2022-07-12 22:09:11 +08:00
Kubernetes Prow Robot
29705ce027
Merge pull request #110879 from ping035627/k8s-220630
...
Handle os.MkdirAll error
2022-07-12 06:06:51 -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
Michal Wozniak
778b8300bc
fix nits
2022-07-12 10:16:00 +02:00
Michal Wozniak
2730d285cf
do not store context
2022-07-12 10:13:47 +02:00
Michal Wozniak
4a3d51359a
Refact GC controller to do not use stub deletePod
2022-07-12 10:13:47 +02: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
R0CKSTAR
b8ecf6fbfe
Add unit test - TestDescribePodRuntimeClass
...
Signed-off-by: R0CKSTAR <yeahdongcn@gmail.com>
2022-07-12 09:34:04 +08:00
Kubernetes Prow Robot
15f111f78f
Merge pull request #110980 from xing-yang/test_ci
...
Change snapshot-controller image to v4.2.1
2022-07-11 18:22:50 -07:00