This makes it possible to securely store the access token in a file and
load it into the cloud provider from there.
Document DigitalOcean's cloud config format while we are here.
An initial version of the DigitalOcean cloud provider implementation
relied on tags to define the behavior but has since been transitioned to
using the public DOKS API. Update the README accordingly.
If the API is temporarily unavailable, cluster-autoscaler will be
crash-looping on startup during the initial call to Refresh(). This
makes for a bad user/operator experience since it aggravates
differentiating between API and cluster/workload problems.
Let autoscaler start up and retry fetching node pool information from
the API as part of the pre-existing, periodic sync. This should be no
different to experiencing transient API problems during runtime.
This is the first step of implementing
https://github.com/kubernetes/autoscaler/issues/3583#issuecomment-743215343.
New method was added to cloudprovider interface. All existing providers
were updated with a no-op stub implementation that will result in no
behavior change.
The config values specified per NodeGroup are not yet applied.
The following things changed in scheduler and needed to be fixed:
* NodeInfo was moved to schedulerframework
* Some fields on NodeInfo are now exposed directly instead of via getters
* NodeInfo.Pods is now a list of *schedulerframework.PodInfo, not *apiv1.Pod
* SharedLister and NodeInfoLister were moved to schedulerframework
* PodLister was removed
The `godo/util` package is not used and wasn't changed during vendoring
of the godo package. Seems like Travis didn't picked up this in the
initial PR. Let's remove the `util/` folder as it's not needed and also
add a documentation to list the changes we need to make in the `godo`
package.