* Add default provider taint and taint configuration options
This allows for more specificity when setting taint tolerations for
workloads. Three new env variables are introduced:
VKUBELET_TAINT_KEY (defaults to `virtual-kubelet.io/provider`)
VKUBELET_TAINT_VALUE (defaults to provider name)
VKUBELET_TAINT_EFFECT (defaults to `NoSchedule`)
BREAKING CHANGES:
- The default taint key of `azure.com/aci` is now
`virtual-kubelet.io/provider`.
- Specifying a custom taint key is now done via an environment variable
rather than the `--taint` command line flag.
* Add back deprecated taint flag
TODO: Revert this commit
Related to #316
* Add darwin tag to not build for osx
* Darwin specific lookup file without cri and vic
* Fix chart notes template (#317)
Values were moved from env to top level.
* If --taint is specified, set the taint value to empty (#322)
Add the old tolerations the examples to make it backward compatible during the switch
* Use standard logging package (#323)
* Update kubelet vendor to pull in stats API
* Add errgroup dep which will be used for ACI stats
* Add supports for stats in ACI provider
This adds a new, optional, interface for providers that want to provide
stats.
* Don't use globals for API server
Refactors how HTTP servers are started and binds them to objects that
can store the provider rather than relying on a global.
* Fix merge conflict
* Fix couple errors
* Update vendor for azure vent support
* Add support for Azure custom vnets.
Use pointers intead of values. This allows the client to pass back
returned data from Azure.
Update k8s client and the dependencies
ACI client change for Mocking
Add ACI Provider Mock Tests
Add the Windows development environment
Add UT for Default Resource Requests
Enable the make test in Docker file
Update the vendors
* Read ACS Credentials for Azure Authentication
Supprt a new environment variable: ACS_CREDENTIAL_LOCATION
Expect the value to be the ACS credential filepath, which is the
/etc/kubernetes/azure.json file generated on the ACS nodes.
If the ACS_CREDENTIAL_LOCATION is specified and loaded,
create the Azure Authentication class from its values.
If the AZURE_AUTHENTICATION_LOCATION is specified and loaded,
its values will overwrite the value above.
Refactor the ACI provider and ACI client to be able to override the SPN by environment variable
This seems to be a common typo, possibly exacerbated by copy-paste
of comment strings. I spotted it in the README.md at first, so I fixed
that and then checked the rest of the code and fixed a few more. They
are all in comments or documentation, so there's no code issue.
FYI, there's still some in the vendor directory, but I haven't fixed
those as they'd get replaced by any new `go get` I think:
$ ack uberentes
vendor/k8s.io/apimachinery/hack/godep-deps.sh
20:# 2. godep restore based on k8s.io/kuberentes provided manifest
vendor/k8s.io/client-go/CHANGELOG.md
120:* Included bug fixes in k8s.io/kuberentes release-1.5 branch, up to
vendor/k8s.io/client-go/kubernetes/fake/register.go
64:// clientsetscheme "k8s.io/client-go/kuberentes/scheme"
vendor/k8s.io/client-go/kubernetes/scheme/register.go
64:// clientsetscheme "k8s.io/client-go/kuberentes/scheme"
Sorry, this isn't the most exciting commit in the world :-(