Kubernetes Deployment

Deploying StashCache in Kubernetes, see Kubernetes deployment files here, requires running a LoadBalancer Service, Deployment, and storage. The LoadBalancer Service is needed to get a public IP for the service. The Deployment is required to describe the Pod and the contents of said Pod. In case of StashCache the Pod will run two containers: one for StashCache itself and one for HTCondor to allow StashCache to become a HTCondor service.

The storage can either be provided through one of the included Storage Classes or through SLATE’s nfs-provisioner. The required storage does not necessarily be fast; however, it may have to scale over time depending on the cache utilization.