Commit Graph

858 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
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
Brian Goff
81b12bad22 Merge pull request #308 from KnicKnic/dual
Fix to build virtual-kubelet in windows
2018-08-10 11:41:11 -07:00
Liang Mingqiang
be77566e4b bugfix (#307) 2018-08-09 22:03:05 -07:00
Nick Maliwacki
76ee2c13e7 Merge branch 'master' into dual 2018-08-09 18:33:58 -07:00
Nick Maliwacki
bf02f887f0 Fix to build virtual-kubelet in windows 2018-08-09 18:31:35 -07:00
Jeremy Rickard
02a29768e4 Removeenv from secret template (#302) 2018-08-08 10:48:57 -07:00
Jeremy Rickard
a00a88818b Merge pull request #289 from mattrowmsft/patch-1
Update README.md
2018-08-07 10:51:14 -06:00
Jeremy Rickard
4b3e71ff39 Merge branch 'master' into patch-1 2018-08-07 10:46:45 -06:00
Jeremy Rickard
774a963508 Merge pull request #258 from jlegrone/feature/consolidate-chart
Consolidate helm charts
2018-08-07 10:46:17 -06:00
Jeremy Rickard
0929376f9c Merge branch 'master' into patch-1 2018-08-07 08:51:41 -06:00
Jacob LeGrone
5500055558 Add back vk-for-aks 2018-08-06 17:42:37 -04:00
Jacob LeGrone
9bf226d02e Do not require tenant, subscription, or client IDs for AKS deployments 2018-08-06 16:06:40 -04:00
Jacob LeGrone
c61687bae0 Update installation instructions 2018-08-06 16:03:34 -04:00
Jacob LeGrone
1f23e90e7d Install RBAC bindings by default 2018-08-06 16:03:34 -04:00
Jacob LeGrone
123a1b37c2 Require ACI region/resource group only for non-AKS deployments 2018-08-06 16:03:34 -04:00
Jacob LeGrone
6d8493d9ec Switch nodeName to nodeSelector 2018-08-06 16:03:33 -04:00
Jacob LeGrone
cdb56fcb2a Add standard helm labels to resources 2018-08-06 16:03:33 -04:00
Jacob LeGrone
52308c3cba Roll deployment when secret contents updated 2018-08-06 16:03:33 -04:00
Jacob LeGrone
845cefe419 Add helm test
Usage: helm test <release-name> --cleanup
2018-08-06 16:03:33 -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
Matt Trower
0b475e8dce Merge branch 'master' into patch-1 2018-08-06 10:32:56 -06:00
Brian Goff
3cde08b825 Merge pull request #298 from cpuguy83/ci_validate_vendor
Update dep validation to only check the vendor dir
2018-08-03 21:27:09 -07:00
Brian Goff
f31b8245e7 Update dep validation to only check the vendor dir
This helps make sure that different versions of dep don't give different
results.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2018-08-03 21:22:38 -07:00
Brian Goff
f8609cfadc Merge pull request #294 from jeremyrickard/update-azure-go-sdk
Update dependencies to add service fabric mesh via new azure-sdk-go
2018-08-03 21:22:31 -07:00
Jeremy Rickard
a163bde2af Updated with a new version of dep 2018-08-03 18:02:57 -06:00
Jeremy Rickard
bb9e7346c5 Merge branch 'master' into update-azure-go-sdk 2018-08-03 16:56:49 -06:00
Jeremy Rickard
7dafa29db9 Merge pull request #293 from cpuguy83/ci_validate_vendor
Validate deps in CI
2018-08-03 16:56:05 -06:00
Jeremy Rickard
6d089bcf11 Merge branch 'master' into ci_validate_vendor 2018-08-03 16:55:53 -06:00
Deep Kapur
7e7947cd3d fixing a minor typo (#290)
* fixing a minor typo

* Update README.md
2018-08-03 15:13:36 -07:00
Brian Goff
a1f46e7f04 Validate deps in CI 2018-08-03 13:33:46 -07:00
Jeremy Rickard
e651e61f5b Merge branch 'master' into update-azure-go-sdk 2018-08-03 14:14:00 -06:00
Onur Filiz
9e55d2ee98 Fargate: Add environment variable support 2018-08-03 12:00:41 -07:00
Onur Filiz
4efc61d1ae Fargate: Add stubs for new provider APIs 2018-08-03 12:00:41 -07:00
Jeremy Rickard
636b4120f1 Update dependencies to add service fabric mesh via new azure-sdk-go 2018-08-03 11:57:00 -06:00
Matt Trower
3b1986c71f Update README.md
Changed wording around Mesh to remove cluster which doesn't exist in SFM world.
2018-08-02 16:26:28 -07:00
Jeremy Rickard
bcea8b955b Merge pull request #285 from yaron2/sfmesh-branch
Added Service Fabric Mesh provider
2018-08-02 16:06:45 -06:00
Yaron Schneider
1fee49eb06 Merge branch 'master' into sfmesh-branch 2018-08-01 17:24:45 -07:00
yaron2
fac77abdfa added basic tests 2018-08-01 17:23:49 -07:00
Jeremy Rickard
bf014c1c7e Add certificate generation to Helm charts (#286)
Signed-off-by: Jeremy Rickard <jeremy.rickard@microsoft.com>
2018-08-01 16:54:17 -07:00
yaron2
1ee747cb6f assigned subscriptionID to provider 2018-08-01 16:25:47 -07:00
yaron2
fdb2c29ea3 removed redundant memory assignment 2018-08-01 16:23:22 -07:00
yaron2
ebdb9257a0 spaces fix 2018-08-01 15:17:00 -07:00
yaron2
36db5d9583 added Service Fabric Mesh provider 2018-07-31 16:00:56 -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
Liang Mingqiang
f9c7af5ec9 read a section of config (#255) 2018-07-31 13:28:42 -07:00
Jeremy Rickard
3e1beb3d92 Merge pull request #281 from jeremyrickard/aks-chart-rbac
Update VK AKS chart to have RBAC resources
2018-07-31 07:30:38 -06:00
Jeremy Rickard
0c51f2cffe Merge branch 'master' into aks-chart-rbac 2018-07-30 15:26:20 -06:00
Jeremy Rickard
c3cb96d4d1 Update VK AKS chart to have RBAC. RBAC default = true 2018-07-30 15:25:40 -06:00