A fortrabbit client wants to launch a Meilisearch service without any DevOps skills. fortrabbit takes care of automated provisioning, uptime/monitoring and version updates.
- Create a proof of concept Meilisearch feature for fortrabbit.
- Design a Kubernetes cluster that runs Meilisearch for multiple tenants.
- We want to be able to run a single command with a given name and have it create a meilisearch setup for one tenant, then run it again with a different name and have it create a separate meilisearch setup for that new tenant
- When using code, use the language of your choice, write as quick and dirty as possible, it's a POC!
- The command should create an internal Meilisearch master key for each tenant.
- The command should show the Meilisearch's public and private keys so that the "customer" can use them to connect, but it should not show the master key.
- HTTP endpoints of Meilisearch should have a unique domain, which are accessible via HTTPS, like
https://{identifier}.search.frb.io
- Don't care about DNS, assume that
{identifier}.search.frb.io
or*.search.frb.io
already points to the cluster.
- Don't care about DNS, assume that
- Don't care how to store the keys (master, public, private), some text file is okay.
- Don't care about monitoring, unless you get it for free.
- Don't care about possible ways to scale resources.
- Provide a link to a GitHub/GitLab repository.
- Don't forget to document it in a
README.md
.
- Please complete within 7 days
- The task should not require more than 10 hours of focused work (take a break)
- Create an issue with this repo
- Ask early if things are not clear
- Tell us if you are stuck, it's not shameful to ask for help
- Let us know when you are done
- We will review the code and have a chat about it - don't be afraid, it's just tech-talk