Mittens should ingest from a file not args
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- go, kubernetes
- Domain
- cli, infrastructure
Research direction
Start with cmd/flags/target.go and trace how target data is currently passed through command arguments. Check how Viper could support file input while retaining the existing argument path. Done means large target data can be read from a file, both input modes are supported, and Kubernetes pod arguments no longer carry the full payload.
Written by the indexing model from the issue text.
Description
Describe the feature
When running in kubernetes at scale, mittens makes the pod objects gigantic. This causes k8s clusters to fail/timeout/delay actions at high scale.
Here is one example of a use-case and how much data flows thru all cluster operators + api server itself.
kubectl -n my-namespace mypod -o yaml | yq .spec.containers[].args |wc -c
133100
Even when not degrading clusters, this leads to high cpu use and in some cases memory use on operators adding cost to operating.
It looks like this: https://github.com/ExpediaGroup/mittens/blob/6446db67687f426805bd178db7b326c39d500116/cmd/flags/target.go#L47 could be dropped in favor of viper and allow both.
Rational
To keep clusters stable when running at high scale with a lot of churn.
Example Scenario
If it applies, use cases where the feature be used.
- Dominant language
- Go
- Stars
- 66
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ExpediaGroup/mittens
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 20/100
ExpediaGroup/mittens#397 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 42/100
ExpediaGroup/mittens#371 ·
-
Log output configuration optionsMay be free again A pull request for this issue was closed without being merged. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ExpediaGroup/mittens#309 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ExpediaGroup/mittens#256 ·
-
More data in logsOpenenhancement
Difficulty 3/5 1-2 days Newbie friendliness 45/100
ExpediaGroup/mittens#203 ·
All issues in ExpediaGroup/mittens
Similar issues
-
mcpx scan: flag unsafe tool namesPossibly taken @zeyadbadawyy claimed this today. Openarea/scan enhancement good first issue priority/medium size/small
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
rohitgollarahalli/mcpx#45 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Mend: dependency security vulnerability
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Windows 主机
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Lee-xeo/Claude-Cage#1550 ·
Maintainers usually reply within 1 day