Skip to content

Prepare the Local Environment#

Objectives#

Enable developers to start developing and testing applications on test clusters.

Key Results#

  • Install the CLIs required for interacting with the cluster

PreRequisites#

  • Working laptop or desktop computer with a functional Operating System.

Tutorial#

Setting up CLI#

The following CLI tools are required for working with the Stakater App Agility Platform.

  • OpenShift CLI (oc) With the OpenShift command-line interface (CLI), the oc command, you can create applications and manage OpenShift Container Platform projects from a terminal.

    You can install the OpenShift CLI (oc) binary on Linux by using the following procedure.

    Procedure

    1. From the web console, click ?. OpenShift Console
    2. Click Command Line Tools. OpenShift Console
    3. Select appropriate oc binary for your Linux platform, and then click Download oc for Linux.

    4. Save the file.

    5. Unpack the archive.

      tar xvf <file>
      
    6. Move the oc binary to a directory that is on your PATH.

    7. To check your PATH, execute the following command:

      echo $PATH
      
    8. After you install the OpenShift CLI, it is available using the oc command:

      oc <command>
      
  • helm helm helps you manage Kubernetes applications — Helm Charts help you define, install, and upgrade even the most complex Kubernetes application.

  • docker/podman Docker/Podman is an open platform for developing, shipping and running applications in containers. Docker/Podman enables you to separate your applications from your infrastructure, so you can deliver software quickly.

  • tilt Tilt powers microservice development and ensures they behave! Run tilt up to work in a complete dev environment configured for your team. Tilt automates all the steps from a code change to a new process: watching files, building container images, and bringing your environment up-to-date. Think docker build && kubectl apply or docker-compose up.