Commit Graph

90 Commits

Author SHA1 Message Date
Fei Xu
a30303035f Huawei Cloud Provider implementation (#241)
* add huawei CCI provider

* add readme

* add vender

* add huawei provider mock test
2018-06-29 10:21:15 -07:00
Robbie Zhang
e66dbef7fd Merge branch 'master' into ipaddr 2018-06-26 11:30:47 -07:00
Robbie Zhang
e1fa5b03af [Azure] Increase the Default Node Quota for ACI (#240)
* Increase the default quota for ACI provider

* VK update the node capcity

* VK update node IP addresses
2018-06-25 11:08:49 -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
Robbie Zhang
158e1900e7 Merge branch 'master' into ipaddr 2018-06-22 12:57:27 -07:00
pavanagrawal123
1ad6fb434e Typo fix yml -> yaml (#230) 2018-06-22 12:55:57 -07:00
Luca Castellano
197fddf335 Add support for correctly displaying node and pod IP address + fix make clean 2018-06-21 10:18:47 -07:00
Anthony Chu
5286869440 Fix Azure File secret names to match k8s azureFile volume secrets (#224)
https://docs.microsoft.com/en-us/azure/aks/azure-files-volume#create-kubernetes-secret
2018-06-11 14:42:43 -07:00
Loc Nguyen
513cebe7b7 VMware vSphere Integrated Containers provider (#206)
* Add Virtual Kubelet provider for VIC

Initial virtual kubelet provider for VMware VIC.  This provider currently
handles creating and starting of a pod VM via the VIC portlayer and persona
server.  Image store handling via the VIC persona server.  This provider
currently requires the feature/wolfpack branch of VIC.

* Added pod stop and delete.  Also added node capacity.

Added the ability to stop and delete pod VMs via VIC.  Also retrieve
node capacity information from the VCH.

* Cleanup and readme file

Some file clean up and added a Readme.md markdown file for the VIC
provider.

* Cleaned up errors, added function comments, moved operation code

1. Cleaned up error handling.  Set standard for creating errors.
2. Added method prototype comments for all interface functions.
3. Moved PodCreator, PodStarter, PodStopper, and PodDeleter to a new folder.

* Add mocking code and unit tests for podcache, podcreator, and podstarter

Used the unit test framework used in VIC to handle assertions in the provider's
unit test.  Mocking code generated using OSS project mockery, which is compatible
with the testify assertion framework.

* Vendored packages for the VIC provider

Requires feature/wolfpack branch of VIC and a few specific commit sha of
projects used within VIC.

* Implementation of POD Stopper and Deleter unit tests (#4)

* Updated files for initial PR
2018-06-04 15:41:32 -07:00
Fei Xu
8068f3cac8 gofmt the project files (#205) 2018-05-18 16:13:34 -07:00
Ria Bhatia
3fe94966f6 Readme edits (#204)
* adding provider info

* adding readme edits

* test change

* added node selector

* node selector changes

* Update README.md

omg this change

* forgot to commit

* fixed format
2018-05-17 19:46:32 -06:00
Ben Corrie
c6c89f062f CRI Provider implementation (#195)
* First commit of CRI provider. Vendor deps not included

* First commit of CRI provider. Vendor deps not included

* Tidy up comments and format code

* vendor grpc, CRI APIs, update protobuf and tidy logging

* First commit of CRI provider. Vendor deps not included

* Tidy up comments and format code

* vendor grpc, CRI APIs, update protobuf and tidy logging

* Add README

* Fix errors in make test
2018-05-15 08:50:52 -07:00
Kit Ewbank
fc22300b71 [AWS Fargate] Execution role required if CloudWatch log group is specified (#194)
Execution role required if CloudWatch log group is specified.
2018-05-10 10:37:28 -07:00
Robbie Zhang
acf2871edd Update the ACI README.md about Tolerations
Add notice about adding tolerations to the pod which desires to be scheduled to the VK nodes.
2018-05-08 11:32:19 -07:00
Robbie Zhang
28f555e9ba Fix the anchors in the ACI README.md
Use lower-cases in the hash (#)
2018-05-08 11:25:56 -07:00
Onur Filiz
b96181afa8 Fargate: Handle describe failure and log failure reason 2018-05-03 14:22:42 -07:00
Kit Ewbank
23a9d9954f Make Fargate provider in 3 additional AWS regions. 2018-05-01 09:02:32 -04:00
Onur Filiz
831ea837b9 Fargate: Refactor e2e tests and make the region configurable 2018-04-30 17:58:29 -07:00
Onur Filiz
a9dd886840 Fargate: Fix default container memory resource limit 2018-04-30 17:58:29 -07:00
Onur Filiz
cf8af6b360 Fargate: Default to cluster name as virtual node name 2018-04-30 17:58:29 -07:00
Robbie Zhang
f6835d9e89 [Azure] Fix the Resource.Requests/Limits Parsing Issue (#183)
* Fix the Resource.Requests/Limits Parsing Issue

* Do not run test in docker build
2018-04-30 17:21:15 -07:00
Robbie Zhang
228a1f7a5f [Azure] Make Resoures.Limits Optional (#175)
* Make Resources.Limits Optional

* Remove the accuracy check of the resources.limits
2018-04-27 10:27:40 -07:00
Onur Filiz
40f94991c3 Update Fargate provider to use the renamed NodeCondition type 2018-04-26 11:06:42 -07:00
Onur Filiz
7628b62bce Update documentation for initial Fargate release 2018-04-26 11:06:42 -07:00
Onur Filiz
22bafee6a8 Move container log definition to container class 2018-04-26 11:06:42 -07:00
Johannes Würbach
345b53d816 End-to-end tests
End-to-end test for the provider
2018-04-26 11:06:42 -07:00
Johannes Würbach
803b0218c8 Make container logs available
Store and retrieve container logs using Cloudwatch Logs
2018-04-26 11:06:42 -07:00
Johannes Würbach
0a1acbc78e Configurable task execution role
Configurable task execution role
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
2018-04-26 11:06:42 -07:00
Johannes Würbach
bb5dbdbd6e Configurable task role
Configurable task role via `iam.amazonaws.com/role`, which is also used
by kube2iam.
2018-04-26 11:06:42 -07:00
Onur Filiz
e66d36308c Add unit tests for fargate package 2018-04-26 11:06:42 -07:00
Onur Filiz
fcbff0320c Implement Fargate pod and container objects 2018-04-26 11:06:42 -07:00
Onur Filiz
64864ffdab Implement Fargate cluster and client 2018-04-26 11:06:42 -07:00
Onur Filiz
20ceae03f7 Add sample config file and instructions 2018-04-26 11:06:42 -07:00
Onur Filiz
29d2c6295d Add Fargate provider config loader 2018-04-26 11:06:42 -07:00
Onur Filiz
cc25517c73 Implement provider node APIs 2018-04-26 11:06:42 -07:00
Onur Filiz
feb2366e60 Add skeleton Fargate provider 2018-04-26 11:06:42 -07:00
Amit Kumar
71ec511ba0 Adding northeurope as valid region for Azure. (#176)
Per the GA announcement of ACI, northerope is supported as well.
https://azure.microsoft.com/en-us/updates/aci-ga/
2018-04-26 10:22:24 -07:00
Eric Jadi
372451fa32 kubelet now returns PodConditions based on aciState (#147)
Fix for https://github.com/virtual-kubelet/virtual-kubelet/issues/136
2018-04-24 09:37:33 -07:00
Eric Jadi
95f70c084f fix missing aci_region environment variable in Helm command line (#135)
The manual instructions for installation are missing the env.aciRegion variable and will default to "westus", which means it fails if your service principal cannot create container instances there.
2018-04-16 11:45:15 -07:00
Robbie Zhang
2b85b0d1df Fill in Default Values for CPU/Memory (#130)
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
2018-04-16 10:31:16 -07:00
Shane Peckham
88bafc701b Add RBAC support - issue 107 (#128)
* Add RBAC support

* RBAC support issue 107 changes requested
2018-04-13 12:45:25 -07:00
Robbie Zhang
e1b9475511 Add tolerations in the sample pod in README.md
Add the tolerations in the sample pod spec in the README.md
2018-03-29 17:06:14 -07:00
Ria Bhatia
c52369e985 Change azreadme (#121)
* readme update

* adding remove

* console change

* console change2

* structure change
2018-03-23 08:29:18 +08:00
Bhargav Nookala
a8036659e4 Handling dockerconfigjson format for image pull secrets (#120)
The test failure is not related to the change.
2018-03-22 12:04:19 -07:00
Eddie Villalba
1431ad46fd Updated ACI Documentation (#109)
* Updated READ.me

Changed the instructions to use the createCertAndKey.sh file so the execute permissions are applied and added the / to run the shell script. Also commented out the ACI with DNS label instruction until a new version of virtual-kubelet is released that allows this feature.

* Update README.md

had to additional . in createCertAndKey.sh run command to allow for exported environment variables to pass into existing shell
2018-03-08 14:30:10 -08:00
Ria Bhatia
7e74e9c844 Merge pull request #94 from avranju/add-readme
Add readme for web provider
2018-02-26 18:40:13 -08:00
Bhargav Nookala
6f748f4375 Adding support for ACI DNS name labels (#97) 2018-02-23 14:06:23 -08:00
lcastellano
d80dbbe561 Provide method to correctly build Pod Key from names in the mock provider (#99) 2018-02-23 11:31:00 -08:00
Ria Bhatia
6d8b865848 Merge pull request #96 from arapulido/improve_azure_docs
Improve ACI provider documentation
2018-02-21 14:07:30 -08:00
Ara Pulido
3c87000b71 Improve ACI provider documentation based on my experience trying to set it up 2018-02-15 13:32:36 +01:00