6

Setting up the TechZone Accelerator Toolkit

 1 year ago
source link: http://heidloff.net/article/setting-up-the-techzone-accelerator-toolkit/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Setting up the TechZone Accelerator Toolkit

With the TechZone Accelerator Toolkit IBM software, open source projects and custom applications can easily be deployed to various clouds. This article explains how to set up environments to use the Toolkit CLI.

Check out my earlier blog that introduces the toolkit: Introducing IBM’s Toolkit to handle Everything as Code. The toolkit leverages Terrafrom and GitOps and is based on best practices from IBM projects with partners and clients.

The Accelerator Toolkit comes with a CLI called iascable which converts BOMs (bill of materials/custom solution definitions) into Terraform assets. To run Terraform, additional CLIs are needed in specific versions, for example kubectl, oc, jq, git, helm, etc.

To simplify the setup of these tools, a container image is provided which comes with everything you need. Here is an example flow of commands that show how to install the CLI, how to run the container and how to run Terraform.

Setup the CLI, clone a sample repo and generate Terraform:

Launch the container:

$ ./launch.sh

Apply Terraform:

$ cd cluster-with-watson-nlp
$ ./apply.sh

Watch this short video starting at 2:53 min for a demo:

The toolkit provides two alternatives to run the image:

  1. Docker
  2. Multipass

There are some additional environments (Podman and Colima) that are used within the community, but these are not supported and cannot be guaranteed to work.

While Docker is easier to use, Multipass is provided as alternative if you don’t want or cannot run Docker Desktop. Here is the definition from the Multipass home page.

Ubuntu VMs on demand for any workstation. Get an instant Ubuntu VM with a single command. Multipass can launch and run virtual machines and configure them with cloud-init like a public cloud.

The following options are currently supported for recent versions of Linux, MacOS and Windows:

  • Linux: Docker Engine
  • MacOS: 1. Docker Desktop, 2. Multipass
  • Windows: Windows Subsystem for Linux running Ubuntu image with Docker Engine installed

Follow the instructions in the Accelerator Toolkit documentation for details.

Share this:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK