KOTS auto deployment


#1

Is there an option for enabling auto-deployment in KOTS?
I can see that there is an option to configure auto-check for a new version which just checks for a new version and doesn’t deploy automatically.

Previously when we use to create customers there was an option to Enable/Disable Update Policy. is there any way to enable auto deployment?
Also, it seems we can’t enable multiple channels to a customer.


#2

Hey there, okay so there are 2 questions here.

  1. Auto updates. Currently auto updates are not supported out of the box. That being said, when deploying a new update you can pass the --deploy flag to it will deploy the release as soon as it sees an update. But this has to be run via the CLI, perhaps this can be automated with a cronjob. https://kots.io/kots-cli/upstream/#usage

  2. At the moment KOTS only supports adding one channel per license, although there is an internal feature request to support multiple channels per license. The workaround for this is to create multiple licenses with different channels for the same customer, this would not count against your license quota. In other words, if one customer has 2 license yaml it will sill be considered 1 license as far as Replicated is concerned.

Thanks.


#3

thanks for the reply. Yup, I’ve checked the --deploy flag. We currently decided to run it as part of CD. As suggested, a cronjob can also be also configured.

I didn’t get the 2nd answer specifying creating multiple licenses with the different channels for the same customer. Did you mean application by customer? Or ain’t I aware of how to assign multiple licenses for same customer? My understanding is that for each channel you need to create a customer. Creating customer refers to creating a license and assigning a channel to it. Could you clarify this please?