<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Creating virtual machine (VM) templates on</title><link>https://docs.shturval.tech/2.13/en/platform-admin/vm/createtemplate/</link><description>Recent content in Creating virtual machine (VM) templates on</description><generator>Hugo -- gohugo.io</generator><lastBuildDate>Tue, 06 Oct 2020 08:48:23 +0000</lastBuildDate><atom:link href="https://docs.shturval.tech/2.13/en/platform-admin/vm/createtemplate/index.xml" rel="self" type="application/rss+xml"/><item><title>How to create</title><link>https://docs.shturval.tech/2.13/en/platform-admin/vm/createtemplate/howto-vm/</link><pubDate>Tue, 06 Oct 2020 08:49:31 +0000</pubDate><guid>https://docs.shturval.tech/2.13/en/platform-admin/vm/createtemplate/howto-vm/</guid><description>Template creation involves several steps:
create a VM in the virtualization platform; create a VM template with the stc utility and shut down the VM in the virtualization platform; upload the VM image to the virtualization platform. Recommendations for VM disk usage and directory space allocation are on How to allocate disk space for a VM.
When creating a VM from a template, Shturval prepares the VM automatically: it installs the selected Kubernetes version and required configuration.</description></item><item><title>How to allocate disk space for a VM</title><link>https://docs.shturval.tech/2.13/en/platform-admin/vm/createtemplate/disc-vm/</link><pubDate>Tue, 06 Oct 2020 08:49:31 +0000</pubDate><guid>https://docs.shturval.tech/2.13/en/platform-admin/vm/createtemplate/disc-vm/</guid><description>Recommended: use LVM disks and store data on the root partition. When creating a VM with a larger disk, the root partition grows. Minimum size is 60 GB.
If you need a separate /var/log partition, allocate 20 GB. In this case:
With LVM there are no special considerations. With a non-LVM disk, create this partition before the root partition. Note! If you use non-LVM disks and swap is placed after the root partition, disk expansion will not work.</description></item><item><title>Creating a VM in the virtualization platform</title><link>https://docs.shturval.tech/2.13/en/platform-admin/vm/createtemplate/new-template/</link><pubDate>Tue, 06 Oct 2020 08:49:31 +0000</pubDate><guid>https://docs.shturval.tech/2.13/en/platform-admin/vm/createtemplate/new-template/</guid><description>In the New template dialog, fill in the following fields:
Name: Enter a unique name for the new template. Description: Enter a short description to identify the template. Cluster: Select the cluster where this template will be available. Wait until the created template becomes available in your virtualization environment. From that point, the template is available for adding to provider configuration.</description></item><item><title>Creating a VM template (with the stc utility)</title><link>https://docs.shturval.tech/2.13/en/platform-admin/vm/createtemplate/prosess-vm/</link><pubDate>Tue, 06 Oct 2020 08:49:31 +0000</pubDate><guid>https://docs.shturval.tech/2.13/en/platform-admin/vm/createtemplate/prosess-vm/</guid><description>Create a virtual machine to build the template.
Installing stc # Note! Run STC on a workstation (not on a cluster host) with Linux. If you use a mirror, specify the mirror name (registry) the same way you did when deploying the platform.
Run the command to download the binary:
Command wget URL -O stc Replace URL with the link for the required version:
https://public.shturval.tech/stc-2.12.0 https://public.shturval.tech/stc-2.12.1 https://public.shturval.tech/stc-2.13.0 https://public.shturval.tech/stc-2.13.1 Make the downloaded file executable:</description></item><item><title>Upload to the Shturval platform</title><link>https://docs.shturval.tech/2.13/en/platform-admin/vm/createtemplate/example/</link><pubDate>Tue, 06 Oct 2020 08:49:31 +0000</pubDate><guid>https://docs.shturval.tech/2.13/en/platform-admin/vm/createtemplate/example/</guid><description>Created VM templates must be uploaded to a provider instance of the corresponding type:
VMware vSphere; oVirt; OpenStack; Basis Dynamix; VMware vCloud Director; Yandex Cloud. You can add multiple VM templates to one provider instance. Each VM template supports only one Kubernetes version that is compatible with the platform version and is intended for cluster deployment. Available Kubernetes versions are compatible with the installed platform version.
Before choosing a Kubernetes version, review the Kubernetes and Shturval platform version mapping.</description></item></channel></rss>