Skip to content

Commit

Permalink
Merge pull request kubernetes#4937 from thockin/plural_23_endpoints
Browse files Browse the repository at this point in the history
Stop using named ports in examples and scripts.
  • Loading branch information
brendandburns committed Mar 2, 2015
2 parents 843fa71 + e0e6741 commit 9f7b78b
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cluster/addons/fluentd-elasticsearch/es-service.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1beta1
kind: Service
id: elasticsearch-logging
containerPort: es-port
port: 9200
containerPort: 9200
labels:
name: elasticsearch-logging
kubernetes.io/cluster-service: "true"
Expand Down
2 changes: 1 addition & 1 deletion cluster/addons/fluentd-elasticsearch/kibana-service.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1beta1
kind: Service
id: kibana-logging
containerPort: kibana-port
containerPort: 80
port: 5601
labels:
name: kibana-logging
Expand Down
4 changes: 2 additions & 2 deletions cluster/addons/fluentd-elasticsearch/logging-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Running: ../../../../cluster/gce/../../_output/dockerized/bin/linux/amd64/kubect
"publicIPs": [
"104.154.81.135"
],
"containerPort": "es-port",
"containerPort": 9200,
"portalIP": "10.0.58.62",
"sessionAffinity": "None"
}
Expand Down Expand Up @@ -139,7 +139,7 @@ Running: ../../../../cluster/gce/../../_output/dockerized/bin/linux/amd64/kubect
"publicIPs": [
"104.154.91.224"
],
"containerPort": "kibana-port",
"containerPort": 80,
"portalIP": "10.0.124.153",
"sessionAffinity": "None"
}
Expand Down
2 changes: 1 addition & 1 deletion contrib/git-sync/demo/config/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ id: blog-service
kind: Service
apiVersion: v1beta1
port: 80
containerPort: http-server
containerPort: 80
selector:
name: blog
createExternalLoadBalancer: true
2 changes: 1 addition & 1 deletion docs/getting-started-guides/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Where pod.json contains something like:
"initialDelaySeconds": 30,
"httpGet": {
"path": "/index.html",
"port": "8080"
"port": 8080
}
}
}]
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started-guides/gce.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Where pod.json contains something like:
"initialDelaySeconds": 30,
"httpGet": {
"path": "/index.html",
"port": "8081"
"port": 8081
}
}
}]
Expand Down
4 changes: 2 additions & 2 deletions examples/openshift-origin/resource-generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/rethinkdb/admin-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v1beta1
namespace: rethinkdb
kind: Service
id: rethinkdb-admin
containerPort: admin-port
port: 8080
containerPort: 8080
labels:
db: influxdb
selector:
Expand Down
2 changes: 1 addition & 1 deletion examples/rethinkdb/driver-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v1beta1
namespace: rethinkdb
kind: Service
id: rethinkdb-driver
containerPort: driver-port
port: 28015
containerPort: 28015
labels:
db: influxdb
selector:
Expand Down

0 comments on commit 9f7b78b

Please sign in to comment.