Commit e5839c08 authored by Kris Rousey's avatar Kris Rousey

Changing rethinkdb example to use v1

Also deleting a .DS_Store file.
parent a1840218
...@@ -100,7 +100,7 @@ rethinkdb-driver db=influxdb db=rethinkdb 10.0.27.114 2801 ...@@ -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.
......
apiVersion: v1beta3 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
labels: labels:
......
apiVersion: v1beta3 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
...@@ -9,7 +9,7 @@ spec: ...@@ -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
apiVersion: v1beta3 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
......
...@@ -39,7 +39,7 @@ if [[ ! -z "${2-}" ]]; then ...@@ -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:
......
apiVersion: v1beta3 apiVersion: v1
kind: ReplicationController kind: ReplicationController
metadata: metadata:
labels: 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