GoogleContainerTools / GoogleContainerTools/skaffold

logging related memory leak

Open
#8,565 1 comment 0 reactions 0 assignees View on GitHub
area/logging kind/bug priority/p2
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

### Expected behavior
The memory consumption of `skaffold dev` is independent of the amount of logs the deployments produce.

### Actual behavior
Skaffold leaks memory with logging enabled (`--tail=true`, which is the default value) when deploying with `kubectl`. Haven't tried any other deployment methods.

### Information
- Skaffold version: v2.2.0
- Operating system: Ubuntu 22.04.2 Linux 5.19.0-35-generic
- Installed via: skaffold.dev

### Steps to reproduce the behavior
1. clone example skaffold project at: https://github.com/kupsef/skaffold-leak
2. have a default kubernetes cluster configured
3. `skaffold dev`
4. observe the memory consumption of the skaffold process
5. in contrast, try `skaffold dev --tail=false` which has a relatively constant memory usage

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.