WIP: Implement multi-port Services

This commit is contained in:
Tim Hockin
2015-03-13 08:16:41 -07:00
parent 9ed87612d0
commit 186818d787
70 changed files with 2118 additions and 815 deletions

View File

@@ -8,9 +8,13 @@
}
},
"spec":{
"port":3000,
"containerPort":"http-server",
"protocol":"TCP",
"ports": [
{
"port":3000,
"targetPort":"http-server",
"protocol":"TCP"
}
],
"selector":{
"name":"guestbook"
}

View File

@@ -9,9 +9,13 @@
}
},
"spec":{
"port":6379,
"containerPort":"redis-server",
"protocol":"TCP",
"ports": [
{
"port":6379,
"targetPort":"redis-server",
"protocol":"TCP"
}
],
"selector":{
"name":"redis",
"role":"master"

View File

@@ -9,9 +9,13 @@
}
},
"spec":{
"port":6379,
"containerPort":"redis-server",
"protocol":"TCP",
"ports": [
{
"port":6379,
"targetPort":"redis-server",
"protocol":"TCP"
}
],
"selector":{
"name":"redis",
"role":"slave"