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.

Categories

More from Cloud

IBM Cloud VMware as a Service introduces multitenant as a new, cost-efficient consumption model

4 min read - Businesses often struggle with ongoing operational needs like monitoring, patching and maintenance of their VMware infrastructure or the added concerns over capacity management. At the same time, cost efficiency and control are very important. Not all workloads have identical needs and different business applications have variable requirements. For example, production applications and regulated workloads may require strong isolation, but development/testing, training environments, disaster recovery sites or other applications may have lower availability requirements or they can be ephemeral in nature,…

IBM accelerates enterprise AI for clients with new capabilities on IBM Z

5 min read - Today, we are excited to unveil a new suite of AI offerings for IBM Z that are designed to help clients improve business outcomes by speeding the implementation of enterprise AI on IBM Z across a wide variety of use cases and industries. We are bringing artificial intelligence (AI) to emerging use cases that our clients (like Swiss insurance provider La Mobilière) have begun exploring, such as enhancing the accuracy of insurance policy recommendations, increasing the accuracy and timeliness of…

IBM NS1 Connect: How IBM is delivering network connectivity with premium DNS offerings

4 min read - For most enterprises, how their users access applications and data is an essential part of doing business, and how they service those application and data responses has a direct correlation to revenue generation.    According to We Are Social’s Digital 2023 Global Overview Report, there are 5.19 billion people around the world using the internet in 2023. There’s an imperative need for businesses to trust their networks to deliver meaningful content to address customer needs.  So how responsive is the…

Kubernetes version 1.28 now available in IBM Cloud Kubernetes Service

2 min read - We are excited to announce the availability of Kubernetes version 1.28 for your clusters that are running in IBM Cloud Kubernetes Service. This is our 23rd release of Kubernetes. With our Kubernetes service, you can easily upgrade your clusters without the need for deep Kubernetes knowledge. When you deploy new clusters, the default Kubernetes version remains 1.27 (soon to be 1.28); you can also choose to immediately deploy version 1.28. Learn more about deploying clusters here. Kubernetes version 1.28 In…