Extensions
Lua plugins allow you to customize Raya and make your challenges unique. Plugins can access the raya
API and perform tasks such as:
- Assigning a unique flag per instance
- Controlling environment variables
- Mounting volumes/devices to an instance
- Sending announcements
- Detecting cheating and disqualifying teams
- Extending monitoring by adding custom metrics (Raya supports Prometheus out of the box)
- Scaling up the infrastructure when the number of instances increases
These are just some common tasks you can perform. However, you can program your plugin to do much more. Take a look at recipes
for some inspiration.