mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-19 00:19:14 +00:00
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:
@@ -21,7 +21,7 @@
|
||||
"spec":{
|
||||
"containers":[
|
||||
{
|
||||
"image":"kubernetes/guestbook",
|
||||
"image":"kubernetes/guestbook:v2",
|
||||
"name":"guestbook",
|
||||
"ports":[
|
||||
{
|
||||
|
@@ -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":[
|
||||
{
|
||||
|
Reference in New Issue
Block a user