Commit Graph

14 Commits

Author SHA1 Message Date
Robbie Zhang
078f4a43f1 Merge from master (#328)
* 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
2018-09-07 18:46:49 -07:00
Brian Goff
ef087bae04 Add supports for stats in ACI provider
This adds a new, optional, interface for providers that want to provide
stats.
2018-08-17 17:03:25 -07:00
Brian Goff
c42b3eceae Use standard logging package (#323) 2018-08-17 16:50:24 -07:00
Jacob LeGrone
71ccade39c Add back deprecated taint flag
TODO: Revert this commit

Related to #316
2018-08-14 17:09:44 -07:00
Jacob LeGrone
75feea1024 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.
2018-08-14 17:09:44 -07:00
Liang Mingqiang
b4b12020b7 bugfix (#307) 2018-08-09 22:03:05 -07:00
Liang Mingqiang
39c6654dd8 read a section of config (#255) 2018-07-31 13:28:42 -07:00
Fei Xu
50ffc04ab2 gofmt the project files (#205) 2018-05-18 16:13:34 -07:00
Erik St. Martin
2ac4136e0c Merge pull request #21 from ritazh/feat-logs
Enable kubectl logs
2018-01-04 10:56:35 -05:00
Ara Pulido
ae7e06aed6 Fixed small typo in arg description 2017-12-29 11:40:36 -08:00
Rita Zhang
5e0f54eb78 Correct typo 2017-12-15 17:25:18 -08:00
Kris Nova
5c5e6adb9e Cleaning up program UX
- Remove toggle flag
- Update version message
- Update README.md with new changes
2017-12-09 06:56:16 -06:00
Brian Ketelsen
899b07c1f4 documentation: cleanup cobra help, add environment and config information to README 2017-12-05 17:54:07 -06:00
Ria Bhatia
eab200124f Initial commit 2017-12-05 17:53:58 -06:00