Spinnaker on Vagrant - Modifying Gate URL for Deck UI

759 views Asked by At

I have installed Spinnaker on a Vagrant Machine running Ubuntu 14.04

All my components are running successfully (Checked Active Ports , all logs)

I am also binding Deck UI and Gate on all network interfaces by specifying custom settings

When i access Deck UI from the host machine on VagrantIP at 9000, the UI comes up successfully. But Deck UI tries to access gate on localhost at 8084 and gets a "Connection Refused". My Gate is running at "http://VagrantIP:8084"

Where do i modify the URL with which Deck accesses Gate?

Thanks for your help

1

There are 1 answers

3
Frederic Henri On

You need to bind spinnaker to the 0.0.0.0 network interface so it will be available when accessed from your local machine.

You can read the following blog post https://blog.spinnaker.io/exposing-spinnaker-to-end-users-4808bc936698 but basically the following should do the trick

We’ll specify the 0.0.0.0 host in both gate.yml and deck.yml in our default Halyard deployment with this command:

echo "host: 0.0.0.0" | tee \
     ~/.hal/default/service-settings/gate.yml \
     ~/.hal/default/service-settings/deck.yml 
sudo hal deploy apply