Multiple host declaration in decK

Hello,

I’m using decK to manage my API services. Could someone please tell me if it’s possible to declare multiple hosts in the yaml file. Currently the service yaml file looks like this.

connect_timeout: 60000
host: hostname
name: service_name
path: /

Can I write two hosts like this:

connect_timeout: 60000
host: hostname1, hostname2
name: service_name
path: /

Or I should write a complete new service with the other hostname.

Best regards,
Ritika

host on service object is a string which means you can only specify one host

why do you need two hosts on service?

If you need to do load balancing between two upstream targets, you should use upstream object