-
Notifications
You must be signed in to change notification settings - Fork 160
Change ARM template to use a supported Ubuntu LTS version #392
Comments
I asked this the other day, no response yet. #387 EDIT: Removed my erroneous suggestion to change the SKU in the template (see my follow-up comment for what we actually did) |
Thanks for opening @andrewrimmer and @jwcw. I'll close this issue in order to consolidate the discussion on #387 |
@josh-koslosky-dsg sorry, it turns out I am mistaken. I went back to see how we did it, it turns out we didn't update the elastic/azure-marketplace templates, but instead exported ARM templates from the running 16.04 machines in the cluster that were created with elastic/azure-marketplace. With the exported ARM templates we changed the OS images and then created new nodes for the cluster using those. We migrated the indices to the new nodes and then decommissioned the 16.04 machines. This is probably not a practical procedure for a new cluster, in our case our cluster had been running and contained data. |
@jwcw - Thank you for clarifying. I was hoping I could create a cluster with the new version of Ubuntu, but there doesn't look to be a straightforward way to do this right now. Disk swaps seem to be the Azure recommended way for upgrades. @russcam - Would this kind of change be an option in the future or is managed Elastic via Azure the way forward? |
You could also do a release upgrade in Ubuntu immediately after creating the cluster. We've done this in clusters where we had not other other OS image requirements. |
So I figured out how to deploy an Elastic cluster via this ARM template with a different OS version. The steps to do this are below: 1.) Fork the repo |
@josh-koslosky-dsg There's some details on https://github.com/elastic/azure-marketplace/blob/master/build/README.md#development for forking the repository and updating links in the template to point to your fork repository. Running the command
will update all the links in the template to point to your github fork at Once this is done, push your changes to your fork, and you'll be able to deploy it similar to how the Elastic ARM template is deployed. Taking the Azure CLI 2.0 example, the differences would be
|
Ubuntu 16.04 is over 5 years old and standard support for it expired in April 2021. Any releases using the ARM template will now be deploying clusters with an unsupported OS.
There have been 2 subsequent LTS releases and it would make sense to switch to using 20.04 LTS. As mentioned in a separate issue, it would be helpful if the Ubuntu version could be provided as a parameter.
The text was updated successfully, but these errors were encountered: