Skip to content

Instantly share code, notes, and snippets.

View pohly's full-sized avatar

Patrick Ohly pohly

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pohly
pohly / code.mmd
Last active February 6, 2026 08:26
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pohly
pohly / code.mmd
Last active February 5, 2026 15:04
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

What happened?

pod

  • DATA RACE:

    Write at ...
    Goroutine created at:
      scheduleHandler()
    
  • DATA RACE:

go version go1.20.3 linux/amd64
installing golangci-lint and logcheck plugin from hack/tools into /nvme/gopath/src/k8s.io/kubernetes/_output/local/bin
running env LOGCHECK_CONFIG=/nvme/gopath/src/k8s.io/kubernetes/hack/logcheck.conf /nvme/gopath/src/k8s.io/kubernetes/_output/local/bin/golangci-lint run --config=/nvme/gopath/src/k8s.io/kubernetes/hack/golangci-strict.yaml ./...
build/pause/windows/wincat/wincat.go:55:18: Error return value of `conn.CloseRead` is not checked (errcheck)
conn.CloseRead()
^
build/pause/windows/wincat/wincat.go:67:19: Error return value of `conn.CloseWrite` is not checked (errcheck)
conn.CloseWrite()
^
test/e2e_node/environment/conformance.go:44:10: Error return value of `flag.Set` is not checked (errcheck)
@pohly
pohly / update-release-tools-squash.sh
Created November 10, 2022 14:38
Update script for release-tools in github.com repos
#!/bin/sh -x
die () {
echo >&2 "\nERROR: $@\n"
exit 1
}
FILTER_BRANCH_SQUELCH_WARNING=1
export FILTER_BRANCH_SQUELCH_WARNING
Hello!
I would like to ask for an exception that allows
https://github.com/kubernetes/kubernetes/pull/111023 to be merged into
1.26 after the code freeze.
Enhancement name: dynamic resource allocation
Enhancement status: alpha
SIG: Node, with Scheduling as participating SIG
k/enhancements repo issue #: #3063