chore: switch storagesvc to S3 backend (ngcloud msk-1)
- helm/fission-values.yaml: storageType=s3, bucket=sless-functions, endPoint=https://s3.msk-1.ngcloud.ru - helm/fission-values-pv.yaml: сохранён PV конфиг для быстрого возврата - helm/fission-s3-secret.yaml: credentials (в .gitignore, не в репо) - .gitignore: добавлен helm/fission-s3-secret.yaml Возврат на PV: kubectl delete deploy executor router storagesvc -n fission helm upgrade fission ... -f helm/fission-values-pv.yaml --no-hooks
This commit is contained in:
@@ -19,6 +19,7 @@ console/fission-console
|
|||||||
|
|
||||||
# Secrets / tokens
|
# Secrets / tokens
|
||||||
token.txt
|
token.txt
|
||||||
|
helm/fission-s3-secret.yaml
|
||||||
|
|
||||||
# Test logs
|
# Test logs
|
||||||
test-results/
|
test-results/
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
# Fission helm values — PV (vcd-disk-ext4) backend
|
||||||
|
# Применять: helm upgrade fission fission-charts/fission-all --version 1.22.1 \
|
||||||
|
# -n fission -f helm/fission-values-pv.yaml
|
||||||
|
#
|
||||||
|
# Секретов нет — local storage не требует credentials.
|
||||||
|
# ПЕРЕД upgrade: kubectl delete deploy executor router -n fission
|
||||||
|
|
||||||
|
authentication:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
defaultNamespace: fission-functions
|
||||||
|
|
||||||
|
image: naeel/fission-bundle
|
||||||
|
imageTag: v1.23.0
|
||||||
|
fetcher:
|
||||||
|
image: naeel/fetcher
|
||||||
|
imageTag: v1.23.0
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
storageType: local
|
||||||
|
storageClass: vcd-disk-ext4
|
||||||
|
size: 2Gi
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
|
||||||
|
repository: ""
|
||||||
|
routerServiceType: ClusterIP
|
||||||
|
serviceType: ClusterIP
|
||||||
|
|
||||||
|
analytics: false
|
||||||
@@ -1,9 +1,10 @@
|
|||||||
# Fission helm values — PV (local storage) backend
|
# Fission helm values — S3 backend (ngcloud msk-1)
|
||||||
# Применять: helm upgrade fission fission-charts/fission-all --version 1.22.1 \
|
# Применять: helm upgrade fission fission-charts/fission-all --version 1.22.1 \
|
||||||
# -n fission -f helm/fission-values.yaml
|
# -n fission -f helm/fission-values.yaml -f helm/fission-s3-secret.yaml
|
||||||
#
|
#
|
||||||
# Секретов нет — local storage не требует credentials.
|
# Секреты — в helm/fission-s3-secret.yaml (в .gitignore, не коммитить!)
|
||||||
# При деплое в новый кластер — только этот файл.
|
# Вернуться на PV: -f helm/fission-values-pv.yaml (без s3-secret)
|
||||||
|
# ПЕРЕД upgrade: kubectl delete deploy executor router -n fission
|
||||||
|
|
||||||
authentication:
|
authentication:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -18,10 +19,13 @@ fetcher:
|
|||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
storageType: local
|
storageType: s3
|
||||||
storageClass: vcd-disk-ext4 # сетевой block-device VMware Cloud Director (надёжнее local-path)
|
s3:
|
||||||
size: 2Gi
|
bucketName: sless-functions
|
||||||
accessMode: ReadWriteOnce
|
subDir: fission
|
||||||
|
region: msk-1
|
||||||
|
endPoint: https://s3.msk-1.ngcloud.ru
|
||||||
|
# accessKeyId и secretAccessKey — в fission-s3-secret.yaml
|
||||||
|
|
||||||
repository: ""
|
repository: ""
|
||||||
routerServiceType: ClusterIP
|
routerServiceType: ClusterIP
|
||||||
|
|||||||
Reference in New Issue
Block a user