change to S3 compatible distributed storage solution
This commit is contained in:
parent
6e34dc161e
commit
55d0461fa7
@ -1,14 +0,0 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: longhorn-frontend
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- web
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`longhorn.steffenillium.de`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: longhorn-frontend
|
|
||||||
port: 80
|
|
@ -1,64 +0,0 @@
|
|||||||
# Default values for longhorn.
|
|
||||||
# This is a YAML-formatted file.
|
|
||||||
# Declare variables to be passed into your templates.
|
|
||||||
persistence:
|
|
||||||
# -- Replica count of the default Longhorn StorageClass.
|
|
||||||
defaultClassReplicaCount: 1
|
|
||||||
# -- Data locality of the default Longhorn StorageClass. (Options: "disabled", "best-effort")
|
|
||||||
defaultDataLocality: "best-effort"
|
|
||||||
# -- Reclaim policy that provides instructions for handling of a volume after its claim is released. (Options: "Retain", "Delete")
|
|
||||||
reclaimPolicy: Delete
|
|
||||||
# -- Setting that allows you to enable live migration of a Longhorn volume from one node to another.
|
|
||||||
migratable: false
|
|
||||||
# -- Setting that allows you to enable automatic snapshot removal during filesystem trim for a Longhorn StorageClass. (Options: "ignored", "enabled", "disabled")
|
|
||||||
removeSnapshotsDuringFilesystemTrim: enabled
|
|
||||||
|
|
||||||
preUpgradeChecker:
|
|
||||||
# -- Setting that allows Longhorn to perform pre-upgrade checks. Disable this setting when installing Longhorn using Argo CD or other GitOps solutions.
|
|
||||||
jobEnabled: false
|
|
||||||
# -- Setting that allows Longhorn to perform upgrade version checks after starting the Longhorn Manager DaemonSet Pods. Disabling this setting also disables `preUpgradeChecker.jobEnabled`. Longhorn recommends keeping this setting enabled.
|
|
||||||
upgradeVersionCheck: true
|
|
||||||
|
|
||||||
csi:
|
|
||||||
# -- kubelet root directory. When unspecified, Longhorn uses the default value.
|
|
||||||
kubeletRootDir: ~
|
|
||||||
# -- Replica count of the CSI Attacher. When unspecified, Longhorn uses the default value ("3").
|
|
||||||
attacherReplicaCount: 1
|
|
||||||
# -- Replica count of the CSI Provisioner. When unspecified, Longhorn uses the default value ("3").
|
|
||||||
provisionerReplicaCount: 1
|
|
||||||
# -- Replica count of the CSI Resizer. When unspecified, Longhorn uses the default value ("3").
|
|
||||||
resizerReplicaCount: 1
|
|
||||||
# -- Replica count of the CSI Snapshotter. When unspecified, Longhorn uses the default value ("3").
|
|
||||||
snapshotterReplicaCount: 1
|
|
||||||
|
|
||||||
defaultSettings:
|
|
||||||
# -- Endpoint used to access the backupstore. (Options: "NFS", "CIFS", "AWS", "GCP", "AZURE")
|
|
||||||
backupTarget: NFS
|
|
||||||
# -- Setting that allows Longhorn to automatically create a default disk only on nodes with the label "node.longhorn.io/create-default-disk=true" (if no other disks exist). When this setting is disabled, Longhorn creates a default disk on each node that is added to the cluster.
|
|
||||||
createDefaultDiskLabeledNodes: false
|
|
||||||
# -- Default number of replicas for volumes created using the Longhorn UI. For Kubernetes configuration, modify the `numberOfReplicas` field in the StorageClass. The default value is "3".
|
|
||||||
defaultReplicaCount: 1
|
|
||||||
|
|
||||||
systemManagedComponentsNodeSelector: "region:local"
|
|
||||||
|
|
||||||
longhornManager:
|
|
||||||
# -- Node selector for Longhorn Manager. Specify the nodes allowed to run Longhorn Manager.
|
|
||||||
nodeSelector:
|
|
||||||
"region": "local"
|
|
||||||
|
|
||||||
longhornDriverDeployer:
|
|
||||||
# -- Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI.
|
|
||||||
nodeSelector:
|
|
||||||
"region": "local"
|
|
||||||
|
|
||||||
longhornUI:
|
|
||||||
# -- Replica count for Longhorn UI.
|
|
||||||
replicas: 1
|
|
||||||
# -- Node selector for Longhorn UI. Specify the nodes allowed to run Longhorn UI.
|
|
||||||
nodeSelector:
|
|
||||||
"region": "local"
|
|
||||||
|
|
||||||
metrics:
|
|
||||||
serviceMonitor:
|
|
||||||
# -- Setting that allows the creation of a Prometheus ServiceMonitor resource for Longhorn Manager components.
|
|
||||||
enabled: false
|
|
@ -1,18 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
|
|
||||||
namespace: longhorn-system
|
|
||||||
|
|
||||||
components:
|
|
||||||
- ../../components/local-region-selector.yaml
|
|
||||||
|
|
||||||
resources:
|
|
||||||
- base/longhorn-ui-ingress.yaml
|
|
||||||
|
|
||||||
helmCharts:
|
|
||||||
- name: longhorn
|
|
||||||
includeCRDs: true
|
|
||||||
version: 1.6.0
|
|
||||||
releaseName: longhorn
|
|
||||||
repo: https://charts.longhorn.io
|
|
||||||
valuesFile: base/values.yaml
|
|
14
infrastructure/04-minio/base/ui-ingress.yaml
Normal file
14
infrastructure/04-minio/base/ui-ingress.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: minio-frontend
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- web-local
|
||||||
|
- websecure-local
|
||||||
|
routes:
|
||||||
|
- match: Host(`minio.steffenillium.de`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: minio-operator
|
||||||
|
port: http
|
11
infrastructure/04-minio/kustomization.yaml
Normal file
11
infrastructure/04-minio/kustomization.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
namespace: longhorn-system
|
||||||
|
|
||||||
|
components:
|
||||||
|
- ../../components/local-region-selector.yaml
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- base/ui-ingress.yaml
|
||||||
|
- https://github.com/minio/operator
|
Loading…
x
Reference in New Issue
Block a user