<p dir="auto">For example, our builds include the <code class="notranslate">-httptest.serve</code> flag from the <code class="notranslate">net/http/httptest</code> package (pulled in through <code class="notranslate">github.com/stretchr/testify/assert</code>).</p>
<p dir="auto">Files which should probably be excluded from release binaries (but are currently included):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pkg/volume/mock_volume.go
pkg/volume/testing.go
pkg/kubelet/network/testing.go
pkg/kubelet/container/runtime_mock.go
pkg/kubelet/prober/testing.go
pkg/kubelet/cadvisor/cadvisor_mock.go
pkg/kubelet/server/stats/mock_stats_provider.go"><pre class="notranslate"><code class="notranslate">pkg/volume/mock_volume.go
pkg/volume/testing.go
pkg/kubelet/network/testing.go
pkg/kubelet/container/runtime_mock.go
pkg/kubelet/prober/testing.go
pkg/kubelet/cadvisor/cadvisor_mock.go
pkg/kubelet/server/stats/mock_stats_provider.go
</code></pre></div>
<p dir="auto">By default cAdvisor currently gathers stats every 1 second. This is much higher than necessary for most use cases, so we should override the <em>default</em> value to <code class="notranslate">10 seconds</code> in the Kubelet.</p>
<p dir="auto">The flag which needs to be modified is:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--housekeeping-interval=1s: Interval between container housekeepings"><pre class="notranslate"><code class="notranslate">--housekeeping-interval=1s: Interval between container housekeepings
</code></pre></div>
<p dir="auto">/cc @kubernetes/goog-node</p>