Commit Graph

571 Commits

Author SHA1 Message Date
Brian Goff
8de6693460 Don't use globals for API server
Refactors how HTTP servers are started and binds them to objects that
can store the provider rather than relying on a global.
2018-08-20 11:52:54 -07:00
Brian Goff
99e0cfad5c Merge pull request #306 from cpuguy83/metrics
Add support fort kubelet stats summary
2018-08-20 11:37:50 -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
6284757aa1 Add errgroup dep which will be used for ACI stats 2018-08-17 16:55:18 -07:00
Brian Goff
17cc3033ba Update kubelet vendor to pull in stats API 2018-08-17 16:55:18 -07:00
Brian Goff
1e774a32b3 Use standard logging package (#323) 2018-08-17 16:50:24 -07:00
Robbie Zhang
d7f97b9bfc If --taint is specified, set the taint value to empty (#322)
Add the old tolerations the examples to make it backward compatible during the switch
v0.5.1
2018-08-15 17:44:51 -07:00
Brian Goff
b0e5ed758e Merge pull request #320 from Bee-Projects/darwin-support
Fixing the broken build in OSX
v0.5.0
2018-08-15 10:26:49 -07:00
Brian Goff
14339338b8 Fix chart notes template (#317)
Values were moved from env to top level.
2018-08-15 10:26:00 -07:00
ramz
4875364f37 Merge branch 'master' into darwin-support 2018-08-15 15:38:35 +10:00
ageekymonk
662d1f07a8 Darwin specific lookup file without cri and vic 2018-08-15 15:26:10 +10:00
ageekymonk
eb60985bd7 Add darwin tag to not build for osx 2018-08-15 15:25:45 +10:00
Jacob LeGrone
5115c1e5cd Add back deprecated taint flag
TODO: Revert this commit

Related to #316
2018-08-14 17:09:44 -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
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