kubernetes-sigs / kube-scheduler-simulator

The simulator for the Kubernetes scheduler
Apache License 2.0
799 stars 138 forks source link

Not trying to load a default kubeconfig when a kubeconfig is passed #345

Closed utam0k closed 8 months ago

utam0k commented 8 months ago

What type of PR is this?

/area simulator /kind cleanup

What this PR does / why we need it:

Before this PR, the simulator attempts to load a default kubeconfig event if a kubeconfig is passed. This PR removes this waste.

Which issue(s) this PR fixes:

Fixes #336

Special notes for your reviewer:

/label tide/merge-method-squash

utam0k commented 8 months ago

/assign @sanposhiho

k8s-ci-robot commented 8 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sanposhiho, utam0k

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/kube-scheduler-simulator/blob/master/OWNERS)~~ [sanposhiho] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment