🤖 AI Summary
This work addresses the lack of a secure, efficient, and compatible programmatic interface in existing Slurm schedulers, which hinders integration with scientific tools and automation systems. We propose Palmetto API, a lightweight RESTful proxy for slurmrestd that introduces, for the first time, fine-grained role-based access control (RBAC) and HTTP response caching while maintaining full compatibility with existing clients. This design significantly enhances interface security and performance, effectively reducing latency from redundant requests. Compatibility validation confirms seamless interoperability with the current Slurm ecosystem, enabling straightforward adoption without disrupting established workflows.
📝 Abstract
The development of administrative and computational research tools requires reliable programmatic interfaces with the cluster scheduler. The Research Computing and Data (RCD) team at Clemson University has developed the Palmetto API, a proxy for the native Slurm RESTful interface, slurmrestd, while providing advanced authentication, authorization, and caching. This paper details the design and implementation of this proxy, evaluates the performance benefits from caching, and verifies compatibility to existing slurmrestd clients. The result is a light-weight and secure method of exposing our cluster scheduler to tools and automations.