longhorn settings

This commit is contained in:
royalcat 2025-03-24 03:58:13 +04:00
parent 01a8f7ca94
commit 321a707f88
3 changed files with 4477 additions and 4414 deletions

View file

@ -1,3 +1,24 @@
# Source: longhorn/templates/default-setting.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: longhorn-default-setting
namespace: longhorn-system
labels:
app.kubernetes.io/name: longhorn
helm.sh/chart: longhorn-1.8.0
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.8.0
data:
default-setting.yaml: |-
default-data-path: /var/lib/longhorn/
storage-minimal-available-percentage: 10
storage-reserved-percentage-for-default-disk: 10
default-replica-count: 2
default-data-locality: best-effort
priority-class: longhorn-critical
disable-revision-counter: true
---
# Source: longhorn/templates/default-setting.yaml
apiVersion: v1
@ -16,7 +37,24 @@ data:
default-data-path: /var/lib/longhorn/
storage-minimal-available-percentage: 10
storage-reserved-percentage-for-default-disk: 10
default-replica-count: 1
default-replica-count: 2
default-data-locality: best-effort
priority-class: longhorn-critical
disable-revision-counter: true
---
# Source: longhorn/templates/default-resource.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: longhorn-default-resource
namespace: longhorn-system
labels:
app.kubernetes.io/name: longhorn
helm.sh/chart: longhorn-1.8.0
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: longhorn
app.kubernetes.io/version: v1.8.0
data:
default-resource.yaml: |-
backup-target: s3://cloud-cluster-longhorn-backup@us-east-1/
backup-target-credential-secret: oracle-cloud-secret

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,10 @@
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: oracle-cloud-secret
namespace: longhorn-system
stringData:
AWS_ENDPOINTS: https://frzrgoghscrn.compat.objectstorage.eu-frankfurt-1.oraclecloud.com
AWS_ACCESS_KEY_ID: f3576bd8664ca8da586eff1a882cacbdf8edf3f9
AWS_SECRET_ACCESS_KEY: aPfDbeycpDITsPjFKmr2FVb5TbIuZoo/E5LsB0m/57c=