fix: simplyfy redis, and run staging in standalone mode
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- _manifest.yaml
|
||||
@@ -1 +0,0 @@
|
||||
bitnami/redis
|
||||
@@ -1,5 +0,0 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- nodeport.yaml
|
||||
- ../base
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
architecture: replication
|
||||
auth:
|
||||
enabled: true
|
||||
sentinel: true
|
||||
password: ""
|
||||
existingSecret: ""
|
||||
existingSecretPasswordKey: ""
|
||||
usePasswordFiles: false
|
||||
|
||||
Reference in New Issue
Block a user