ec2 node type preferred:
Instance Size | vCPU | Memory (GiB) | Instance Storage (GB) | Networking Performance (Gbps)*** | EBS Bandwidth (Mbps) |
---|---|---|---|---|---|
r5a.large | 2 | 16 | EBS-Only | Up to 10 | Up to 2,880 |
Family: Memory Optimized. R5a instances are well suited for memory intensive applications such as high performance databases, distributed web scale in-memory caches, mid-size in-memory databases, real time big data analytics, and other enterprise applications. Cost: 0.072 per instance per hour for OD - 52.56 USD / month Storage: gp2 SSD based EBS volume - 20 GB (2.28 USD / month)
Redis server replicas: 2 [need to verify if redis helm chart supports a master/slave or a backup replica feature on k8s] - this would also mean two EBS volumes instead of one.
Changes in values file:
architecture: replication master:
nodeSelector:
[node.kubernetes.io/instance-type:](<http://node.kubernetes.io/instance-type:>) r5a.large
persistence:
size: 20 Gi
replica:
nodeSelector:
[node.kubernetes.io/instance-type:](<http://node.kubernetes.io/instance-type:>) r5a.large
persistence:
size: 20 Gi
replicaCount: 4
For monitoring set-up with prometheus-stack, update this in the values file as well:
metrics:
enabled: true
extraArgs:
skip-tls-verification: true
prometheusRule:
enabled: true
namespace: prometheus-46xitb-srgcgk #namespace where Prom Stack is deployed
serviceMonitor:
additionalLabels:
release: my-release #prom stack release name
enabled: true
labels:
release: my-release #prom stack release name
namespace: prometheus-46xitb-srgcgk #namespace where Prom Stack is deployed