cloudpakforapplications-appmod
workshop-07-07-2020
workshop-07-07-2020
  • Introduction
  • Setup
    • Cloud Workshop + Cloud Shell Setup Instructions
  • Day 1
    • Lab: Kubernetes 101
      • Lab 1 - Deploy Application
      • Lab 2 - Scale Application
      • Lab 3 - Multi-tier Application
    • Lab: Helm 101
      • Lab 1 - Deploy Application
      • Lab 2 - Update Application
      • Lab 3 - Revisions
      • Lab 4 - Helm Repositories
  • Day 2
    • Lab: Istio 101
      • Setup Istio
      • Lab 1 - Installing Istio
      • Lab 2 - Deploying Guestbook Application
      • Lab 3 - Expose the Service Mesh with Istio Ingress Gateway
      • Lab 4 - Perform Traffic Management
    • Lab - Adding Secure Storage to k8s
    • Lab: Custom Resources and Operators
  • Day 3
    • Lab - Source-to-Image (S2I)
    • Tekton Lab
      • Setup
      • Lab - Tekton Pipelines
  • Resources
    • IBM Developer
Powered by GitBook
On this page
  • 1. Log into OpenShift
  • 2. Install Tekton CLI

Was this helpful?

  1. Day 3
  2. Tekton Lab

Setup

PreviousTekton LabNextLab - Tekton Pipelines

Last updated 4 years ago

Was this helpful?

This section is broken up into the following steps:

1. Log into OpenShift

You will need to authenticate with the OpenShift console before continuing.

From the , make sure you are in the IBM Cloud account where your cluster is located. Select from the dropdown menu in the upper right.

Next, find your clusters by navigating to Kubernetes->Clusters in the upper lefthand menu

Select your cluster to get to the cluster home page. Then, select the OpenShift Web Console Button

From the OpenShift console, in the upper righthand menu, select Copy Login Command

Follow the instructions including logging in using your IBM ID to get the command to login. Run the command in your IBM Cloud Shell environment

oc login --token=... --server=...

2. Install Tekton CLI

Run the commands below to install tkn the Tekton CLI that we will be using in this lab

curl -LO https://github.com/tektoncd/cli/releases/download/v0.9.0/tkn_0.9.0_Linux_x86_64.tar.gz
mkdir ~/tknbin
tar xvzf tkn_0.9.0_Linux_x86_64.tar.gz -C ~/tknbin tkn
echo 'export PATH=$HOME/tknbin:$PATH' > .bash_profile
source .bash_profile
tkn version
Log into OpenShift
Install Tekton CLI
IBM Cloud Home Page
correct account
Kubernetes Menu
cluster homepage
copy login command