kubectl create serviceaccount --namespace kube-system tiller kubectl create clusterrolebinding tiller --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
Helm installs Tiller, and you can get and initiliaze it like this.
curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash helm init
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}' helm init --service-account tiller --upgrade
helm install stable/memcached --name mycache --set replicaCount=3
kubectl get pods NAME READY STATUS RESTARTS AGE mycache-memcached-0 1/1 Running 0 4m mycache-memcached-1 1/1 Running 0 3m mycache-memcached-2 1/1 Running 0 2m
See Exposing a memcache loadbalancer
bruce mcpherson is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at http://www.mcpher.com. Permissions beyond the scope of this license may be available at code use guidelines