cloudpakforapplications-appmod
workshop-06-02-2020
workshop-06-02-2020
  • Introduction
  • Day 1 Labs
    • Lab: Kubernetes and Operators
      • Excercise - 0a
      • Excercise - 0b
      • Excercise - 1
      • Excercise - 2
      • Excercise - 3
      • Excercise - 4
      • Excercise - 5
    • helm101
      • Lab 0
      • Lab 1
      • Lab 2
      • Lab 3
      • Lab 4
    • Lab - Explore Transformation Advisor
  • Day 2 Labs
    • Lab - Source to Image
    • Tekton Lab
      • Setup
      • Lab - Tekton Pipelines
  • Resources
    • IBM Developer
Powered by GitBook
On this page
  • 1. Access the Cloud Shell
  • 2. Install Helm Version 3
  • 3. Configure Kubectl
  • 4. Log into OpenShift

Was this helpful?

  1. Day 1 Labs
  2. helm101

Lab 0

Previoushelm101NextLab 1

Last updated 4 years ago

Was this helpful?

This section is broken up into the following steps:

1. Access the Cloud Shell

From the , select the terminal icon in the upper lefthand menu.

2. Install Helm Version 3

Run the following commands to install Helm Version 3

wget https://get.helm.sh/helm-v3.2.0-linux-amd64.tar.gz
tar -zxvf helm-v3.2.0-linux-amd64.tar.gz
ls -al
echo 'export PATH=$HOME/linux-amd64:$PATH' > .bash_profile
source .bash_profile
helm version --short

The result is that you should have Helm Version 3 installed.

$ helm version --short
v3.2.0+ge11b7ce

3. Configure Kubectl

Run the ibmcloud ks clusters command to verify the terminal and setup for access to the cluster

ibmcloud ks clusters

Configure the kubectl cli available within the terminal for access to your cluster.

ibmcloud ks cluster config --cluster [cluster name]

Verify access to the Kubernetes API.

kubectl get namespace

You should see output similar to the following, if so, then your're ready to continue.

NAME              STATUS   AGE
default           Active   125m
ibm-cert-store    Active   121m
ibm-system        Active   124m
kube-node-lease   Active   125m
kube-public       Active   125m
kube-system       Active   125m

4. Log into OpenShift

Optionally, if you would like to use OpenShift for this lab, then you will need to authenticate with the OpenShift console before continuing.

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=...

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.

IBM Cloud Home Page
IBM Cloud Home Page
Access the Cloud Shell
Install Helm Version 3
Configure Kubectl
Log into OpenShift
Terminal Button
correct account
Kubernetes Menu
cluster homepage
copy login command