Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
k8s-develop-local
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
system
k8s-develop-local
Commits
0e5f4890
Commit
0e5f4890
authored
Oct 31, 2018
by
胡凯旋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme helm...
parent
17a8c5b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
README.md
README.md
+26
-0
No files found.
README.md
View file @
0e5f4890
...
...
@@ -144,3 +144,29 @@ kubectl replace --force -f deploy/backend-service.yml # 更改了哪个服务
3.
测试
## NEXT -- Helm
为了之后能够使用 gm-cli 更方便地进行本地环境的搭建与开发,需要安装配置helm
```
# 用 homebrew 安装 Helm
$ brew install kubernetes-helm
# 初始化本地 CLI 并 将 Tiller 安装到 Kubernetes cluster
$ helm init
```
以MySQL的部署和删除为例简单介绍一下使用:
```
# 更新本地 charts repo
$ helm repo update
# 安装 mysql chart
$ helm install --name my-mysql stable/mysql
# 删除 mysql
$ helm delete my-mysql
# 删除 mysql 并释放该名字以便后续使用
$ helm delete --purge my-mysql
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment