Преглед на файлове

Switch to StatefulSet resources for stateful components (#8985)

### What problem does this PR solve?

Switch to Kubernetes StatefulSet resources for MySQL, Minio and vector
DB since these are stateful application components. This makes
operations such as helm upgrade smoother since the default container
update strategy becomes a sequential rolling update of each pod.

Also fixes a bug in the name template for the Minio stateful set
resource to align it with the naming convention used for other
components.

### Type of change

- [X] Bug Fix (non-breaking change which fixes an issue)
tags/v0.20.0
Scott Davidson преди 3 месеца
родител
ревизия
509a7fa4dc
No account linked to committer's email address
променени са 5 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 1
    1
      helm/templates/elasticsearch.yaml
  2. 1
    1
      helm/templates/infinity.yaml
  3. 2
    2
      helm/templates/minio.yaml
  4. 1
    1
      helm/templates/mysql.yaml
  5. 1
    1
      helm/templates/opensearch.yaml

+ 1
- 1
helm/templates/elasticsearch.yaml Целия файл

@@ -19,7 +19,7 @@ spec:
storage: {{ .Values.elasticsearch.storage.capacity }}
---
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: {{ include "ragflow.fullname" . }}-es
labels:

+ 1
- 1
helm/templates/infinity.yaml Целия файл

@@ -19,7 +19,7 @@ spec:
storage: {{ .Values.infinity.storage.capacity }}
---
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: {{ include "ragflow.fullname" . }}-infinity
labels:

+ 2
- 2
helm/templates/minio.yaml Целия файл

@@ -19,9 +19,9 @@ spec:
storage: {{ .Values.minio.storage.capacity }}
---
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: ragflow-minio-deployment
name: {{ include "ragflow.fullname" . }}-minio
labels:
{{- include "ragflow.labels" . | nindent 4 }}
app.kubernetes.io/component: minio

+ 1
- 1
helm/templates/mysql.yaml Целия файл

@@ -19,7 +19,7 @@ spec:
storage: {{ .Values.mysql.storage.capacity }}
---
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: {{ include "ragflow.fullname" . }}-mysql
labels:

+ 1
- 1
helm/templates/opensearch.yaml Целия файл

@@ -19,7 +19,7 @@ spec:
storage: {{ .Values.opensearch.storage.capacity }}
---
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: {{ include "ragflow.fullname" . }}-opensearch
labels:

Loading…
Отказ
Запис