fix: simplyfy redis, and run staging in standalone mode

This commit is contained in:
Jonas Juselius
2024-06-10 10:01:03 +02:00
parent 50925f3f9e
commit 156da412f3
10 changed files with 31 additions and 81 deletions
@@ -1,4 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- _manifest.yaml
-1
View File
@@ -1 +0,0 @@
bitnami/redis
@@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- nodeport.yaml
- ../base
-17
View File
@@ -1,17 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: prod-redis-nodeport
spec:
externalTrafficPolicy: Cluster
ports:
- name: redis
nodePort: 30379
port: 6379
protocol: TCP
targetPort: 6379
selector:
app.kubernetes.io/instance: prod-redis
app.kubernetes.io/name: redis
sessionAffinity: None
type: NodePort
@@ -1,3 +0,0 @@
resources:
- nodeport.yaml
- ../base
@@ -1,17 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: staging-redis-nodeport
spec:
externalTrafficPolicy: Cluster
ports:
- name: redis
nodePort: 31379
port: 6379
protocol: TCP
targetPort: 6379
selector:
app.kubernetes.io/instance: staging-redis
app.kubernetes.io/name: redis
sessionAffinity: None
type: NodePort
+10 -2
View File
@@ -1,5 +1,13 @@
replica:
replicaCount: 2
architecture: replication
auth:
enabled: true
sentinel: true
password: ""
usePasswordFiles: false
existingSecretPasswordKey: ""
existingSecret: prod-redis
service:
nodePorts:
redis: 30379
+13 -1
View File
@@ -1,5 +1,17 @@
architechture: standalone
replica:
replicaCount: 2
replicaCount: 1
auth:
enabled: true
sentinel: true
password: ""
usePasswordFiles: false
existingSecretPasswordKey: ""
existingSecret: staging-redis
service:
nodePorts:
redis: 31379
-9
View File
@@ -1,9 +0,0 @@
architecture: replication
auth:
enabled: true
sentinel: true
password: ""
existingSecret: ""
existingSecretPasswordKey: ""
usePasswordFiles: false