mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 20:21:20 +00:00
Stop using named ports in examples and scripts.
This commit is contained in:
@@ -173,7 +173,7 @@ cat <<EOF >"${ORIGIN}/api-service.json"
|
||||
"kind": "Service",
|
||||
"id": "origin-api",
|
||||
"port": 8443,
|
||||
"containerPort": "https-api",
|
||||
"containerPort": 8443,
|
||||
"selector": { "name": "origin" },
|
||||
}
|
||||
EOF
|
||||
@@ -186,7 +186,7 @@ cat <<EOF >"${ORIGIN}/ui-service.json"
|
||||
"kind": "Service",
|
||||
"id": "origin-ui",
|
||||
"port": 8444,
|
||||
"containerPort": "https-ui",
|
||||
"containerPort": 8444,
|
||||
"selector": { "name": "origin" },
|
||||
}
|
||||
EOF
|
||||
|
@@ -2,8 +2,8 @@ apiVersion: v1beta1
|
||||
namespace: rethinkdb
|
||||
kind: Service
|
||||
id: rethinkdb-admin
|
||||
containerPort: admin-port
|
||||
port: 8080
|
||||
containerPort: 8080
|
||||
labels:
|
||||
db: influxdb
|
||||
selector:
|
||||
|
@@ -2,8 +2,8 @@ apiVersion: v1beta1
|
||||
namespace: rethinkdb
|
||||
kind: Service
|
||||
id: rethinkdb-driver
|
||||
containerPort: driver-port
|
||||
port: 28015
|
||||
containerPort: 28015
|
||||
labels:
|
||||
db: influxdb
|
||||
selector:
|
||||
|
Reference in New Issue
Block a user