The official repository for all Spotinst Kubernetes Helm Charts.
- Grant Tiller access to create resources in
kube-system
namespace (see: Tiller and Role-based Access Control):
# Create a ServiceAccount for Tiller
$ kubectl create serviceaccount tiller \
--namespace=kube-system
# Create a ClusterRoleBinding
$ kubectl create clusterrolebinding tiller-cluster-rule \
--clusterrole=cluster-admin \
--serviceaccount=kube-system:tiller
# Patch Tiller's Deployment to use `tiller` service account
$ kubectl patch deployment tiller-deploy \
--namespace=kube-system \
--patch='{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
- Add Spotinst's Helm charts repository:
$ helm repo add spotinst https://spotinst.github.io/spotinst-kubernetes-helm-charts
- Update information of available charts:
$ helm repo update
- Install the Spotinst Kubernetes cluster controller:
$ helm install spotinst/spotinst-kubernetes-cluster-controller \
--set spotinst.token=REDACTED \
--set spotinst.account=REDACTED \
--set spotinst.clusterIdentifier=REDACTED
NOTE: Please configure all chart's values using the
set
command line argument or avalues.yaml
file.
If you're new to Spotinst and want to get started, please checkout our Getting Started guide, available on the Spotinst Documentation website.
We use GitHub issues for tracking bugs and feature requests. Please use these community resources for getting help:
- Ask a question on Stack Overflow and tag it with spotinst-kubernetes-helm-charts.
- Join our Spotinst community on Slack.
- Open an issue.
Code is licensed under the Apache License 2.0.