wangyysde
|
ab66a38194
|
PodSecurity: promote config and feature gate to GA
Signed-off-by: wangyysde <net_use@bzhy.com>
|
2022-06-15 09:29:47 +08:00 |
|
Jordan Liggitt
|
1bff65e6f8
|
PodSecurity: benchmark large numbers of owned pods
|
2021-11-02 08:43:27 -04:00 |
|
Jordan Liggitt
|
77d65dca44
|
PodSecurity: add namespace update verify benchmark
|
2021-10-04 12:26:30 -04:00 |
|
Jordan Liggitt
|
13e0887c4c
|
PodSecurity: add admission benchmark
go test ./plugin/pkg/admission/security/podsecurity -bench /pod -benchmem
goos: darwin
goarch: amd64
pkg: k8s.io/kubernetes/plugin/pkg/admission/security/podsecurity
cpu: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
BenchmarkVerifyPod/enforce-implicit_pod-12 702789 1585 ns/op 2120 B/op 12 allocs/op
BenchmarkVerifyPod/enforce-privileged_pod-12 737588 1607 ns/op 2120 B/op 12 allocs/op
BenchmarkVerifyPod/enforce-baseline_pod-12 409818 2974 ns/op 3368 B/op 17 allocs/op
BenchmarkVerifyPod/enforce-restricted_pod-12 370262 3385 ns/op 3368 B/op 17 allocs/op
BenchmarkVerifyPod/warn-baseline_pod-12 391808 3101 ns/op 3368 B/op 17 allocs/op
BenchmarkVerifyPod/warn-restricted_pod-12 349411 3452 ns/op 3368 B/op 17 allocs/op
BenchmarkVerifyPod/enforce-warn-audit-baseline_pod-12 208221 5735 ns/op 5864 B/op 27 allocs/op
BenchmarkVerifyPod/warn-baseline-audit-restricted_pod-12 249662 4849 ns/op 4616 B/op 22 allocs/op
PASS
ok k8s.io/kubernetes/plugin/pkg/admission/security/podsecurity 10.707s
|
2021-09-21 16:20:11 -04:00 |
|
Jordan Liggitt
|
f39bddd767
|
PodSecurity: kube-apiserver: admission wiring
|
2021-06-28 17:45:35 -04:00 |
|