Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
osuredis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSU OTDI-managed Helm charts
osuredis
Commits
5ea1678d
Commit
5ea1678d
authored
6 years ago
by
Edward Hicks
Browse files
Options
Downloads
Patches
Plain Diff
went through the redis default config file and added a bunch more
settings
parent
67ced199
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
redis.template.conf
+4
-0
4 additions, 0 deletions
redis.template.conf
templates/redis-ss.yaml
+4
-1
4 additions, 1 deletion
templates/redis-ss.yaml
with
8 additions
and
1 deletion
redis.template.conf
+
4
−
0
View file @
5ea1678d
...
...
@@ -2,9 +2,13 @@ loglevel notice
logfile
/
data
/
redis
.
log
protected
-
mode
no
dir
/
data
port
6379
maxclients
2048
timeout
86400
save
60
1
slave
-
serve
-
stale
-
data
no
repl
-
diskless
-
sync
yes
requirepass
"[[PASSWORD]]"
masterauth
"[[PASSWORD]]"
...
...
This diff is collapsed.
Click to expand it.
templates/redis-ss.yaml
+
4
−
1
View file @
5ea1678d
...
...
@@ -51,8 +51,11 @@ spec:
cat
/templates/redis.template.conf
|
sed
\"
s/
\\
[
\\
[NODEID
\\
]
\\
]/${NODEID}/g
\"
>/data/redis.conf;
cat
/templates/sentinel.template.conf
|
sed
\"
s/
\\
[
\\
[NODEID
\\
]
\\
]/${NODEID}/g
\"
>/data/sentinel.conf;
echo
''
>>/data/redis.conf;
if
[
\"
$NODEID
\"
!=
'0'
];
then
if
[
\"
$NODEID
\"
=
'0'
];
then
echo
'slave-priority
10'
>>/data/redis.conf;
else
rm
-f
dump.rdb;
echo
'slave-priority
100'
>>/data/redis.conf;
echo
'slaveof
osuredis-{{.Values.appName}}-0.{{.Release.Namespace}}.svc.cluster.local
6379'
>>/data/redis.conf;
fi"
volumeMounts
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment