Moving storageclasses to localhostpath until 1.8 so I can use Nvidia again.
This commit is contained in:
parent
4a38b318ed
commit
d73db0bd66
25 changed files with 121 additions and 47 deletions
|
@ -12,7 +12,7 @@ spec:
|
|||
app.kubernetes.io/name: *app
|
||||
dependsOn:
|
||||
- name: external-secrets-stores
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
- name: volsync
|
||||
path: ./kubernetes/apps/home-automation/home-assistant/app
|
||||
prune: true
|
||||
|
|
|
@ -11,7 +11,7 @@ spec:
|
|||
labels:
|
||||
app.kubernetes.io/name: *app
|
||||
dependsOn:
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
- name: volsync
|
||||
path: ./kubernetes/apps/home-automation/matter-server/app
|
||||
prune: true
|
||||
|
|
9
.archive/kubernetes/openebs-system/kustomization.yaml
Normal file
9
.archive/kubernetes/openebs-system/kustomization.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
# Pre Flux-Kustomizations
|
||||
- ./namespace.yaml
|
||||
# Flux-Kustomizations
|
||||
- ./openebs/ks.yaml
|
8
.archive/kubernetes/openebs-system/namespace.yaml
Normal file
8
.archive/kubernetes/openebs-system/namespace.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: openebs-system
|
||||
annotations:
|
||||
kustomize.toolkit.fluxcd.io/prune: disabled
|
||||
volsync.backube/privileged-movers: "true"
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: openebs-zfs
|
||||
spec:
|
||||
interval: 30m
|
||||
chart:
|
||||
spec:
|
||||
chart: zfs-localpv
|
||||
version: 2.6.0
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: openebs-zfs
|
||||
namespace: flux-system
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
upgrade:
|
||||
cleanupOnFail: true
|
||||
remediation:
|
||||
retries: 3
|
||||
uninstall:
|
||||
keepHistory: false
|
||||
values:
|
||||
zfsNode:
|
||||
encrKeysDir: /var/openebs/keys
|
||||
crds:
|
||||
csi:
|
||||
volumeSnapshots:
|
||||
enabled: false
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./helmrelease.yaml
|
21
.archive/kubernetes/openebs-system/openebs/ks.yaml
Normal file
21
.archive/kubernetes/openebs-system/openebs/ks.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: &app openebs
|
||||
namespace: flux-system
|
||||
spec:
|
||||
targetNamespace: openebs-system
|
||||
commonMetadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: *app
|
||||
path: ./kubernetes/apps/openebs-system/openebs/app
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: homelab
|
||||
wait: false
|
||||
interval: 30m
|
||||
retryInterval: 1m
|
||||
timeout: 5m
|
|
@ -9,7 +9,7 @@ spec:
|
|||
targetNamespace: cdi
|
||||
dependsOn:
|
||||
- name: kubevirt
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
path: ./deploy
|
||||
prune: true
|
||||
sourceRef:
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
name: homelab
|
||||
wait: false
|
||||
dependsOn:
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
- name: volsync
|
||||
- name: external-secrets-stores
|
||||
postBuild:
|
||||
|
|
|
@ -16,7 +16,7 @@ spec:
|
|||
kind: GitRepository
|
||||
name: homelab
|
||||
dependsOn:
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
- name: volsync
|
||||
wait: false
|
||||
interval: 30m
|
||||
|
|
|
@ -13,7 +13,7 @@ spec:
|
|||
dependsOn:
|
||||
- name: crunchy-postgres-operator
|
||||
- name: external-secrets-stores
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
path: ./kubernetes/apps/default/radarr/app
|
||||
prune: true
|
||||
sourceRef:
|
||||
|
|
|
@ -12,7 +12,7 @@ spec:
|
|||
app.kubernetes.io/name: *app
|
||||
dependsOn:
|
||||
- name: external-secrets-stores
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
- name: volsync
|
||||
path: ./kubernetes/apps/default/sabnzbd/app
|
||||
prune: true
|
||||
|
|
|
@ -14,7 +14,7 @@ spec:
|
|||
- name: crunchy-postgres-operator
|
||||
- name: external-secrets-stores
|
||||
- name: volsync
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
path: ./kubernetes/apps/default/sonarr/app
|
||||
prune: true
|
||||
sourceRef:
|
||||
|
|
|
@ -16,7 +16,7 @@ spec:
|
|||
kind: GitRepository
|
||||
name: homelab
|
||||
dependsOn:
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
- name: volsync
|
||||
wait: false
|
||||
interval: 30m
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
name: homelab
|
||||
wait: true
|
||||
dependsOn:
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
- name: volsync
|
||||
- name: external-secrets-stores
|
||||
postBuild:
|
||||
|
|
|
@ -8,7 +8,7 @@ metadata:
|
|||
spec:
|
||||
targetNamespace: kubevirt
|
||||
dependsOn:
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
path: ./deploy
|
||||
prune: true
|
||||
sourceRef:
|
||||
|
|
|
@ -12,7 +12,7 @@ spec:
|
|||
app.kubernetes.io/name: *app
|
||||
dependsOn:
|
||||
- name: external-secrets-stores
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
- name: volsync
|
||||
path: ./kubernetes/apps/observability/kube-prometheus-stack/app
|
||||
prune: true
|
||||
|
|
|
@ -12,7 +12,7 @@ spec:
|
|||
app.kubernetes.io/name: *app
|
||||
dependsOn:
|
||||
- name: external-secrets-stores
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
- name: vector
|
||||
path: ./kubernetes/apps/observability/loki/app
|
||||
prune: true
|
||||
|
|
|
@ -12,7 +12,7 @@ spec:
|
|||
app.kubernetes.io/name: *app
|
||||
dependsOn:
|
||||
- name: external-secrets-stores
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
- name: dragonfly-operator
|
||||
path: ./kubernetes/apps/observability/thanos/app
|
||||
prune: true
|
||||
|
|
|
@ -3,16 +3,16 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: openebs-zfs
|
||||
name: openebs
|
||||
spec:
|
||||
interval: 30m
|
||||
chart:
|
||||
spec:
|
||||
chart: zfs-localpv
|
||||
version: 2.6.0
|
||||
chart: openebs
|
||||
version: 4.0.1
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: openebs-zfs
|
||||
name: openebs
|
||||
namespace: flux-system
|
||||
install:
|
||||
remediation:
|
||||
|
@ -20,13 +20,34 @@ spec:
|
|||
upgrade:
|
||||
cleanupOnFail: true
|
||||
remediation:
|
||||
strategy: rollback
|
||||
retries: 3
|
||||
uninstall:
|
||||
keepHistory: false
|
||||
values:
|
||||
zfsNode:
|
||||
encrKeysDir: /var/openebs/keys
|
||||
crds:
|
||||
localpv-provisioner:
|
||||
localpv:
|
||||
image:
|
||||
registry: quay.io/
|
||||
repository: openebs/provisioner-localpv
|
||||
hostpathClass:
|
||||
name: openebs-hostpath
|
||||
isDefaultClass: true
|
||||
openebs-crds:
|
||||
csi:
|
||||
volumeSnapshots:
|
||||
enabled: false
|
||||
keep: false
|
||||
zfs-localpv:
|
||||
enabled: false
|
||||
lvm-localpv:
|
||||
enabled: false
|
||||
mayastor:
|
||||
enabled: false
|
||||
engines:
|
||||
local:
|
||||
lvm:
|
||||
enabled: false
|
||||
zfs:
|
||||
enabled: false
|
||||
replicated:
|
||||
mayastor:
|
||||
enabled: false
|
||||
|
|
|
@ -19,26 +19,3 @@ spec:
|
|||
interval: 30m
|
||||
retryInterval: 1m
|
||||
timeout: 5m
|
||||
---
|
||||
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: &app openebs-cluster
|
||||
namespace: flux-system
|
||||
spec:
|
||||
targetNamespace: openebs-system
|
||||
commonMetadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: *app
|
||||
path: ./kubernetes/apps/openebs-system/openebs/cluster
|
||||
dependsOn:
|
||||
- name: openebs
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: homelab
|
||||
wait: false
|
||||
interval: 30m
|
||||
retryInterval: 1m
|
||||
timeout: 5m
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
name: homelab
|
||||
wait: true
|
||||
dependsOn:
|
||||
- name: openebs-cluster
|
||||
- name: openebs-system
|
||||
- name: volsync
|
||||
- name: external-secrets-stores
|
||||
postBuild:
|
||||
|
|
Loading…
Reference in a new issue