cloudpakforapplications-appmod
workshop-10-01-2020
workshop-10-01-2020
  • Introduction
  • Setup / Pre-work
    • 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
      • Setup Helm
      • Lab 1 - Deploy Application
      • Lab 2 - Update Application
      • Lab 3 - Revisions
      • Lab 4 - Helm Repositories
    • Lab: Jenkins and Kubernetes
  • Day 2
    • Lab: Deploy Microservices on IKS
    • Lab: Kubernetes Extensions
      • Access Cognitive Class
      • Setup Tools
      • Custom Resources and Operators
    • 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
  • Resources
    • IBM Developer
Powered by GitBook
On this page
  • 1. Access the Cloud Shell
  • 2. Alias Helm Version 3
  • 3. Configure Kubectl

Was this helpful?

  1. Day 1
  2. Lab: Helm 101

Setup Helm

PreviousLab: Helm 101NextLab 1 - Deploy Application

Last updated 4 years ago

Was this helpful?

For the Helm labs of this workshop we will be using Helm Version 3. If you are running the labs using the IBM Cloud Shell, we need to complete a couple of setup steps before we proceed. This section is broken up into the following steps:

1. Access the Cloud Shell

If you do not already have it open from the workshop setup section, go ahead and open the Cloud shell.

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

Note: Ensure the cloud shell is using the same account where your cluster is provisioned. Ensure that the account name shown in the top right of the screen, next to Current account is the correct one.

2. Alias Helm Version 3

The Cloud Shell comes with both Helm 2 and Helm 3 versions. To make sure we use the Helm Version 3 variant, we will create an alias.

  1. Run the following commands to install Helm Version 3

alias helm=helm3
helm version --short

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

$ helm version --short
v3.2.1+gfe51cd1

3. Configure Kubectl

If you have not setup your kubectl to access your cluster, you can do so in the Cloud Shell.

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

    ibmcloud ks clusters
  2. Configure the kubectl cli available within the terminal for access to your cluster. If you previously stored your cluster name to an environment variable, use that (ie. $CLUSTER_NAME), otherwise copy and paste your cluster name from the previous commands output to the $CLUSTER_NAME portion below.

    ibmcloud ks cluster config --cluster $CLUSTER_NAME
  3. Verify access to the Kubernetes API by getting the namespaces.

    kubectl get namespace
  4. 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
IBM Cloud Home Page
Access the Cloud Shell
Install Helm Version 3
Configure Kubectl
Terminal Button