AKS icon indicating copy to clipboard operation
AKS copied to clipboard

Unable to change metric-resolution of metric-server deployment

Open jasperslot opened this issue 6 years ago • 6 comments

What happened: For monitoring containers cpu/mem actual usage I use the command "kubectl top pods --containers". Unfortunally this has only an update fequency of 60s, I wanted to lower this to for example 30s. To do this I have to change the metric-resolution property of the metric-server, so I tried this by modifying the metric-server deployment, but each time I try it is reverted to the default deployment. How can I change this?

What you expected to happen: Change the metric-resolution property to the value I set.

How to reproduce it (as minimally and precisely as possible): Edit & apply the 'metrics-server' deployment provisioned by AKS by adding "--metric-resolution=30s" tot the metric-server container commands. Like this: containers: - name: metrics-server image: 'mcr.microsoft.com/oss/kubernetes/metrics-server:v0.3.5' command: - /metrics-server - --metric-resolution=30s

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version): v1.15.5
  • Size of cluster (how many worker nodes are in the cluster?) 3

jasperslot avatar May 08 '20 11:05 jasperslot

Action required from @Azure/aks-pm

github-actions[bot] avatar Jul 21 '20 01:07 github-actions[bot]

Action required from @Azure/aks-pm

ghost avatar Jul 26 '20 16:07 ghost

Hi, thanks for your feedback.

AKS does not support the configuration of system components. To ensure the SLOs and Quality of Service it needs control over the parameters of these components as well as to prevent any incorrect configuration that can compromise the cluster.

We'll take this ask into consideration.

palma21 avatar Jul 27 '20 11:07 palma21

+1 on this request. I also need to set the metric-resolution to 30s

Gothic-X avatar Jul 28 '20 01:07 Gothic-X

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

ghost avatar Sep 26 '20 02:09 ghost

This issue will now be closed because it hasn't had any activity for 15 days after stale. jasperslot feel free to comment again on the next 7 days to reopen or open a new issue after that time if you still have a question/issue or suggestion.

ghost avatar Oct 11 '20 07:10 ghost