Closed kenits closed 4 years ago
Hi, regarding OnlineCPUs
- this is taken from docker codebase see my comment in code. I'll check and overview your changes probably next week.
Thanks for the effort :)
For the future - kenit's build setup worked perfectly once CGO_ENABLED=0
was added to the go build line(s).
merged
Hello. I propose to make a multiarch docker image for agent. What do you think about that? I made fork and some changes.
and some question about swarmpit/task/stats.go
func calculateCPUPercentUnix(previousCPU, previousSystem uint64, v *types.StatsJSON) float64
CPUStats don't have OnlineCPUs and as I understand always go to in if block
I use manifest-tool to create a single tag for docker image and have some problem with travis and manifest-tool, don't know how to make it work together.
May some test https://hub.docker.com/r/kenits/swarmpit_agent edge? It's build by travis