acf
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php on line 6121all-in-one-wp-migration
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php on line 6121rocket
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/studiogo.tech/httpdocs/upcloudold/wp-includes/functions.php on line 6121Managed Kubernetes easily automates the deployment, scaling, and management of container workloads but takes a couple of steps to deploy by itself. So, what better solution to combine with Managed Kubernetes than the simple yet powerful open-source infrastructure management tool, Terraform.<\/p>\r\n\r\n\r\n\r\n
In this tutorial, we’ll show to set up a Terraform configuration for a Managed Kubernetes cluster and how to get it up and running.<\/p>\r\n\r\n\r\n\r\n
First things first. If you haven’t used Terraform before, you will need to start by installing it. You can follow our beginners’ tutorial<\/a> to accomplish this and then come back and continue here.<\/p>\r\n\r\n\r\n\r\n <\/p>\r\n\r\n\r\n\r\n You can also check out\u00a0the official UpCloud Terraform provider documentation<\/a>\u00a0if you want to learn more.<\/p>\r\n\r\n\r\n\r\n Once you have Terraform installed and ready, start by creating a new directory on your own computer to house your Terraform configuration files. The actual location of this folder doesn’t matter as such as the only requirement is that only one Terraform configuration is saved in any specific directory.<\/p>\r\n\r\n\r\n\r\n Next, you’ll need a starting point. Rather than having you copy and paste from our tutorial, we’ve made public Managed Kubernetes example files<\/a> available in our GitHub repository.<\/p>\r\n\r\n\r\n\r\n The main repo contains a whole host of information about example integrations with Managed Kubernetes but we’ll focus here on the cluster creation. You can download the Terraform cluster example configuration folder<\/a> individually using the handy download-directory.github.io<\/a> web tool and ignore the rest for now.<\/p>\r\n\r\n\r\n\r\n The cluster configuration is organized into the following files:<\/p>\r\n\r\n\r\n\r\nSetting up Managed Kubernetes<\/h2>\r\n\r\n\r\n\r\n
Terraform configuration structure<\/h3>\r\n\r\n\r\n\r\n
\r\n
This defines the managed resources: upcloud_kubernetes_cluster,\u00a0upcloud_network<\/li>\r\n\r\n\r\n\r\n
Includes the main\u00a0terraform\u00a0block and provider-specific configurations<\/li>\r\n\r\n\r\n\r\n
These define the input variables used in the configuration, e.g. zone<\/li>\r\n\r\n\r\n\r\n
Output values provide information about our deployment when it’s ready, like the cluster ID<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n