Coder Social home page Coder Social logo

Comments (2)

pebrc avatar pebrc commented on May 29, 2024
/host/var/lib/kubelet# du -h /host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235
4.0K	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/work/work
8.0K	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/work
4.0K	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs/run/secrets/e2e
4.0K	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs/run/secrets/kubernetes.io/serviceaccount
8.0K	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs/run/secrets/kubernetes.io
16K	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs/run/secrets
20K	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs/run
...
722M	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs/.cache/go-build
722M	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs/.cache
44K	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs/tmp/artefacts
...
760M	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs/tmp/go-build3966496234
761M	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs/tmp
4.0K	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs/etc/e2e
8.0K	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs/etc
1.5G	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235/fs
1.5G	/host/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/235

It looks like two things contribute to ephemeral storage:

  1. the go-build artifacts in /tmp with 761M I don't think this is it because we mount a dedicated volume for that in autopilot e2e tests
  2. the go build cache in .cache with with 722M which goes into the containers filesystem on autopilot as well but it is below the 1Gi limit

from cloud-on-k8s.

pebrc avatar pebrc commented on May 29, 2024

I think the real problem is that the autopilot detection code does not work anymore in 1.26 which meant we were not actually mounting a dedicated volume to /tmp

// isAutopilotCluster will detect whether we are running within an autopilot cluster
// by using the `remotenodes` resource, which only seems to exist on autopilot clusters
// not standard GKE clusters.
func isAutopilotCluster(h *helper) bool {
	_, _, err := h.kubectl("get", "remotenodes")
	return err == nil
}

Verifying this now.

from cloud-on-k8s.

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.