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.

Prerequisites 

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. 

Conclusions

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?
YesNo

More from Cloud

How a US bank modernized its mainframe applications with IBM Consulting and Microsoft Azure

9 min read - As organizations strive to stay ahead of the curve in today's fast-paced digital landscape, mainframe application modernization has emerged as a critical component of any digital transformation strategy. In this blog, we'll discuss the example of a fictional US bank which embarked on a journey to modernize its mainframe applications. This strategic project has helped it to transform into a more modern, flexible and agile business. In looking at the ways in which it approached the problem, you’ll gain insights…

Attention new clients: exciting financial incentives for VMware Cloud Foundation on IBM Cloud

4 min read - New client specials: Get up to 50% off when you commit to a 1- or 3-year term contract on new VCF-as-a-Service offerings, plus an additional value of up to USD 200K in credits through 30 June 2025 when you migrate your VMware workloads to IBM Cloud®.1 Low starting prices: On-demand VCF-as-a-Service deployments begin under USD 200 per month.2 The IBM Cloud benefit: See the potential for a 201%3 return on investment (ROI) over 3 years with reduced downtime, cost and…

24 IBM offerings winning TrustRadius 2024 Top Rated Awards

2 min read - TrustRadius is a buyer intelligence platform for business technology. Comprehensive product information, in-depth customer insights and peer conversations enable buyers to make confident decisions. “Earning a Top Rated Award means the vendor has excellent customer satisfaction and proven credibility. It’s based entirely on reviews and customer sentiment,” said Becky Susko, TrustRadius, Marketing Program Manager of Awards. Top Rated Awards have to be earned: Gain 10+ new reviews in the past 12 months Earn a trScore of 7.5 or higher from…

IBM Newsletters

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