175 Commits

Author SHA1 Message Date
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
v0.3.2 v0.3.1
2018-06-11 14:42:43 -07:00
Robbie Zhang
22a4114890 Add an extra loop when the pod watcher is closed unexpectedly. (#226) 2018-06-11 14:09:16 -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
Ria Bhatia
98a111e8b7 update license to apache 2.0 (#214) 2018-05-30 15:46:04 -07:00
Fei Xu
9c38c1bdfb Add namespace for storeKey in ResourceManager (#211)
* add namespace for storeKey in RM

* fix UT for add namespace
2018-05-29 10:45:03 -07:00
Kit Ewbank
b4cb809968 dep ensure -update k8s.io/client-go (#197) 2018-05-18 16:24:19 -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
v0.3
2018-05-15 08:50:52 -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
Ria Bhatia
41cb3445a8 Readme branch (#199)
* adding provider info

* adding readme edits

* Update README.md

typo fixed
2018-05-14 13:02:26 -07:00
Kit Ewbank
8f6b4b9e20 Fix 'make clean'. (#191) v0.2-rc-2 2018-05-10 10:54:24 -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
f3ebde2533 Add the kubernete.io/hostname label to the VK node (#188) 2018-05-08 12:13:05 -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
Onur Filiz
18adde2aca Merge pull request #181 from ewbankkit/issue-180
Make Fargate provider available in 3 additional AWS regions
2018-05-01 07:53:37 -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 v0.2-rc-1 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
Onur Filiz
2ffd18df9f Update Fargate maintainer info (#179) 2018-04-29 15:02:21 -04:00
Onur Filiz
8d67098d06 Vendor aws-sdk-go (dep ensure) (#178) 2018-04-27 18:18:36 -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
Robbie Zhang
16299ec867 Update the resources field in the exmaples (#155) 2018-04-24 09:40:10 -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
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
2e40c52e7b Add NodeSelector to the Helm Chart to Use Linux Node (#146) 2018-04-24 09:25:11 -07:00
sun
2ad284c98e same point Pod #131 (#150)
* fix same point Pod

* reduce copy
2018-04-24 09:22:58 -07:00
sun
821da1117a fix same point Pod (#131) 2018-04-20 10:27:41 -07:00
Jimmy Xu
38ed39448a [fix-hypercli-vendor] update hypercli dependency to github.com/Azure/go-ansiterm (#134) 2018-04-20 10:18:08 -07:00
Shane Peckham
350bc670a6 Package helm chart for RBAC clusters issue #137 (#138)
* Package helm chart issue #137

* Restoring default virtual-kubelet-0.1.0.tgz
v0.2-beta-11
2018-04-19 11:13:52 -07:00
sun
82e60f7c72 fix secret (#132) 2018-04-18 10:46:46 -07:00