Rewrote guestbook-go example to use kube-dns
This is follow up of #5284. I also built a new kubernetes/guestbook:v2 image.
This commit is contained in:
@@ -71,7 +71,7 @@ func HandleError(result interface{}, err error) (r interface{}) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
pool = simpleredis.NewConnectionPoolHost(os.Getenv("REDIS_MASTER_SERVICE_HOST") + ":" + os.Getenv("REDIS_MASTER_SERVICE_PORT"))
|
||||
pool = simpleredis.NewConnectionPoolHost("redis-master:6379")
|
||||
defer pool.Close()
|
||||
|
||||
r := mux.NewRouter()
|
||||
|
Reference in New Issue
Block a user