Skip to content

Commit

Permalink
Merge pull request #38 from icowan/master
Browse files Browse the repository at this point in the history
修改部分文件说明
  • Loading branch information
icowan committed Nov 12, 2019
2 parents 7f0560b + 23a8636 commit aa1b750
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN npm install -g gitbook-cli \
RUN mkdir -p /opt/gitbook
COPY ./README.md /opt/gitbook
COPY ./book.json /opt/gitbook
WORKDIR /opt/data
WORKDIR /opt/gitbook
RUN gitbook fetch 3.2.3
#RUN gitbook install mygitalk
#RUN gitbook install donate
Expand Down
6 changes: 6 additions & 0 deletions book.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{

"title": "开普勒云平台使用教程",
"description": "基于Kubernetes的Docker容器应用管理云平台",
"isbn": "019-10-16-191016-0",
"language": "zh-cn",
"direction": "ltr",
"plugins": ["donate", "github", "highlight", "search", "mygitalk", "copy-code-button", "code", "expandable-chapters", "back-to-top-button",
"-sharing", "sharing-plus"],
"pluginsConfig": {
Expand Down
1 change: 1 addition & 0 deletions install/kpaas.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ $ docker pull kplcloud/kplcloud:latest
若您的其他服务都已经准备好了,可以直接执行以下命令在kubernetes上进行部署开普勒云平台。

```bash
$ kubectl apply -f install/kubernetes/kpaas/serviceaccount.yaml
$ kubectl apply -f install/kubernetes/kpaas/configmap.yaml
$ kubectl apply -f install/kubernetes/kpaas/deployment.yaml
$ kubectl apply -f install/kubernetes/kpaas/service.yaml
Expand Down
6 changes: 6 additions & 0 deletions use/app/configmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@

![](http://source.qiniu.cnd.nsini.com/images/2019/08/68/dd/84/20190827-856199f3d35b454184bc6fb9ddc687fc.jpeg)



## 挂载配置文件

除了使用Consul作为配置中心外,您也可以通过挂载文件的方式来实现配置文件的分离。

0 comments on commit aa1b750

Please sign in to comment.