Skip to content

Commit 0eb301f

Browse files
author
mgoddard
committed
Starting to add K8s deployment details; adding mobile screenshot
1 parent 5b74bdf commit 0eb301f

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

README.md

+29
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
![Screenshot restaurants](./restaurants.jpg)
66

7+
![Running on iPhone](./mobile_view.png)
8+
79
## Setup
810

911
[Data set](https://storage.googleapis.com/crl-goddard-gis/osm_1m_eu.txt.gz): 1m
@@ -75,3 +77,30 @@ Edit `./docker_run_image.sh`, changing the environment variables to suit your de
7577
$ ./docker_run_image.sh
7678
```
7779

80+
## Deploy the app in Kubernetes (K8s)
81+
82+
```
83+
$ kubectl describe service crdb-geo-tourist-lb
84+
Name: crdb-geo-tourist-lb
85+
Namespace: default
86+
Labels: <none>
87+
Annotations: <none>
88+
Selector: app=crdb-geo-tourist
89+
Type: LoadBalancer
90+
IP: 10.63.243.111
91+
LoadBalancer Ingress: 35.188.226.10
92+
Port: <unset> 80/TCP
93+
TargetPort: 18080/TCP
94+
NodePort: <unset> 32456/TCP
95+
Endpoints: 10.60.2.7:18080,10.60.3.7:18080
96+
Session Affinity: None
97+
External Traffic Policy: Cluster
98+
Events:
99+
Type Reason Age From Message
100+
---- ------ ---- ---- -------
101+
Normal EnsuringLoadBalancer 8m40s service-controller Ensuring load balancer
102+
Normal EnsuredLoadBalancer 8m1s service-controller Ensured load balancer
103+
```
104+
105+
Enter the value associated with `LoadBalancer Ingress:` into your Web browser to see the app running.
106+

mobile_view.png

865 KB
Loading

0 commit comments

Comments
 (0)