Azure / Azure/AKS

[Feature] Configurable log levels for addons

Open
#2,306 74 comments 28 reactions 2 assignees Assigned to @robbiezhang View on GitHub
feature-request
Dominant language
TypeScript
Stars
2.1k
Forks
395
Avg merge
4d 15h
Merged PRs (30d)
14

Description

**What happened**:

To date, the addon pods produce large amounts of logs, even of non-relevant information (for example: level INFO or DEBUG).

It would be desirable, during the cluster deployment phase, to be able to configure, through configMap or another way, the output level of the logs in order to reduce the impact.

Addons that are more relevant (at least for my usage scenario):
* Calico
* CoreDNS
* Kube Proxy
* OMS Agent

Configured in this way, each AKS cluster produces tens of thousands of useless log lines every day. This information becomes relevant only in case of problems but otherwise, it creates only background noise and costs.

**What you expected to happen**:

Define in deploy phase and after with a ConfigMap the desired level of logs for AKS addons.

**How to reproduce it (as minimally and precisely as possible)**:

Not relevant

**Anything else we need to know?**:

Not relevant

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.