diff --git a/charts/flowise/BUILD-README.md b/charts/flowise/BUILD-README.md
index 0288e0c..a7b75fd 100644
--- a/charts/flowise/BUILD-README.md
+++ b/charts/flowise/BUILD-README.md
@@ -9,7 +9,7 @@ $ git clone https://github.com/paasup/dip-catalog.git
- 작업 브랜치로 체크아웃
```
-$ git checkout -b update-flowise/3.10.2
+$ git checkout -b update-flowise/6.0.0
```
## 2. helm 차트 버전 업데이트
@@ -23,7 +23,7 @@ $ git checkout -b update-flowise/3.10.2
find . -mindepth 1 \( -name "CUSTOM-README.md" -o -name "BUILD-README.md" -o -name "custom-values.yaml" \) -prune -o -print
# 파일 삭제
- find . -mindepth 1 \(-name "CUSTOM-README.md" -o -name "BUILD-README.md" -o -name "custom-values.yaml" \) -prune -o -exec rm -rf {} +
+ find . -mindepth 1 \( -name "CUSTOM-README.md" -o -name "BUILD-README.md" -o -name "custom-values.yaml" \) -prune -o -exec rm -rf {} +
```
- flowise 차트 다운로드
@@ -36,7 +36,7 @@ $ git checkout -b update-flowise/3.10.2
helm repo update
# helm 차트
- helm pull cowboysysop/flowise --version="3.10.2"
+ helm pull cowboysysop/flowise --version="6.0.0"
# 차트 변경
tar xzvf flowise-*.tgz
@@ -49,28 +49,31 @@ $ git checkout -b update-flowise/3.10.2
- 갱신작업 진행후 commit
```sh
$ git add .
-$ git commit -m "update flowise/3.10.2"
+$ git commit -m "update flowise/6.0.0"
```
- main 브랜치에 체크아웃 후 merge
```sh
$ git checkout main
-$ git merge update-flowise/3.10.2
+$ git merge update-flowise/6.0.0
```
- git에 push 후 작업 브랜치 삭제
```sh
$ git push -u origin main
-$ git branch -d update-flowise/3.10.2
+$ git branch -d update-flowise/6.0.0
```
- git tag 추가 후 push
```sh
-$ git tag flowise/3.10.2
-$ git push origin flowise/3.10.2
+$ git tag flowise/6.0.0
+$ git push origin flowise/6.0.0
```
## 4. 차트 버전 정보
- flowise/3.10.2
- 서비스 배포를 위하여 custom-values.yam에 정의하였다.
- 차트의 빌드 방법과 배포 방법을 BUILD-README.md, CUSTOM-README.md 문서에 작성하였다.
+- flowise/6.0.0
+ - flowise 3.0.3으로 업그레이드
+ - custom-values.yaml에 새롭게 추가된 flowise worker, redis에 대한 설정 추가
\ No newline at end of file
diff --git a/charts/flowise/CUSTOM-README.md b/charts/flowise/CUSTOM-README.md
index 5ff66f2..523ca01 100644
--- a/charts/flowise/CUSTOM-README.md
+++ b/charts/flowise/CUSTOM-README.md
@@ -21,8 +21,13 @@ helm upgrade flowise ./ -f custom-values.yaml --install -n flowise --create-nam
- custom-values.yaml에 정의된 값에 대한 설명이다.
-### 1) Pod 설정
+### 1) Global 설정
+| Name | 설명 | 기본값 |
+| ---------------------- | ------------------------------------------------------------ | ------ |
+| `global.storageClass` | 전역 Storage Class 설정.
모든 PV에서 사용할 기본 Storage Class | `"longhorn"` |
+
+### 2) Pod 설정
| Name | 설명 | 기본값 |
| ---------------------- | ------------------------------------------------------------ | ------ |
@@ -30,14 +35,24 @@ helm upgrade flowise ./ -f custom-values.yaml --install -n flowise --create-nam
| `image.tag` | 이미지 태그 설정 | '0.5.4' |
| `persistence.enabled` | PV의 사용 여부 | 'true' |
| `persistence.size` | PV 용량 | "1Gi" |
-| `persistence.storageClass` | PV 생성 시 사용할 Storage Class | "" |
-| `resources` | Ollama 서버의 시스템 자원 설정.
LLM 모델에 따른 적절한 CPU, Memory 설정이 필요하다. | `custom-values.yaml` 참고 |
+| `persistence.storageClass` | PV 생성 시 사용할 Storage Class | "longhorn" |
+| `resources` | Flowise 서버의 시스템 자원 설정.
적절한 CPU, Memory 설정이 필요하다. | `custom-values.yaml` 참고 |
-### 2) flowise 사용자 설정
+### 3) Worker 설정
-- flowse에서 사용할 사용자 이름/패스워드를 설정한다.
+- flowise worker를 사용하여 백그라운드 작업을 처리할 수 있다.
+
+| Name | 설명 | 기본값 |
+| --------------------- | ------------------------ | --------- |
+| `worker.enabled` | Worker 사용 여부 | `true` |
+| `worker.replicaCount` | Worker 복제본 수 | `1` |
+| `worker.resources` | Worker의 시스템 자원 설정 | `{}` |
+
+### 4) flowise 사용자 설정
+
+- flowise에서 사용할 사용자 이름/패스워드를 설정한다.
| Name | 설명 | 기본값 |
| --------------------- | ------------------------ | --------- |
@@ -46,9 +61,9 @@ helm upgrade flowise ./ -f custom-values.yaml --install -n flowise --create-nam
-### 3) Ingress 설정
+### 5) Ingress 설정
-#### 3.1) tls 시크릿 직접 생성
+#### 5.1) tls 시크릿 직접 생성
- flowise에서 ingress 사용을 위해서는 다음과 같이 설정할 수 있다.
@@ -71,7 +86,7 @@ helm upgrade flowise ./ -f custom-values.yaml --install -n flowise --create-nam
kubectl create secret tls flowise-tls-secret --cert= --key= -n
```
-#### 3.2) cert-manager를 이용한 자동 생성
+#### 5.2) cert-manager를 이용한 자동 생성
- cert manager를 통해 인증서 자동 생성 시 `custom-values.yaml` 수정한다.
- `ingress.annotations.cert-manager.io/cluster-issuer`에 미리 배포된 Cluster Issuer의 이름으로 변경한다.
@@ -80,7 +95,7 @@ helm upgrade flowise ./ -f custom-values.yaml --install -n flowise --create-nam
ingress:
enabled: true
annotations:
- cert-manager.io/cluster-issuer: "selfsigned-issuer"
+ cert-manager.io/cluster-issuer: "root-ca-issuer"
cert-manager.io/duration: 8760h
cert-manager.io/renew-before: 720h
hosts:
@@ -93,7 +108,15 @@ helm upgrade flowise ./ -f custom-values.yaml --install -n flowise --create-nam
secretName: flowise-tls-secret
```
-### 4) Postgresql 설정
+### 6) Redis 설정
+
+- Redis를 사용하여 캐싱 및 세션 관리를 할 수 있다.
+
+| Name | 설명 | 기본값 |
+| --------------------- | ------------------------ | --------- |
+| `redis.enabled` | Redis 사용 여부 | `true` |
+
+### 7) Postgresql 설정
- 내장 postgresql을 사용하여 배포할 수 있다.
- custom-values.yaml
diff --git a/charts/flowise/custom-values.yaml b/charts/flowise/custom-values.yaml
index b9f2091..eec3461 100644
--- a/charts/flowise/custom-values.yaml
+++ b/charts/flowise/custom-values.yaml
@@ -1,3 +1,5 @@
+global:
+ storageClass: "longhorn"
image:
registry: docker.io
@@ -12,10 +14,15 @@ config:
username: flowise
password: flowise
+worker:
+ enabled: true
+ replicaCount: 1
+ resources: {}
+
ingress:
enabled: true
annotations:
- cert-manager.io/cluster-issuer: "selfsigned-issuer"
+ cert-manager.io/cluster-issuer: "root-ca-issuer"
cert-manager.io/duration: 8760h
cert-manager.io/renew-before: 720h
hosts:
@@ -33,5 +40,7 @@ postgresql:
persistence:
enabled: true
size: 8Gi
- storageClass: ""
+redis:
+ enabled: true
+