File tree Expand file tree Collapse file tree 3 files changed +25
-4
lines changed
Expand file tree Collapse file tree 3 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,14 @@ kubectl apply -f addon/efk/
143143
144144** 注意** :运行EFK的每个节点需要消耗很大的CPU和内存,请保证每台虚拟机至少分配了4G内存。
145145
146+ ** Helm**
147+
148+ 用来部署helm。
149+
150+ ``` bash
151+ hack/deploy-helm.sh
152+ ```
153+
146154### Service Mesh
147155
148156我们使用 [ istio] ( https://istio.io ) 作为 service mesh。
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ The container network range is `170.33.0.0/16` owned by flanneld with `host-gw`
4848- Heapster + InfluxDB + Grafana
4949- ElasticSearch + Fluentd + Kibana
5050- Istio service mesh
51+ - Helm
5152
5253#### Setup
5354``` bash
@@ -134,6 +135,14 @@ kubectl apply -f addon/heapster/
134135
135136** Note** : Powerful CPU and memory allocation required. At least 4G per virtual machine.
136137
138+ ** Helm**
139+
140+ Run this command on your local machine.
141+
142+ ``` bash
143+ hack/deploy-helm.sh
144+ ```
145+
137146### Service Mesh
138147
139148We use [ istio] ( https://istio.io ) as the default service mesh.
Original file line number Diff line number Diff line change 11#! /bin/bash
22# Install helm CLI
3- curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh
4- chmod 700 get_helm.sh
5- ./get_helm.sh
6- # Deploy helm to kubernetes
3+ if command -v helm> /dev/null 2>&1 ; then
4+ echo ' Helm has been installed already'
5+ else
6+ echo ' Install helm on your local machine...'
7+ curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh
8+ chmod 700 get_helm.sh
9+ ./get_helm.sh
10+ fi
711kubectl create serviceaccount --namespace kube-system tiller
812kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
913helm init -i jimmysong/kubernetes-helm-tiller:v2.3.1
You can’t perform that action at this time.
0 commit comments