Skip to content

Commit

Permalink
Merge pull request #38 from hufon/master
Browse files Browse the repository at this point in the history
Fix liveness / readyness check
  • Loading branch information
polefishu authored Apr 1, 2020
2 parents 6507405 + bc06a28 commit a914a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resources/statefulsets/statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func mergeRenameCmds(userCmds []string, systemRenameCmdMap map[string]string) []
}

func redisServerContainer(cluster *redisv1alpha1.DistributedRedisCluster, password *corev1.EnvVar) corev1.Container {
probeArg := "redis-cli -h $(hostname)"
probeArg := "redis-cli -h $(hostname) ping"

container := corev1.Container{
Name: redisServerName,
Expand Down

0 comments on commit a914a8e

Please sign in to comment.