Skip to content

favish/helm-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis Helm chart

Usage

To install as a dependency chart, add the following to your requirements.yaml, or Chart.yaml:

dependencies:
  - name: redis
    repository: https://favish.github.io/helm-redis
    version: 1.1.0

Update the values.yaml for configuration options.

redis:
  image:
    repository: redis
    tag: "4-alpine"
  redisExporter:
    image:
      repository: "oliver006/redis_exporter"
      tag: "v0.14"
  metrics:
    enabled: false
  resources:
    requests:
      cpu: 100m
      memory: 1G
  args: ["--maxmemory 50mb", "--maxmemory-policy allkeys-lfu"]

Do not forget to execute this command to download the dependencies for the main Helm chart.

helm dependency update

NOTE: make sure to pair Redis image version with appropriate Redis metrics export version. Visit https://github.com/oliver006/redis_exporter for more information.

By the way, if you want to use Redis 7, these images should fit:

redis:
  image:
    repository: redis
    tag: "7-alpine"
  redisExporter:
    image:
      repository: "oliver006/redis_exporter"
      tag: "v1.67.0"

Values

Check out values.yaml for all available options.

Contributing

To update the chart, please follow the steps below:

  1. Clone the project
[email protected]:favish/helm-redis.git
  1. Make the changes, note down new version in CHANGELOG.md with the changes and commit them.
  2. Tag new version and push the changes.

Example:

git tag -a 1.1.0 -m "Release 1.1.0"
git push origin 1.1.0

// or
git push origin --tags
  1. Verify new chart version release. Access the gh-pages branch to see the new chart package redis-VERSION.tgz

  2. Draft a new release on GitHub with the new version and attach the chart package.

    1. Visit: https://github.com/favish/helm-redis/releases/new
    2. Choose the tag version you just created.
    3. Release title: put in the version
    4. Content, use following template, replace PREV_VERSION and NEW_VERSION with the actual version numbers.:
    ## What's Changed
    
    - Added values to config Redis image and version.
    - Added values to config Redis Metrics exporter image and version.
    
    **Full Changelog**: https://github.com/favish/helm-redis/compare/PREV_VERSION...NEW_VERSION
    
    1. Click on Publish release

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages