Commit Graph

65 Commits

Author SHA1 Message Date
Robbie Zhang
55bc0c3f75 Add ContainerID into the ContainerStatus (#337) 2018-08-27 15:38:14 -07:00
Ria Bhatia
7442189e77 adding the taint format (#334)
adding the new taint format
2018-08-23 14:09:06 -07:00
Brian Goff
e8abca0ac9 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
1e774a32b3 Use standard logging package (#323) 2018-08-17 16:50:24 -07:00
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
Ameer Deen
9f07768875 Added centralus, eastus2, australiaeast to Azure ACI provide (#310)
* Added centralus, eastus2,  australiaeast to match valid aci regions as [documented](https://azure.microsoft.com/en-gb/global-infrastructure/services/)

* Added ',' to end of array

* Trigger build
2018-08-13 10:27:57 -07:00
Jacob LeGrone
c61687bae0 Update installation instructions 2018-08-06 16:03:34 -04:00
Jacob LeGrone
7391e44b48 Consolidate helm charts
CHANGES:
- Added an appVersion and icon to helm Chart.yaml
- Refactored to use `required` in chart manifests rather than
  outputting an error message in notes
- Namespaced `name` and `fullname` template partials to `vk`
- Enabled rbac apiVersion configuration
- Removed role-binding and service-account suffixes from resource
  names
- Fixed bug where virtual-kubelet service account would not be
  bound to cluster role if chart was installed outside the default
  namespace
- Removed hardcoded `azure` provider

BREAKING CHANGES:
- Virtual-Kubelet specific values previously nested under `env` are
  now declared at the top level of the values file.
- Azure provider configuration values previously nested under `env`
  are now at `providers.azure`
2018-08-06 16:03:33 -04:00
Jeremy Rickard
a1677ce5e0 Update ACI provider to handle empty environment variables (#297) 2018-08-06 10:55:40 -07:00
Robbie Zhang
3f83588e59 Reduce ACI API calls (#282)
* Reduce ACI API calls

Reduce reconcile calls and API calls in reconcile

* Fix the pod status update issue

* Revert a few unnecessary change
2018-07-31 13:31:00 -07:00
Jeremy Rickard
a4d8f74c7d Enabling Liveness and Readiness Probes in ACI Provider (#280)
* Enabling Liveness and Readiness Probes in ACI Provider

* Adding a check to ensure both exec and httpGet are not provided
2018-07-30 13:38:36 -07:00
Rohan Chakravarthy
13fbd5c38e use secure value in ACI for secrets (#276)
* use secure value in ACI for secrets

* add tests for env variable conversion
2018-07-30 11:44:41 -07:00
Rohan Chakravarthy
ef6ae9ecf4 Plumb through log analytics values (#274)
* plumb through log analytics values

* add option to specify a log analytics file as well

* use secret for log analytics
2018-07-25 12:37:26 -07:00
Jake Bjorke
28daffa96f fix type-o in azure provider documentation (#246)
* fix type-o

* corrected type-o where "the" should have been "then"
2018-07-25 12:04:10 -07:00
Rohan Chakravarthy
e41a352d63 add support for log analytics in the ACI SDK 2018-07-24 17:56:38 -07:00
Jeremy Rickard
9b06d18023 ACI Provider: Adding Liveness/Readiness probes to ACI sdk (#267)
* Adding Liveness/Readiness probes to ACI sdk

* Rename Secure to SecureValue

* Slightly modify failure test.

* Remove errant t.Fatal line
2018-07-24 15:08:25 -07:00
Jeremy Rickard
047e5f22db Updating aci api version (#264)
The aci provider is using a quite old version of the
aci API. This PR updates it to the most recent version.

Fixes: #263
2018-07-23 12:12:05 -07:00
Eric Jadi
89921a08c1 Added clean exec functionality + ACI implementation - V2 (#244)
* Stubs and vkubelet changes

* added dependencies

* Azure provider exec implementation

* added missing dependencies

* added vkubelet imports

* added huawei exec stub

* Fixed exec tab functionality / stdin buffer length

* Removed unused import

* Added provider function GetPodFullName + ACI implementation

* Added error handling in ACI provider exec
2018-07-06 14:12:05 -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
pavanagrawal123
1ad6fb434e Typo fix yml -> yaml (#230) 2018-06-22 12:55:57 -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
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
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
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
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
Bhargav Nookala
6f748f4375 Adding support for ACI DNS name labels (#97) 2018-02-23 14:06:23 -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
Bhargav Nookala
a99f2d08c1 Adding supported regions for Azure Provider (#92) 2018-02-14 11:14:20 -08:00
Robbie Zhang
f4ebbfc7a3 [Azure] Optimize VK Setup in ACS/AKS (#85)
* 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
2018-02-13 19:07:27 -08:00
chshou
d23ac6679c append args (#89)
LGTM.
2018-02-08 14:20:35 -08:00
Ria Bhatia
6486f65166 Merge pull request #75 from robbiezhang/imagepullsecrets
Fix the ImagePullSecret for ACI Provider
2018-01-29 10:07:39 -08:00
Ria Bhatia
dadd97de8d Update README.md
changed release notes and added helm init to documentation
2018-01-29 09:58:58 -08:00
Ria Bhatia
45630ed369 Update README.md
adding connector release notes
2018-01-25 20:28:14 -08:00
robbiezhang
4a8d43f736 Fix the ImagePullSecret for ACI Provider 2018-01-26 02:19:25 +00:00
Ria Bhatia
7d47eb1409 Update README.md 2018-01-22 15:26:23 -08:00
chshou
8c0345edcf [Azure] Filters service account secret volume mount for Windows (#60)
* filters the SA secret volume for windows

* make it a map

* bettern go convention
2018-01-22 11:19:53 -08:00
robbiezhang
909819c69d [Azure] Fix the EmptyDir Volume issue for ACI Provider 2018-01-20 02:32:38 +00:00
Ria Bhatia
2ca933fe27 Update README.md
added a warning
2018-01-18 18:27:00 -08:00