Skip to content

Commit

Permalink
deploy cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Feb 5, 2024
1 parent 04b3ff4 commit a1576f3
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
name: dragonfly
spec:
replicas: 4
resources:
requests:
cpu: 500m
memory: 500Mi
limits:
cpu: 600m
memory: 750Mi
23 changes: 23 additions & 0 deletions kubernetes/teyvat/apps/database/dragonfly-operator/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,26 @@ spec:
interval: 30m
retryInterval: 1m
timeout: 5m
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app dragonfly-cluster
namespace: flux-system
spec:
targetNamespace: database
commonMetadata:
labels:
app.kubernetes.io/name: *app
dependsOn:
- name: dragonfly-operator
path: ./kubernetes/teyvat/apps/database/dragonfly-operator/cluster
prune: true
sourceRef:
kind: GitRepository
name: home-kubernetes
wait: true
interval: 30m
retryInterval: 1m
timeout: 5m

0 comments on commit a1576f3

Please sign in to comment.