Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using named ports in examples and scripts. #4937

Merged
merged 1 commit into from
Mar 2, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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