Giter Club home page Giter Club logo

Comments (6)

wrfly avatar wrfly commented on May 30, 2024

emmm,到底是remove mount进去的client,还是重构一下代码,缩减二进制文件大小呢

from container-web-tty.

wrfly avatar wrfly commented on May 30, 2024

反正都挺烦的

from container-web-tty.

wrfly avatar wrfly commented on May 30, 2024

可以尝试重构一下kubernetes的实现,这货太大了,从12M变成了28M。
也可以把go-gin也干掉,毕竟只是一个框架,完全可以用更小的mux替代,gin的优点不明显。
docker的client就留着吧,反正也不大,而且API实现起来比较困难,可以考虑在Makefile中删除不需要的文件,只留下有用的(ls,inspect等)。

尝试把镜像做小。

from container-web-tty.

wrfly avatar wrfly commented on May 30, 2024

需要抓紧了,因为alpine里面挂在进去的docker cli不能用,缺少库

from container-web-tty.

wrfly avatar wrfly commented on May 30, 2024

70fc156

from container-web-tty.

wrfly avatar wrfly commented on May 30, 2024

k8s 的调用的确很烦, 最后是用了一个pipe实现的劫持

from container-web-tty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.