feat: setup local k8s stack with siphon, nats and indexer
What does this MR do and why?
Sets up the minimal local k8s stack with a help of Tilt. Go code is for initial setup purposes and was generated by a model.
Setup:
You need k8s runtime. The fastest way to start running is to install Colima and start it with k8s enabled:
colima start --kubernetes --vm-type=vz --vz-rosetta # use rosetta emulation to ensure correct behaviour for x64 images
Set WAL mode for your GDK Postgresql to logical:
- Open file
/path/to/gdk/postgresq/data/postgresql.conf. - Edit/uncomment setting:
wal_level = logical.
Configure your GDK Postgresql to listen to TCP:
gdk config set postgresql.host localhost
gdk reconfigure
gdk psql
Grant permissions to the container user in psql:
CREATE ROLE nonroot WITH LOGIN PASSWORD '';
ALTER ROLE nonroot WITH SUPERUSER;
In knowledge-graph make sure you install Tilt and Helm via mise:
mise install
You can now run whole Tilt stack:
tilt up
Related Issues
Testing
Performance Analysis
- This merge request does not introduce any performance regression. If a performance regression is expected, explain why.
Edited by Bohdan Parkhomchuk

