++ valkey vk prod
This commit is contained in:
parent
57f3b8bee2
commit
b684295b0d
@ -9,4 +9,5 @@ resources:
|
||||
- ../../../infrastructure/kafka/vk-prod
|
||||
- ../../../infrastructure/cert-manager/vk-prod
|
||||
- ../../../infrastructure/istio-config/vk-prod
|
||||
- ../../../infrastructure/valkey/vk-prod
|
||||
- ../../../infrastructure/camunda/vk-prod
|
||||
|
||||
5
infrastructure/valkey/vk-prod/kustomization.yaml
Normal file
5
infrastructure/valkey/vk-prod/kustomization.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- valkey.yaml
|
||||
6
infrastructure/valkey/vk-prod/namespace.yaml
Normal file
6
infrastructure/valkey/vk-prod/namespace.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: valkey
|
||||
labels:
|
||||
istio-injection: disabled
|
||||
85
infrastructure/valkey/vk-prod/valkey.yaml
Normal file
85
infrastructure/valkey/vk-prod/valkey.yaml
Normal file
@ -0,0 +1,85 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: valkey
|
||||
namespace: valkey
|
||||
spec:
|
||||
interval: 5m
|
||||
timeout: 15m
|
||||
chart:
|
||||
spec:
|
||||
chart: valkey
|
||||
version: "0.1.0"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: yc-oci-charts
|
||||
namespace: flux-system
|
||||
interval: 10m
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
upgrade:
|
||||
remediation:
|
||||
retries: 0
|
||||
remediateLastFailure: false
|
||||
values:
|
||||
fullnameOverride: valkey
|
||||
global:
|
||||
imagePullSecrets:
|
||||
- regcred
|
||||
security:
|
||||
allowInsecureImages: true
|
||||
architecture: replication
|
||||
auth:
|
||||
enabled: true
|
||||
sentinel: true
|
||||
commonConfiguration: |-
|
||||
appendonly yes
|
||||
save ""
|
||||
maxmemory 6gb
|
||||
serviceAccount:
|
||||
create: true
|
||||
automountServiceAccountToken: true
|
||||
rbac:
|
||||
create: true
|
||||
sentinel:
|
||||
enabled: true
|
||||
primarySet: mymaster
|
||||
quorum: 2
|
||||
downAfterMilliseconds: 10000
|
||||
failoverTimeout: 60000
|
||||
automateClusterRecovery: true
|
||||
service:
|
||||
createPrimary: true
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
memory: 256Mi
|
||||
replica:
|
||||
replicaCount: 3
|
||||
automountServiceAccountToken: true
|
||||
podAntiAffinityPreset: hard
|
||||
topologySpreadConstraints:
|
||||
- maxSkew: 1
|
||||
topologyKey: topology.kubernetes.io/zone
|
||||
whenUnsatisfiable: DoNotSchedule
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: valkey
|
||||
app.kubernetes.io/instance: valkey
|
||||
app.kubernetes.io/component: node
|
||||
resources:
|
||||
requests:
|
||||
cpu: "2"
|
||||
memory: 8Gi
|
||||
limits:
|
||||
cpu: "2"
|
||||
memory: 8Gi
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 32Gi
|
||||
storageClass: csi-ceph-ssd-retain
|
||||
metrics:
|
||||
enabled: false
|
||||
Loading…
Reference in New Issue
Block a user