How to use Schematics to provision a Kubernetes cluster and dependent resources.

Cloud computing has evolved from a technology enabler to a business disruptor. It also delivers scalable and elastic IT-enabled capabilities as a service to businesses in a highly automated manner. 

In this blog post, we’re going to look at testing a machine learning use case using an IBM Cloud Kubernetes Service cluster. To begin, you’ll need to set up a cluster infrastructure with IBM Cloud Schematics and the Terraform templates that are already available in the Cloud Schematics Git repository.


Before you begin, complete the following prerequisites:

Provision your infrastructure

Provision a Kubernetes cluster and dependent resources in your IBM Cloud account. You can use Schematics to provision the Kubernetes cluster and dependent resources.

Follow these steps to use the template provided in the Cloud Schematics public Git repository.

  1. Log in to IBM Cloud.
  2. Navigate to Schematics > Workspaces > Create workspace with the following inputs to create your infrastructure Workspace.
    • In the Specify Template section:
    • In Workspace details section:
      • Workspace name: myschematics-infrastructure
      • Tags: iks-infra
      • Resource group: default or other resource group for this Workspace. Note: Ensure you have right access permission for the resource group
      • Location: North America or other region for this Workspace if the location used for infrastructure.
      • Click Next.
      • Check the information entered is correct to create a Workspace.
    • Click Create.
  3. On successful creation of the myschematics-infrastructure Workspace, review and edit the following  infrastructure input variables in the workspace Settings page.
  4. Click Apply plan on the myschematics-infrastructure Workspace to provision the infrastructure. Wait 45 — 90 minutes to provision the resource.
  5. View the Jobs logs and Resources page to monitor the resources are provisioned successfully and observe the workspace status as ACTIVE
  6. Record the cluster_id from the Outputs section of the Jobs log. 


By following these steps, you’ve provisioned the Kubernetes cluster successfully and are ready to explore the machine learning requirement for your organisation. You can use the powerful tools of IBM Cloud Schematics to build and spin up your IBM Cloud environment, automate cloud resource operations and install Kubernetes clusters, VPC infrastructure and LogDNA (a monitoring UI) resources in your IBM Cloud account. You can also use the Terraform templates to configure the required resources for your requirement in Schematics Workspaces.

Learn more about IBM Cloud Schematics.

If you have feedback, suggestions, or questions about this post, please reach out to Praveen Gostu, Guru Prasad Shamanna or Geetha Sathyamurthy through email.

Was this article helpful?

More from Cloud

The history of the central processing unit (CPU)

10 min read - The central processing unit (CPU) is the computer’s brain. It handles the assignment and processing of tasks, in addition to functions that make a computer run. There’s no way to overstate the importance of the CPU to computing. Virtually all computer systems contain, at the least, some type of basic CPU. Regardless of whether they’re used in personal computers (PCs), laptops, tablets, smartphones or even in supercomputers whose output is so strong it must be measured in floating-point operations per…

A clear path to value: Overcome challenges on your FinOps journey 

3 min read - In recent years, cloud adoption services have accelerated, with companies increasingly moving from traditional on-premises hosting to public cloud solutions. However, the rise of hybrid and multi-cloud patterns has led to challenges in optimizing value and controlling cloud expenditure, resulting in a shift from capital to operational expenses.   According to a Gartner report, cloud operational expenses are expected to surpass traditional IT spending, reflecting the ongoing transformation in expenditure patterns by 2025. FinOps is an evolving cloud financial management discipline…

IBM Power8 end of service: What are my options?

3 min read - IBM Power8® generation of IBM Power Systems was introduced ten years ago and it is now time to retire that generation. The end-of-service (EoS) support for the entire IBM Power8 server line is scheduled for this year, commencing in March 2024 and concluding in October 2024. EoS dates vary by model: 31 March 2024: maintenance expires for Power Systems S812LC, S822, S822L, 822LC, 824 and 824L. 31 May 2024: maintenance expires for Power Systems S812L, S814 and 822LC. 31 October…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters