flexera-cnixon / spotinst-kubernetes-helm-charts

Official repository for all Spotinst Kubernetes Helm Charts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spotinst Kubernetes Helm Charts

The official repository for all Spotinst Kubernetes Helm Charts.

Installing

  1. 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"}}}}'
  1. Add Spotinst's Helm charts repository:
$ helm repo add spotinst https://spotinst.github.io/spotinst-kubernetes-helm-charts
  1. Update information of available charts:
$ helm repo update
  1. 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 a values.yaml file.

Documentation

For a comprehensive documentation, check out the API documentation.

About

Official repository for all Spotinst Kubernetes Helm Charts

License:Apache License 2.0


Languages

Language:Shell 53.8%Language:Makefile 46.2%