Commit Graph

111688 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
ae6dc598bd
Merge pull request #113172 from dashpole/endpoint_handler_tracing
Migrate apiserver from utils/trace to component-base/tracing
2022-10-27 08:42:32 -07:00
Mengjiao Liu
b9740694f3 StatefulSet: fix kube-controller-manager panic due to StatefulSetPersistentVolumeClaimRetentionPolicy being nil 2022-10-27 23:13:36 +08:00
Kubernetes Prow Robot
ab4907d2f4
Merge pull request #112913 from Garrybest/pr_cpumanager
fix GetAllocatableCPUs in cpumanager
2022-10-27 07:20:33 -07:00
Wojciech Tyczyński
cd5da36c92 Refactor etcd3 list consistency test 2022-10-27 16:00:54 +02:00
David Ashpole
de26b9023f
migrate apiserver utiltrace usage to component-base/tracing 2022-10-27 13:34:51 +00:00
Maciej Borsz
e577a77eb8 Add benchmark for caching object 2022-10-27 13:19:37 +00:00
Francesco Romani
bdc08eaa4b e2e: node: add tests for cpumanager metrics
Add tests to verify the cpumanager metrics are populated.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-10-27 14:40:56 +02:00
Francesco Romani
47d3299781 node: metrics: cpumanager: add pinning metrics
In order to improve the observability of the cpumanager,
add and populate metrics to track if the combination of
the kubelet configuration and podspec would trigger
exclusive core allocation and pinning.

We should avoid leaking any node/machine specific information
(e.g. core ids, even though this is admittedly an extreme example);
tracking these metrics seems to be a good first step, because
it allows us to get feedback without exposing details.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-10-27 14:40:40 +02:00
Garrybest
95eb5670cf add GetAllocatableCPUs test in cpumanager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-10-27 19:57:12 +08:00
Garrybest
d446f5f90e fix GetAllocatableCPUs in cpumanager
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-10-27 19:57:06 +08:00
Patrick Ohly
2a7f9723ec e2e framework: fix incorrect backtrace in Failf
Commit 99e9096034 was only supposed to remove the
FailfWithOffset function, but it also changed the behavior by skipping one
additional stack frame. That makes no sense and is inconsistent with Fail, which
also logs the direct caller.
2022-10-27 12:24:00 +02:00
Wojciech Tyczyński
bbe1ebc82a Minor cleanup of etcd3 tests 2022-10-27 09:48:06 +02:00
Kubernetes Prow Robot
6e31c6531f
Merge pull request #111095 from tallclair/audit-single-context
Audit single context
2022-10-26 23:56:32 -07:00
Kubernetes Prow Robot
a74e16fc81
Merge pull request #113306 from jsafrane/csidriver-setup
Move CSIDriver checks from NewMounter to SetUpAt
2022-10-26 17:08:43 -07:00
Kubernetes Prow Robot
2a224dff02
Merge pull request #108874 from jsafrane/rework-csi-mount-json
Move CSI json file saving to SetUpAt()
2022-10-26 17:08:32 -07:00
Kubernetes Prow Robot
52f5816b8b
Merge pull request #113015 from ritazh/crencryption
Custom resource encryption
2022-10-26 14:46:22 -07:00
Kermit Alexander II
ac324cb30c Add metrics for validation admission control. 2022-10-26 20:54:57 +00:00
Rita Zhang
c3df726c7b
Enable encryption for custom resources
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2022-10-26 13:37:11 -07:00
Wojciech Tyczyński
b02f172cbd Refactor storage tests using compaction 2022-10-26 22:02:13 +02:00
Wojciech Tyczyński
7da7ddd779 Refactor compaction in etcd3 tests 2022-10-26 22:01:35 +02:00
Kubernetes Prow Robot
e287b36cc1
Merge pull request #113364 from wojtek-t/refactor_storage_tests_2
Refactor storage tests - part 2
2022-10-26 12:58:23 -07:00
Wojciech Tyczyński
e04fe81dfc Minor cleanup of etcd3 tests 2022-10-26 20:54:51 +02:00
Wojciech Tyczyński
6c8ce894e1 Refactor pagination tests 2022-10-26 20:54:51 +02:00
Wojciech Tyczyński
8472e1bc13 Refactor GetReads 2022-10-26 20:51:20 +02:00
Kubernetes Prow Robot
fd331bcdd4
Merge pull request #111569 from inosato/remove-ioutil-from-controller-manager
Remove ioutil from controller-manager
2022-10-26 11:32:37 -07:00
Kubernetes Prow Robot
f3e6e05979
Merge pull request #113355 from chendave/preflightErrors
kubeadm: Don't reuse the `ignorePreflightErrors` from initCfg for `reset`
2022-10-26 08:40:36 -07:00
Kubernetes Prow Robot
9acd38e07d
Merge pull request #113343 from logicalhan/doc
Add support to metrics framework to auto-generate documentation for metrics
2022-10-26 07:34:51 -07:00
Kubernetes Prow Robot
ca03736670
Merge pull request #113323 from RomanBednar/retro-sc-metric
add a metric for retroactive sc errors
2022-10-26 07:34:39 -07:00
Artur Żyliński
8a5fbce96e Fix cond: Check if pod started 2022-10-26 16:05:19 +02:00
Andrew Sy Kim
8c77295db8 promote ProxyTerminatingEndpoints feature to Beta
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-10-26 10:00:40 -04:00
SataQiu
ecfae2bebe kube-apiserver: keep the types of LeaseEndpointReconcilerType and NoneEndpointReconcilerType the same as MasterCountReconcilerType 2022-10-26 21:49:31 +08:00
Kubernetes Prow Robot
c33a773886
Merge pull request #113357 from wojtek-t/refactor_storage_tests
Refactor storage tests
2022-10-26 05:26:36 -07:00
Wojciech Tyczyński
afc5ded839 Move GuaranteedUpdateChecksData test to generic package 2022-10-26 12:23:25 +02:00
Wojciech Tyczyński
5344bc5e1b Minor cleanup of storage tests 2022-10-26 12:21:55 +02:00
Wojciech Tyczyński
012676acc3 Move GuaranteedUpdate test to generic test package 2022-10-26 12:21:55 +02:00
Artur Żyliński
492f5fa82c Regenerate mocks 2022-10-26 11:31:50 +02:00
Artur Żyliński
b0fac15cd6 Make the interface local to each package 2022-10-26 11:28:18 +02:00
Artur Żyliński
9f31669a53 New histogram: Pod start SLI duration 2022-10-26 11:28:17 +02:00
Dave Chen
5854b92450 kubeadm: Don't reuse the ignorePreflightErrors from initCfg for reset
The init config file fetched from cluster won't have `ignorePreflightErrors`
set, and shouldn't try to reuse it even it's set with any value.

Instead, it should be defined in reset config file and fetch from it when the
reset config is ready.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-10-26 16:14:11 +08:00
Kubernetes Prow Robot
5539a5b80f
Merge pull request #113353 from chendave/validation
kubeadm: print the invalid field when validating bootstrap token discovery
2022-10-26 00:44:36 -07:00
Dave Chen
1607babd35 kubeadm: print the invalid field when validating bootstrap token discovery
It was saying `discovery.bootstrapToken` is invalid with empty value, while
it is actually `discovery.bootstrapToken.caCertHashes` invalid.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-10-26 13:45:00 +08:00
Kubernetes Prow Robot
d77d28b15f
Merge pull request #113338 from apelisse/swagger-unmarshaljson
Swagger unmarshaljson
2022-10-25 22:38:35 -07:00
Max Smythe
5f0e54eea6 Update vendor directory
Signed-off-by: Max Smythe <smythe@google.com>
2022-10-25 21:06:30 -07:00
Max Smythe
003fbae25b Fix canonical imports
Signed-off-by: Max Smythe <smythe@google.com>
2022-10-25 20:40:27 -07:00
Max Smythe
00ebe0bf62 Make interface for webhook predicates more specific
Signed-off-by: Max Smythe <smythe@google.com>
2022-10-25 17:41:14 -07:00
Max Smythe
b4ee0c0574 Move webhook scoping rules into a predicates directory
Signed-off-by: Max Smythe <smythe@google.com>
2022-10-25 16:28:16 -07:00
Kubernetes Prow Robot
bb12faf15b
Merge pull request #113141 from dobsonj/csi-inline-pod-test-flake
test: remove flaky pod update test in CSIInlineVolumes e2e
2022-10-25 16:26:45 -07:00
Kubernetes Prow Robot
797536fc76
Merge pull request #105867 from VilledeMontreal/feature/compPlugins
Shell completion for plugins
2022-10-25 16:26:34 -07:00
Antoine Pelisse
5be7430fe3 Use Swagger#UnmarshalJSON rather than json.Unmarshal
Since we're now using the experimental json code to deserialize
spec.Swagger, we should rather use UnmarshalJSON since this has a much
lower CPU overhead.
2022-10-25 15:03:33 -07:00
Kubernetes Prow Robot
244c035b87
Merge pull request #110263 from claudiubelu/unittests
unittests: Fixes unit tests for Windows
2022-10-25 14:50:34 -07:00