Skip to content

Commit

Permalink
DNM: break kubelet to verify CI
Browse files Browse the repository at this point in the history
This will sanity-check in a much more straight-forward way that the
kubelet built from PRs is what's actually getting tested in CI.

See also
#1805 (comment)
and following.
  • Loading branch information
jlebon committed Mar 5, 2024
1 parent 0c6e8cc commit f5e2382
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmd/kubelet/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,11 @@ package main
import (
"os"

"k8s.io/component-base/cli"
_ "k8s.io/component-base/logs/json/register" // for JSON log format registration
_ "k8s.io/component-base/metrics/prometheus/clientgo" // for client metric registration
_ "k8s.io/component-base/metrics/prometheus/version" // for version metric registration
"k8s.io/kubernetes/cmd/kubelet/app"
)

func main() {
command := app.NewKubeletCommand()
code := cli.Run(command)
os.Exit(code)
os.Exit(1)
}

0 comments on commit f5e2382

Please sign in to comment.