Before getting started with Platform9 Managed Kubernetes (PMK) you will need to prepare some infrastructure that you’d use to work with PMK. Make sure to read through these requirements carefully as a successful deployment of PMK depends on it. PMK supports creating Kubernetes clusters with the following infrastructure end points or cloud providers. You can create and manage multiple Kubernetes clusters across any of these end points.
- Azure: PMK also provides native integration with Microsoft Azure to create Kubernetes clusters using Azure VM instances. In this model, PMK manages the lifecycle of the nodes on Azure. It also integrates with other Azure services such as Traffic manager, Application gateway, Azure managed disks etc to create a fully production-ready Kubernetes cluster that can auto-scale based on workload requirements.
Supported Operating Systems
Regardless of what infrastructure or cloud provider you are creating the PMK clusters on, PMK supports the following operating systems for the nodes of those Kubernetes clusters.
- CentOS 7+ (64-bit)
- RHEL 7+ (64-bit)
- Ubuntu LTS 16.04 (64-bit)
- Ubuntu LTS 18.04 (64-bit)
Pre-requisites for an Azure cluster
In order to create a Kubernetes cluster on Microsoft Azure in PMK, you need to first create a ‘cloud provider’ and specify your Azure credentials. Here are the steps to get the required credentials for your Azure account:
Get your Azure subscription ID: The subscription ID is a GUID that uniquely identifies your subscription to use Azure services. Log on to the Azure portal. In the left navigation panel, click Subscriptions. The list of your subscriptions is displayed along with the subscription ID.
Create a service principal for PMK in Auzre: Azure requires you to create an identity for an external application before that application can programmatically access or modify Azure resources. This identity is known as a service principal. You can then assign the required permissions to the service principal. You will need to thus create a service principal for PMK in Azure. Refer to Microsoft Azure documentation to create a service principal.
Obtain the tenant and client IDs for the service principal: You will need to supply the tenant and client IDs of your Azure account to PMK so that PMK can make programmatic sign-in requests to your Azure account. Refer to Microsoft Azure documentation to find the tenant and client IDs.
Create a new client secret: PMK will need to supply the secret to authenticate to Azure on your behalf. Refer to Microsoft Azure documentation for how to create a new client secret.
You will need to specify the following parameters as part of creation of a cloud provider for Azure:
|Tenant ID||Tenant ID of the service principal you created for PMK|
|Client ID||Client ID of the service principal you created for PMK|
|Client Secret||Client secret you created for PMK|
|Subscription ID||ID of the subscription that correlates to the service principal|
Thank you for your feedback! What did you like about this article?
Thank you for your feedback! How could this article be improved?
Thank you for your feedback! For specific questions about PMK or PMK free tier, visit our PMK forum.