Merge pull request #9618 from krousey/example_rethinkdb

Changing rethinkdb example to use v1
This commit is contained in:
Abhi Shah 2015-06-10 15:34:18 -07:00
commit 965711e8d1
7 changed files with 7 additions and 7 deletions

Binary file not shown.

View File

@ -100,7 +100,7 @@ rethinkdb-driver db=influxdb db=rethinkdb 10.0.27.114 2801
We request for an external load balancer in the [admin-service.yaml](admin-service.yaml) file: We request for an external load balancer in the [admin-service.yaml](admin-service.yaml) file:
``` ```
createExternalLoadBalancer: true type: LoadBalancer
``` ```
The external load balancer allows us to access the service from outside via an external IP, which is 104.197.19.120 in this case. The external load balancer allows us to access the service from outside via an external IP, which is 104.197.19.120 in this case.

View File

@ -1,4 +1,4 @@
apiVersion: v1beta3 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
labels: labels:

View File

@ -1,4 +1,4 @@
apiVersion: v1beta3 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
@ -9,7 +9,7 @@ spec:
ports: ports:
- port: 8080 - port: 8080
targetPort: 8080 targetPort: 8080
createExternalLoadBalancer: true type: LoadBalancer
selector: selector:
db: rethinkdb db: rethinkdb
role: admin role: admin

View File

@ -1,4 +1,4 @@
apiVersion: v1beta3 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:

View File

@ -39,7 +39,7 @@ if [[ ! -z "${2-}" ]]; then
fi fi
cat << EOF cat << EOF
apiVersion: v1beta3 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
labels: labels:

View File

@ -1,4 +1,4 @@
apiVersion: v1beta3 apiVersion: v1
kind: ReplicationController kind: ReplicationController
metadata: metadata:
labels: labels: