stackhpc / slurm-k8s-cluster

A Slurm cluster for Kubernetes
MIT License
46 stars 20 forks source link

Replaced mounted kubeconfig with service account #30

Closed wtripp180901 closed 1 year ago

wtripp180901 commented 1 year ago

Now uses a ServiceAccount with minimal permissions for power up/down scripts, which automatically mounts an API token for kubectl to use. The token is has a default expiration time of an hour but my understanding is that it gets refreshed, just need to test if it works after an hour Recommend a squash merge, lots of useless image rebuilds in this