Changing rethinkdb example to use v1
Also deleting a .DS_Store file.
This commit is contained in:
parent
06db0b2f8c
commit
eaa6f009f9
Binary file not shown.
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: v1beta3
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: v1beta3
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
apiVersion: v1beta3
|
apiVersion: v1
|
||||||
kind: ReplicationController
|
kind: ReplicationController
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue