mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 22:53:22 +00:00
WIP: Implement multi-port Services
This commit is contained in:
@@ -8,9 +8,13 @@
|
||||
}
|
||||
},
|
||||
"spec":{
|
||||
"port":80,
|
||||
"containerPort":80,
|
||||
"protocol":"TCP",
|
||||
"ports": [
|
||||
{
|
||||
"port":80,
|
||||
"targetPort":80,
|
||||
"protocol":"TCP"
|
||||
}
|
||||
],
|
||||
"selector":{
|
||||
"name":"frontend"
|
||||
}
|
||||
|
@@ -8,9 +8,13 @@
|
||||
}
|
||||
},
|
||||
"spec":{
|
||||
"port":6379,
|
||||
"containerPort":6379,
|
||||
"protocol":"TCP",
|
||||
"ports": [
|
||||
{
|
||||
"port":6379,
|
||||
"targetPort":6379,
|
||||
"protocol":"TCP"
|
||||
}
|
||||
],
|
||||
"selector":{
|
||||
"name":"redis-master"
|
||||
}
|
||||
|
@@ -8,9 +8,13 @@
|
||||
}
|
||||
},
|
||||
"spec":{
|
||||
"port":6379,
|
||||
"containerPort":6379,
|
||||
"protocol":"TCP",
|
||||
"ports": [
|
||||
{
|
||||
"port":6379,
|
||||
"targetPort":6379,
|
||||
"protocol":"TCP"
|
||||
}
|
||||
],
|
||||
"selector":{
|
||||
"name":"redis-slave"
|
||||
}
|
||||
|
Reference in New Issue
Block a user