Import selected fields from bookings so Elastic Search has them for the Quicksearch bar.
- Permissions for kubernetes
lower
andkubectl
to access it. - VPN connection and permissions for database access.
- Go to http://leiningen.org/ and follow the instructions to install Leiningen (4 steps).
- Use kubectl to find the elastic search service:
kc get po -n search
- Copy the name of one of the pods starting with
elasticsearch-client
. - In a separate terminal, create a tunnel from local port 8000 to the elastic search pod:
while true; do kc port-forward elasticsearch-client-XXXXXXXXX-ZZZZZ 8000:9200 --namespace=search; done
- Open
import-es
in this project. - Navigate to the connection specs around line 13.
- Set connection specs for your target database.
- Run
./update-es $ENV
where ENV is one of: [dev, staging, cdev, cstaging, client] - Hit ctrl-C twice (quickly) in the terminal with the tunnel to ES when you are done.