add redis
This commit is contained in:
parent
290e3107ac
commit
d90715a73e
@ -85,3 +85,10 @@ patches:
|
|||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
name: kafka
|
name: kafka
|
||||||
namespace: kafka
|
namespace: kafka
|
||||||
|
- path: ./patches/redis.yaml
|
||||||
|
target:
|
||||||
|
group: helm.toolkit.fluxcd.io
|
||||||
|
version: v2
|
||||||
|
kind: HelmRelease
|
||||||
|
name: redis
|
||||||
|
namespace: redis
|
||||||
|
|||||||
27
clusters/yc-k8s-test/infrastructure/patches/redis.yaml
Normal file
27
clusters/yc-k8s-test/infrastructure/patches/redis.yaml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: redis
|
||||||
|
namespace: redis
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
timeout: 10m
|
||||||
|
values:
|
||||||
|
global:
|
||||||
|
defaultStorageClass: local-path
|
||||||
|
architecture: standalone
|
||||||
|
auth:
|
||||||
|
enabled: true
|
||||||
|
sentinel:
|
||||||
|
enabled: false
|
||||||
|
replica:
|
||||||
|
replicaCount: 0
|
||||||
|
master:
|
||||||
|
count: 1
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 1Gi
|
||||||
|
limits: {}
|
||||||
|
persistence:
|
||||||
|
storageClass: local-path
|
||||||
|
size: 10Gi
|
||||||
@ -8,6 +8,7 @@ resources:
|
|||||||
- local-path-provisioner
|
- local-path-provisioner
|
||||||
- minio
|
- minio
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
- redis
|
||||||
- istio-base
|
- istio-base
|
||||||
- istio-pilot
|
- istio-pilot
|
||||||
- istio-gateway
|
- istio-gateway
|
||||||
|
|||||||
22
infrastructure/redis/base/helmrelease.yaml
Normal file
22
infrastructure/redis/base/helmrelease.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: redis
|
||||||
|
namespace: redis
|
||||||
|
spec:
|
||||||
|
interval: 10m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: redis-contour
|
||||||
|
version: "15.2.2"
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: yc-oci-charts
|
||||||
|
namespace: flux-system
|
||||||
|
interval: 10m
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
upgrade:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
6
infrastructure/redis/base/kustomization.yaml
Normal file
6
infrastructure/redis/base/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: redis
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- helmrelease.yaml
|
||||||
4
infrastructure/redis/base/namespace.yaml
Normal file
4
infrastructure/redis/base/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: redis
|
||||||
4
infrastructure/redis/kustomization.yaml
Normal file
4
infrastructure/redis/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./base
|
||||||
Loading…
Reference in New Issue
Block a user