https://github.com/usememos/helm
https://github.com/usememos/helm
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/usememos/helm
- Owner: usememos
- Created: 2023-09-10T02:38:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-10T04:07:20.000Z (almost 3 years ago)
- Last Synced: 2024-12-31T05:16:11.696Z (over 1 year ago)
- Language: Smarty
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README-zh.md
Awesome Lists containing this project
README
## 安装方式
示例
```shell
helm install memos .
```
指定`namespace`示例
```shell
helm install memos -n app .
```
## 自定义存储
修改`values.yaml`
```yaml
persistence:
## 如果enabled 为False, 会使用emptyDir, Pod 重建后数据可能丢失, 建议使用持久卷
enabled: false
storageClass: "local"
existPersistClaim: ""
accessMode: ReadWriteOnce
size: 10Gi
```
`enabled` 是 `false` 时默认使用`emptyDir`
1. 如果有已创建的`pvc`, 请修改`enabled`为`true`, 并修改`existPersistClaim`为`pvc`的名字
2. 如果`enabled`为`true`但`existPersistClaim`为空,根据`accessMode`、`storageClass`、`size`创建 pvc