Commit 965711e8 authored by Abhi Shah's avatar Abhi Shah

Merge pull request #9618 from krousey/example_rethinkdb

Changing rethinkdb example to use v1
parents 0bba327f e5839c08
......@@ -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:
```
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.
......
apiVersion: v1beta3
apiVersion: v1
kind: Pod
metadata:
labels:
......
apiVersion: v1beta3
apiVersion: v1
kind: Service
metadata:
labels:
......@@ -9,7 +9,7 @@ spec:
ports:
- port: 8080
targetPort: 8080
createExternalLoadBalancer: true
type: LoadBalancer
selector:
db: rethinkdb
role: admin
apiVersion: v1beta3
apiVersion: v1
kind: Service
metadata:
labels:
......
......@@ -39,7 +39,7 @@ if [[ ! -z "${2-}" ]]; then
fi
cat << EOF
apiVersion: v1beta3
apiVersion: v1
kind: Pod
metadata:
labels:
......
apiVersion: v1beta3
apiVersion: v1
kind: ReplicationController
metadata:
labels:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment