Config changes via Halyard without having to `hal deploy apply`?


One of our customers asks this about configuration:

“Whenever I add a kubernetes account via hal config provider kubernetes account add, I have to redeploy spinnaker (hal deploy apply) in order for me to choose the account from the dropdown on the Deck UI on the Deploy Configuration page. Is there any alternative to add a kubernetes account on Spinnaker without having to redeploy spinnaker?”


Great question. There is no alternative - Spinnaker preaches immutable infrastructure, and hot-reloading configuration generally goes against that. But there are two things to keep in mind:

  1. Redeploying Spinnaker with Halyard does not introduce downtime. While the process is a little slow, you can keep using Spinnaker while hal deploy apply runs.

  2. You can speed things up a bit by only deploying Clouddriver, the service that talks to Kubernetes. This can be done by passing it as a parameter using hal deploy apply --service-names clouddriver.