You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Cloud Spanner](https://cloud.google.com/spanner) is a fully managed relational database. The Cloud Spanner addon provides a local emulator to test your local application without incurring the cost of an actual spanner instance.
11
+
12
+
### Enable Cloud Spanner on minikube
13
+
14
+
To enable this addon, simply run:
15
+
```shell script
16
+
minikube addons enable cloud-spanner
17
+
```
18
+
19
+
### Cloud Spanner Endpoints
20
+
Cloud Spanner provides two different ports, HTTP and GRPC. List Cloud Spanner emulator urls by running:
Cloud Spanner emulator can be used via endpoint `cloud-spanner-emulator:9020` for http clients and `cloud-spanner-emulator:9010` for grpc clients respectively. If you're using the standard client library for Cloud Spanner then set `SPANNER_EMULATOR_HOST` to the GRPC endpoint `cloud-spanner-emulator:9010`.
38
+
39
+
### Testing installation
40
+
41
+
```shell script
42
+
kubectl get pods -n cloud-spanner-emulator
43
+
```
44
+
45
+
If everything went well, there should be no errors about Cloud Spanner's installation in your minikube cluster.
0 commit comments