Move from dragonfly operator to dragonfly helm.

This commit is contained in:
Joseph Hanson 2023-08-16 15:33:05 +00:00
parent a7c6e9a8ac
commit 468b06aa8b
6 changed files with 4 additions and 1519 deletions

View file

@ -2,7 +2,7 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: dragonfly-valinor name: dragonfly-mastodon
namespace: fediverse namespace: fediverse
spec: spec:
interval: 30m interval: 30m
@ -35,9 +35,10 @@ spec:
resources: resources:
requests: requests:
cpu: 1000m cpu: 2000m
memory: 6Gi memory: 8Gi
limits: limits:
cpu: 2000m
memory: 8Gi memory: 8Gi
extraArgs: extraArgs:
- --dbfilename=dump - --dbfilename=dump

File diff suppressed because it is too large Load diff

View file

@ -1,6 +0,0 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# Pre Flux-Kustomizations
- ./dragonfly-operator.yaml

View file

@ -1,22 +0,0 @@
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
labels:
app.kubernetes.io/name: dragonfly
app.kubernetes.io/instance: dragonfly-mastodon
app.kubernetes.io/part-of: dragonfly-operator
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/created-by: dragonfly-operator
name: dragonfly-mastodon
spec:
replicas: 1
resources:
requests:
cpu: 2000m
memory: 8Gi
limits:
cpu: 2000m
memory: 8Gi
args:
- --dbfilename=dump
- --save_schedule=*:* # HH:MM glob format