Commit Graph

34 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
Jeremy Rickard
02a29768e4 Removeenv from secret template (#302) 2018-08-08 10:48:57 -07: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
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
Jeremy Rickard
c3cb96d4d1 Update VK AKS chart to have RBAC. RBAC default = true 2018-07-30 15:25:40 -06: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
Robbie Zhang
a3b00ed436 Copy the new helm charts to the latest (#242) 2018-06-26 11:21:47 -07:00
Ahmed Sabbour
61753060c6 Patch/vk chart namespace (#235)
* Fix the dependency issue

* Changed the charts to accept a namespace variable

* Bumped and regenerated chart. Updated createCert for MacOS

* Moving generated charts up in the folder structure
2018-06-26 10:55:23 -07:00
Robbie Zhang
2e40c52e7b Add NodeSelector to the Helm Chart to Use Linux Node (#146) 2018-04-24 09:25:11 -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
2018-04-19 11:13:52 -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
f6bdcad085 Update the Helm Chart to Mount Directory from Host (#126)
* Update the Helm Chart to Mount Directory from Host

This is a workaround for the mounting file regression k8s 1.8.x

* Change to mount file
2018-04-12 10:22:45 -07:00
Robbie Zhang
3670d9fa20 Update virtual-kubelet-for-aks Helm Chart to Use 'latest' Image (#104) 2018-02-27 10:57:48 -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
Robbie Zhang
3668b0d6b9 Update the virtual-kubelet helm chart package (#70)
* Update the virtual-kubelet helm chart to use 0.2-beta-3 image

* Update the default secret values

* Update the helm package
2018-01-22 15:58:14 -08:00
Rita Zhang
75af445a29 Update deployment 2017-12-20 17:46:29 -08:00
Rita Zhang
f047137819 Add env var for kubelet port and ensure kubelet works without logs 2017-12-20 17:35:10 -08:00
Rita Zhang
b877b56d64 Update deployment and secret 2017-12-20 16:33:12 -08:00
Rita Zhang
bcc5a33098 Mount secret for api server cert and key 2017-12-15 18:35:49 -08:00
Rita Zhang
2c1c925c01 Update chart for deployment 2017-12-15 17:25:19 -08:00
Rita Zhang
97ced5e4bf Update chart deployment 2017-12-15 17:25:18 -08:00
Robbie Zhang
7738ccb30b Update the Helm Chart with the DockerHub Image 2017-12-05 16:26:39 -08:00
Robbie Zhang
37ed82e82c Update the Helm Chart to Support Node Name and Taint 2017-12-05 17:54:13 -06:00
Robbie Zhang
3a0b627892 Update the Helm Chart for Virtual-Kubelet
Add the aciOsType into the chart values
2017-12-05 17:54:09 -06:00
Ria Bhatia
0075e5b0f3 Initial commit 2017-12-05 17:53:58 -06:00