Skip to content

Instantly share code, notes, and snippets.

@DuaneNielsen
Last active April 29, 2019 02:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DuaneNielsen/abe005f6dcc870faf401ee4861c05a92 to your computer and use it in GitHub Desktop.
Save DuaneNielsen/abe005f6dcc870faf401ee4861c05a92 to your computer and use it in GitHub Desktop.
Install small redis distrib
snap install helm --classic
/snap/bin/helm init
kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
wget https://raw.githubusercontent.com/kubernetes/charts/master/stable/redis/values.yaml
vi values.yaml
#change usePassword: false
helm install stable/redis -n ppo-redis --values values.yaml
helm delete ppo-redis
helm del --purge ppo-redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment