Skip to content

Redis Cache

### Overview
HostSpace Kubernetes Engine (HKE) provides an enterprise-grade Kubernetes orchestration platform with a focus on automated scaling, monitoring, and high availability. Redis Cache is a popular in-memory data structure store that can be integrated into HKE for efficient caching.
### Key Features/Components
- High-performance in-memory data store
- Support for data structures such as strings, hashes, lists, sets, and more
- Pub/Sub messaging capabilities
- Persistence options for data durability
- Cluster support for scalability
### Step-by-step Instructions or Configuration Details
1. Deploy Redis Cache in HKE using a Redis Helm chart:
```yaml
# Example Helm chart values for Redis deployment
redis:
enabled: true
cluster:
enabled: false
  1. Configure Redis for optimal performance and reliability.

Best Practices and Recommendations

  • Use Redis Cluster mode for scalability.
  • Enable persistence to avoid data loss.
  • Monitor Redis metrics for performance tuning.
  • kubectl get pods - Check Redis pod status
  • kubectl exec -it <pod_name> -- redis-cli - Access Redis CLI

Common Pitfalls and Solutions

:::tip[Next Steps]
- Continue to the next guide or explore related topics
- Schedule a call with us - https://calendly.com/hostspaceng
- Contact [Support](mailto:cloud@hostspace.ng) if you need assistance
:::