first commit

This commit is contained in:
iProbe 2022-10-18 16:59:37 +08:00
commit ba848e218d
1001 changed files with 152333 additions and 0 deletions

View file

@ -0,0 +1,37 @@
#### 创建空白应用
```
helm create helm-demo
```
生成目录结构如下:
```
helm
|--charts
|--Chart.yaml ## helm的基本信息包括版本与名称等
|--templates ## 应用需要的各种kubernetes的相关
| |--deployment.yaml
| |--_helpers.tpl
| |--ingress.yaml
| |--NOTES.txt
| |--service.yaml
|--values.yaml ## 配置文件信息
```
#### 检查语法错误
```
helm lint --strict helm-demo
```
#### 打包文件
```
helm package helm-demo
```
#### 安装测试
```
helm install helm-demo-test helm-demo-0.1.0.tgz
```
#### 映射端口,在本地测试
```
kubectl port-forward helm-demo-test-xxxs2e3e3 8080:80
```