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.
For a comprehensive documentation, check out the API documentation.