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:
Piotr Szczesniak
2015-03-18 12:01:58 +01:00
parent 2a9c3080ed
commit ff0316dd71
12 changed files with 20 additions and 18 deletions

View File

@@ -21,7 +21,7 @@
"spec":{
"containers":[
{
"image":"kubernetes/guestbook",
"image":"kubernetes/guestbook:v2",
"name":"guestbook",
"ports":[
{

View File

@@ -30,7 +30,7 @@
"command":[
"sh",
"-c",
"redis-server /etc/redis/redis.conf --slaveof $REDIS_MASTER_SERVICE_HOST $REDIS_MASTER_SERVICE_PORT"
"redis-server /etc/redis/redis.conf --slaveof redis-master 6379"
],
"ports":[
{