Skip to content
This repository has been archived by the owner on Apr 24, 2018. It is now read-only.

Commit

Permalink
Merge pull request #5 from CommercialTribe/develop
Browse files Browse the repository at this point in the history
release
  • Loading branch information
jwaldrip committed Mar 22, 2017
2 parents 9559a81 + db8a358 commit a6deb6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
set -e
kubectl --context="$1" --namespace="$2" apply -Rf=./k8s --force
kubectl --context="$1" --namespace="$2" delete pods -l name=redis-nodes
kubectl --context="$1" --namespace="$2" delete pods -l name=redis-node
4 changes: 2 additions & 2 deletions k8s/redis-node-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
resources:
requests:
cpu: 25m
memory: 50mi
memory: 50Mi
livenessProbe: &healthcheck
exec:
command: [ "redis-cli", "-p", "26379", "ping" ]
Expand All @@ -74,7 +74,7 @@ spec:
resources:
requests:
cpu: 25m
memory: 50mi
memory: 50Mi

volumes:
- name: pod-info
Expand Down

0 comments on commit a6deb6d

Please sign in to comment.