k3s/pkg/controller/cloud
Kubernetes Submit Queue 281cb00776
Merge pull request #59939 from dims/avoid-calls-to-cloud-instances-unless-taint-present
Automatic merge from submit-queue (batch tested with PRs 59939, 59830). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Avoid call to get cloud instances

**What this PR does / why we need it**:

if a node does not have the taint, we really don't need to make calls
to get the list of instances from the cloud provider

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:
Found when reviewing code for #59887

**Release note**:

```release-note
NONE
```
2018-02-15 16:43:34 -08:00
..
BUILD Fix scheduler refs in BUILD files. 2018-01-05 15:05:01 -08:00
OWNERS Proposal to add @wlan0 to appropriate owner files 2017-08-17 11:37:51 -07:00
node_controller.go Merge pull request #59939 from dims/avoid-calls-to-cloud-instances-unless-taint-present 2018-02-15 16:43:34 -08:00
node_controller_test.go add node shutdown taint 2018-02-08 12:56:06 +02:00
pvlcontroller.go Add context to all relevant cloud APIs 2018-02-06 12:49:17 -08:00
pvlcontroller_test.go Ensure PVL controller is next pending initializer before labeling the PV 2017-12-04 23:09:11 -05:00