tektoncd/cli

Reduce the size of the binary

Open

#2,109 opened on Sep 1, 2023

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Go (269 forks)auto 404
good first issuehelp wantedkind/cleanup

Repository metrics

Stars
 (461 stars)
PR merge metrics
 (PR metrics pending)

Description

As of today, tkn is a very big binary.

$ du bin/tkn
147M	bin/tkn
$ strip bin/tkn
$ du bin/tkn
118M	bin/tkn

We should try to find some ways to reduce the size of it somehow 👼🏼 🙏🏼. Some ideas:

  • Track tektoncd/pipeline deps and understand where we can limit pulling k8s.io ones
  • Have our own "struct" representing the types ? (generated)

Contributor guide