Skip to content

Commit

Permalink
argocd: add redis-2 on staging (#1864)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKostka authored Nov 25, 2024
1 parent 4066018 commit ea7c027
Show file tree
Hide file tree
Showing 4 changed files with 163 additions and 1 deletion.
60 changes: 60 additions & 0 deletions k8s/argocd/local/redis-2.values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
architecture: replication
auth:
enabled: true
existingSecret: redis-password
existingSecretPasswordKey: password
commonConfiguration: |
# Enable AOF https://redis.io/topics/persistence#append-only-file
appendonly yes
# Disable RDB persistence, AOF persistence already enabled.
save ""
# Control memory usage
maxmemory 50mb
maxmemory-policy volatile-lru
# Auto AOF file rewriting
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 60mb
master:
livenessProbe:
enabled: false
persistence:
accessModes:
- ReadWriteOnce
enabled: true
path: /data
size: 1Gi
storageClass: null
subPath: ""
readinessProbe:
enabled: false
resources:
limits:
cpu: 50m
memory: 90Mi
requests:
cpu: 10m
memory: 62Mi
redisPort: 6379
replica:
livenessProbe:
enabled: false
persistence:
accessModes:
- ReadWriteOnce
enabled: true
path: /data
size: 1Gi
storageClass: null
subPath: ""
readinessProbe:
enabled: false
replicaCount: 1
resources:
limits:
cpu: 50m
memory: 90Mi
requests:
cpu: 10m
memory: 60Mi
sentinel:
enabled: false
51 changes: 51 additions & 0 deletions k8s/argocd/production/redis-2.values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
architecture: replication
auth:
enabled: true
existingSecret: redis-password
existingSecretPasswordKey: password
commonConfiguration: |
# Enable AOF https://redis.io/topics/persistence#append-only-file
appendonly yes
# Disable RDB persistence, AOF persistence already enabled.
save ""
# Control memory usage
maxmemory 75mb
maxmemory-policy volatile-lru
# Auto AOF file rewriting
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 85mb
master:
persistence:
accessModes:
- ReadWriteOnce
enabled: true
path: /data
size: 1Gi
storageClass: premium-rwo
subPath: ""
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 500m
memory: 500Mi
redisPort: 6379
replica:
persistence:
accessModes:
- ReadWriteOnce
enabled: true
path: /data
size: 1Gi
storageClass: premium-rwo
subPath: ""
replicaCount: 1
resources:
limits:
memory: 250Mi
requests:
cpu: 500m
memory: 250Mi
sentinel:
enabled: false
51 changes: 51 additions & 0 deletions k8s/argocd/staging/redis-2.values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
architecture: replication
auth:
enabled: true
existingSecret: redis-password
existingSecretPasswordKey: password
commonConfiguration: |
# Enable AOF https://redis.io/topics/persistence#append-only-file
appendonly yes
# Disable RDB persistence, AOF persistence already enabled.
save ""
# Control memory usage
maxmemory 75mb
maxmemory-policy volatile-lru
# Auto AOF file rewriting
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 85mb
master:
persistence:
accessModes:
- ReadWriteOnce
enabled: true
path: /data
size: 1Gi
storageClass: premium-rwo
subPath: ""
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 500m
memory: 500Mi
redisPort: 6379
replica:
persistence:
accessModes:
- ReadWriteOnce
enabled: true
path: /data
size: 1Gi
storageClass: premium-rwo
subPath: ""
replicaCount: 1
resources:
limits:
memory: 250Mi
requests:
cpu: 500m
memory: 250Mi
sentinel:
enabled: false
2 changes: 1 addition & 1 deletion k8s/helmfile/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ releases:
- name: argocd-config
namespace: argocd
chart: wbstack/argocd-config
version: 1.0.9
version: '{{ if eq .Environment.Name "production" }} 1.0.9 {{ else }} 1.0.10 {{ end }}'
<<: *default_release

- name: redirects
Expand Down

0 comments on commit ea7c027

Please sign in to comment.