Installing Command-Line Tools

This topic describes how to install command-line tools required to install Tanzu Application Service for Kubernetes (TAS for Kubernetes).

Overview

TAS for Kubernetes installation procedures require a Linux or macOS workstation with the following command-line tools installed:

  • Cloud Foundry CLI
  • Docker CLI
  • Kubernetes CLI
  • BOSH CLI
  • Carvel utilities

The Carvel utilities are Kubernetes support tools:

Utility Description More Information
kapp Deployment tool with the concept of a “Kubernetes application”: a set of resources with the same label. get-kapp.io
kbld Utility used to manipulate and replace container images used in Kubernetes configuration files. get-kbld.io
ytt YAML templating and overlay tool that works on YAML structure instead of text. get-ytt.io

Install Your Command-Line Tools

This section guides you through installing the necessary CLIs and Carvel utilities on your workstation:

  1. Review Required Additional Components in TAS for Kubernetes Release Notes for the versions of the command line tools to install.

  2. Install the cf CLI. See Installing the cf CLI.

  3. Install the Docker CLI. For more information, see Get Docker on the Docker documentation site.

  4. Install the Kubernetes CLI. See Installing the Kubernetes CLI.

  5. Install the BOSH CLI:

    1. Download the BOSH CLI binary for your version of TAS for Kubernetes from VMware Tanzu Application Service for Kubernetes on the VMware Tanzu Network.
    2. Rename the downloaded binary to bosh.
    3. To make the BOSH CLI binary executable:
      $ chmod +x bosh
    4. Move the binary into your PATH. For example:
      $ mv bosh /usr/local/bin/bosh
  6. Install kapp:

    1. Download the kapp binary for your operating system from kapp on the VMware Tanzu Network.
    2. Rename the downloaded binary to kapp.
    3. To make the kapp binary executable:
      $ chmod +x kapp
    4. Move the binary into your PATH. For example:
      $ mv kapp /usr/local/bin/kapp
  7. Install kbld:

    1. Download the kbld binary for your operating system from kbld on the VMware Tanzu Network.
    2. Rename the downloaded binary to kbld.
    3. To make the kbld binary executable:
      $ chmod +x kbld
    4. Move the binary into your PATH. For example:
      $ mv kbld /usr/local/bin/kbld
  8. Install ytt:

    1. Download the ytt binary for your operating system from ytt on the VMware Tanzu Network.
    2. Rename the downloaded binary to ytt.
    3. To make the ytt binary executable:
      $ chmod +x ytt
    4. Move the binary into your PATH. For example:
      $ mv ytt /usr/local/bin/ytt

Next Steps

After you complete this procedure, proceed to Preparing the Kubernetes Cluster.