Elana Hashman
b35c500541
Revert "Bump DynamicKubeConfig metric deprecation to 1.23"
2021-11-17 11:48:49 -08:00
Mark Rossetti
ef324d6bbd
Adding kubelet metrics for started and failed to start HostProcess containers
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2021-11-04 14:39:57 -07:00
Kubernetes Prow Robot
cab54856f1
Merge pull request #104933 from vikramcse/automate_mockery
...
conversion of tests from mockery to mockgen
2021-09-30 18:33:21 -07:00
vikram Jadhav
0de4397490
mockery to mockgen conversion
2021-09-25 16:15:08 +00:00
yxxhero
35df409a7e
remove StartedPodsErrorsTotal metrice message
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2021-09-23 22:18:56 +08:00
Elana Hashman
d2ed3b28b7
Revert "revert Bump DynamicKubeConfig metric deprecation to 1.23 by delta update"
2021-08-06 08:38:56 -07:00
kerthcet
980cf85439
revert Bump DynamicKubeConfig metric deprecation to 1.23 by delta update
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-08-02 23:15:10 +08:00
Elana Hashman
b5f24c334e
Bump DynamicKubeConfig metric deprecation to 1.23
2021-07-28 09:29:57 -07:00
Kubernetes Prow Robot
83baa708df
Merge pull request #103429 from saschagrunert/metrics-test-fix
...
Fix resource metrics e2e test
2021-07-08 17:58:53 -07:00
Kubernetes Prow Robot
4d78db54a5
Merge pull request #103580 from tkestack/fix-version-format
...
fix kubelet panic when DynamicKubeletConfig enabled
2021-07-08 14:02:24 -07:00
Kubernetes Prow Robot
7c84064a4f
Merge pull request #99000 from verb/1.21-kubelet-metrics
...
Add kubelet metrics for ephemeral containers
2021-07-08 14:00:55 -07:00
Li Bo
79e230ea21
fix kubelet panic when DynamicKubeletConfig enabled
2021-07-08 16:20:51 +08:00
Kubernetes Prow Robot
8e56a34195
Merge pull request #102966 from SergeyKanzhelev/deprecateDynamicKubeletConfig
...
deprecate and disable by default DynamicKubeletConfig feature flag
2021-07-07 17:05:15 -07:00
Sascha Grunert
2d0f99fba1
Fix resource metrics e2e test
...
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-07-05 11:16:05 +02:00
Sergey Kanzhelev
dffc2a60a2
deprecate and disable by default DynamicKubeletConfig feature flag
2021-07-02 23:53:11 +00:00
sanwishe
43f8f58895
add containers starttime metrics for metrics/resource endpoint
...
Signed-off-by: sanwishe <jiang.mingzhi35@zte.com.cn>
2021-06-24 02:53:21 +08:00
Lee Verberne
30d2ad576a
Remove ManagedPod,ManagedContainer metrics
...
This replaces the generic ManagedPod and ManagedContainer kubelet
metrics with a gauge to track only ephemeral container usage.
2021-06-15 19:02:07 +02:00
pacoxu
650666406e
update kubelet_running_pods metrics comments: pods that have a running pod sandbox
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
Co-authored-by: Elana Hashman <ehashman@users.noreply.github.com>
2021-04-29 11:05:52 +08:00
Lee Verberne
29178fff1c
Add kubelet managed pod metrics
2021-04-13 14:13:30 +02:00
Francesco Romani
1e7bb20c52
kubelet: podresources: per-endpoint metrics
...
Before the addition of GetAllocatableResources, the
podresources API had just one endpoint `List()`, thus we could just
account for the total of the calls to have a good pulse of the API usage.
Now that we extend the API with more endpoints
(`GetAlloctableResources`), in order to improve the observability we add
per-endpoint counters, in addition to the existing counter of the total
API calls.
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-03-09 13:14:58 +01:00
Kubernetes Prow Robot
62bb595cbe
Merge pull request #98627 from jialaijun/migrate_to_structured_logs_5
...
Migrate pkg/kubelet/metrics logs to structured logging.
2021-03-02 15:49:31 -08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
jialaijun
15612338e5
Migrate pkg/kubelet/metrics logs to structured logging.
2021-02-14 09:41:35 +08:00
wawa0210
f28f0953e6
Adjust kubelet_cgroup_manager_duration_seconds bucket
2021-01-19 16:23:14 +08:00
00041544
f2b8fdb265
Define const for metric name
2020-11-30 14:40:26 +08:00
Kubernetes Prow Robot
0e0cc1ead8
Merge pull request #95839 from egernst/pod-usage
...
resource-metrics: add pod/sandbox metrics to endpoint
2020-11-12 19:36:23 -08:00
Alvaro Aleman
801a52c06d
Allow debugging kubelet image pull times
...
This PR changes the buckets of the
kubelet_runtime_operation_duration_seconds metric to be
metrics.ExponentialBuckets(.005, 2.5, 14) in order to
allow debugging image pull times. Right now the biggest bucket is 10
seconds, which is an ordinary time frame to pull an image, making the
metric useless for the aforementioned usecase.
2020-11-11 20:18:36 -05:00
Eric Ernst
8dfc548709
resource-metrics: add pod/sandbox metrics to endpoint
...
Pod metrics may not be the same as the sum of container metrics. Add support for pod specific
metrics to allow for more accurate accounting of resources.
Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2020-11-03 09:57:46 -08:00
Renaud Gaubert
969e45f49f
Add the pod_resources_endpoint_requests_total metric
2020-10-27 11:23:39 -07:00
Marek Siarkowicz
7d309e0104
Move Kubelet Summary API to staging repo
2020-09-22 18:23:28 +02:00
David Ashpole
0ffc149ccc
move dashpole to emeritus in kubelet
2020-09-16 11:52:35 -07:00
RyderXia
b20ceaa85d
regen
2020-07-22 10:53:11 +08:00
RyderXia
d76c2cc94c
update build
2020-07-22 09:36:55 +08:00
RyderXia
2214117cd1
clean up unused var containerCache
2020-07-21 16:57:36 +08:00
RainbowMango
168c695e1a
Update two metrics name to make promlint happy.
2020-06-23 15:16:18 +08:00
Seth Jennings
45d2b98aa8
add sjenning as kubelet approver
2020-06-19 13:00:55 -05:00
Kubernetes Prow Robot
677e8d6871
Merge pull request #86223 from dashpole/owners_changes
...
Add dashpole as kubelet approver
2020-06-18 22:59:58 -07:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
David Ashpole
86192d4b9a
fix cpu resource metric type by changing to counter
2020-03-26 13:30:36 -07:00
Tim Allclair
43c7f3be29
Register RunPodSandbox* metrics
2020-01-28 13:26:11 -08:00
Kubernetes Prow Robot
be26fbc638
Merge pull request #86282 from RainbowMango/pr_refactor_resource_endpoint
...
Refactor kubelet resource metrics
2020-01-14 02:23:09 -08:00
danielqsj
ab182552b4
clean SinceInMicroseconds, convert to SinceInSeconds
2020-01-10 17:05:38 +08:00
danielqsj
1a9b121764
remove deprecated metrics of kubelet
2020-01-10 16:46:52 +08:00
Kubernetes Prow Robot
49bc696614
Merge pull request #86251 from bboreham/pleg-last-seen-metric
...
Kubelet: add a metric to observe time since PLEG last seen
2020-01-06 18:06:18 -08:00
Bryan Boreham
cc0b3e82eb
Kubelet: add a metric to observe time since PLEG last seen
...
Expose the measurement that kubelet uses to judge that "PLEG is
unhealthy". If we can observe the measurement growing then we can
alert before the node goes unhealthy.
Note that the existing metrics PLEGRelistInterval and
PLEGRelistDuration are poor for this, because when relist() gets
stuck they are never updated.
Signed-off-by: Bryan Boreham <bryan@weave.works>
2020-01-03 10:01:27 +00:00
RainbowMango
c394d821fd
Deal with auto-generated files:
...
- Update bazel by hack/update-bazel.sh
2019-12-16 10:27:02 +08:00
RainbowMango
0db7074e1a
Add new endpoint for resource metrics.
2019-12-16 10:26:54 +08:00
David Ashpole
fca84c02bb
add dashpole as kubelet approver
2019-12-12 11:10:24 -08:00
yiyang5055
0f410d625a
change CounterVec to use Counter in the Kubelet's Pod Lifecycle Event Generator
2019-12-11 23:51:28 +08:00