Skip to main contentIBM Garage for Cloud

Provision an IBM Cloud cluster

Steps to provision a new IBM Cloud-managed cluster running on VPC infrastructure using the Cloud-Native Toolkit.

See the following for instructions on how to provision new IBM Cloud-managed clusters running on classic infrastructure


  1. Log in to the IBM Cloud Console.

  2. Select Catalog from the top menu.

  3. From the side menu, select your catalog from the drop-down list (e.g. Team Catalog). (IBM Cloud catalog should be selected initially.)

  4. Click Private on the side menu to see the private catalog entries

  5. Click on the 220. Cloud-Native VPC cluster tile

  6. Enter values for the variables list provided.

    VariableDescriptioneg. Value
    ibmcloud_api_keyThe API key from IBM Cloud Console that has ClusterAdmin access and supports service creation{guid API key from Console}
    resource_group_nameThe existing resource group in the account where the cluster will be createddev-team-one
    regionThe region where the cluster will be provisioned.us-east, eu-gb, etc
    cluster_nameThe name of the cluster that will be provisioned.dev-team-one-iks-117-vpc
    vpc_zone_namesA comma-separated list of the VPC zones that should be used for worker nodes.us-south-1 or us-east-1,us-east-2
    cluster_typeThe type of cluster into which the toolkit will be installed. The default is OpenShift 4.5.kubernetes, ocp3, ocp4, ocp44, or ocp45
    flavorThe flavor of machine that should be provisioned for each worker. Defaults to mx2.4x32.mx2.4x32
    cluster_worker_countThe number of worker nodes that should be provisioned for each zone. Defaults to 33
    cluster_provision_cosFlag indicating that a new Object Storage instance should be provisioned. Defaults to truetrue or false
    cos_nameThe name of the Object Storage instance (If cluster_provision_cose is set to true this value is requiredcntk-showcase-cos
  7. Check the box to accept the Apache 2 license for the tile.

  8. Click Install to start the install process

This will kick off the installation of the Cloud-Native Toolkit using an IBM Cloud Private Catalog Tile. The progress can be reviewed from the Schematics entry

Troubleshooting

If you find that the Terraform provisioning has failed, for Private Catalog delete the workspace and for Iteration Zero try re-running the runTerraform.sh script again. The state will be saved and Terraform will try and apply the configuration to match the desired end state.

If you find that some of the services have failed to create in the time allocated, try the following with Iteration zero:

  1. Manually delete the service instances in your resource group

  2. Re-run the runTerraform.sh script with the --delete argument to clean up the state

    ./runTerraform.sh --delete