Commit Graph

14 Commits

Author SHA1 Message Date
Jacob LeGrone
d47a0b2fc0 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
Robbie Zhang
5befccd1dd Update the examples to use the general VK node labels (#243) 2018-06-26 11:30:23 -07:00
Lawrence Gripper
d6e8b3daf7 Create a provider to use Azure Batch (#133)
* Started work on provider

* WIP Adding batch provider

* Working basic call into pool client. Need to parameterize the baseurl

* Fixed job creation by manipulating the content-type

* WIP Kicking off containers. Dirty

* [wip] More meat around scheduling simple containers.

* Working on basic task wrapper to co-schedule pods

* WIP on task wrapper

* WIP

* Working pod minimal wrapper for batch

* Integrate pod template code into provider

* Cleaning up

* Move to docker without gpu

* WIP batch integration

* partially working

* Working logs

* Tidy code

* WIP: Testing and readme

* Added readme and terraform deployment for GPU Azure Batch pool.

* Update to enable low priority nodes for gpu

* Fix log formatting bug. Return node logs when container not yet started

* Moved to golang v1.10

* Fix cri test

* Fix up minor docs Issue. Add provider to readme. Add var for vk image.
2018-06-22 16:33:49 -07:00
Ria Bhatia
4b61932ac1 Node label change (#200)
* adding provider info

* adding readme edits

* test change

* added node selector

* node selector changes

* Update README.md

changed a typo

* Update README.md

spacing issue
2018-05-15 08:45:45 -07:00
Robbie Zhang
16299ec867 Update the resources field in the exmaples (#155) 2018-04-24 09:40:10 -07:00
Robbie Zhang
ff0a17f1c5 Update nginx-pod.yaml
Remove the resource request, and let the VK to give a default value.
2018-04-24 09:26:24 -07:00
Robbie Zhang
91ebf2810c Fix the examples (#117) 2018-03-12 15:32:26 -07:00
Ria Bhatia
4a1778ba69 adding nano 2018-03-11 12:50:39 -07:00
Ria Bhatia
c2db856049 add nanoserver 2018-03-11 12:47:18 -07:00
Patrick Lang
077263af25 Fix scheduling for Windows example (#83)
There shouldn't be a nodename selector. That prevents it from working in recent builds configured with `az aks install-connector`
2018-01-31 12:07:37 -08:00
Robbie Zhang
2b68da36ea Add an example for Windows pod
Add iis-pod.yaml to start a Windows pod in ACI
2017-12-27 15:32:05 -08:00
Robbie Zhang
bf32a40668 Update the example to include the tolerations 2017-12-22 14:19:00 -08:00
Erik St. Martin
0dadbd7898 Prefix ACI container groups with namespace name, also fix for container ports in ACI provider 2017-12-05 17:54:07 -06:00
Ria Bhatia
0075e5b0f3 Initial commit 2017-12-05 17:53:58 -06:00