gardener / ops-toolbelt

Useful tools and operations guide for gardener landscapes
Apache License 2.0
15 stars 26 forks source link

trim unnecessary components #40

Closed jfortin-sap-zz closed 4 years ago

jfortin-sap-zz commented 4 years ago

What this PR does / why we need it: Trim unnecessary components to economize 170MB Which issue(s) this PR fixes: Partially addressing #37

Special notes for your reviewer:

Release note:

Trim unnecessary components to economize 170MB
plkokanov commented 4 years ago

Thanks for the PR. @jfortin-sap It seems that the krew tool and ketall also consume a lot of space. Perhaps we can make them optional since there is a command that lets you get all resources in a namspace - kubectl api-resources --verbs=list --namespaced -o name \ | xargs -n 1 kubectl get --show-kind --ignore-not-found -n <namespace>

petersutter commented 4 years ago

/ping @jfortin-sap

gardener-robot commented 4 years ago

@jfortin-sap

Message > /ping @jfortin-sap
jfortin-sap-zz commented 4 years ago

@plkokanov tested/updated. +170MB total savings now, up from 80MB

plkokanov commented 4 years ago

@jfortin-sap thanks

For future usage I would suggest to add a script to install krew similar to how it is done for k9s, but I don't think we need it right now. @petersutter, @jfortin-sap wdyt?

petersutter commented 4 years ago

yes a script would be nice to have, but I agree, we do not need it right away

jfortin-sap-zz commented 4 years ago

@petersutter Done