Skip to content

Commit 31e2130

Browse files
Mathieudewetdunglas
authored andcommitted
improve kubernetes documentation (#531)
* improve kubernetes documentation * reference issue
1 parent 5f3989a commit 31e2130

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

deployment/kubernetes.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package manager) chart to deploy in a wink on any of these platforms.
1111

1212
1. Create a Kubernetes cluster on your preferred Cloud provider or install Kubernetes locally on your servers
1313
2. Install [Helm](https://helm.sh/) locally and on your cluster following their documentation
14-
3. Be sure to be connected to the right Kubernetes container
14+
3. Be sure to be connected to the right Kubernetes container e.g. running: `gcloud config get-value core/project`
1515
4. Update the Helm repo: `helm repo update`
1616

1717
## Creating and Publishing the Docker Images
@@ -71,3 +71,19 @@ Before running your application for the first time, be sure to create the databa
7171

7272
PHP_POD=$(kubectl --namespace=bar get pods -l app=php -o jsonpath="{.items[0].metadata.name}")
7373
kubectl --namespace=bar exec -it $PHP_POD -- bin/console doctrine:schema:create
74+
75+
## Tiller RBAC Issue
76+
77+
We noticed that some tiller RBAC trouble occured, you generally can resolve it running:
78+
79+
kubectl create serviceaccount --namespace kube-system tiller
80+
serviceaccount "tiller" created
81+
82+
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
83+
clusterrolebinding "tiller-cluster-rule" created
84+
85+
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
86+
deployment "tiller-deploy" patched
87+
88+
Please, see the [related issue](https://github.com/kubernetes/helm/issues/3130) for further details / informations
89+
You can also take a look to the [related documentation](https://github.com/kubernetes/helm/blob/master/docs/rbac.md)

0 commit comments

Comments
 (0)