Back to Catalog

Deploying a Docker Image to a Kubernetes Cluster

IntermediateGuided Project

Kubernetes is a leading system for containerized workloads. In this hands-on guided project, you will learn how to build and deploy a Docker image to a local Kubernetes cluster within an IBM cloud-based environment.

4.5 (46 Reviews)

Language

  • English

Topic

  • Cloud Development

Enrollment Count

  • 242

Skills You Will Learn

  • DevOps, Docker, Kubernetes, OpenShift

Offered By

  • IBMSkillsNetwork

Estimated Effort

  • 20 minutes

Platform

  • SkillsNetwork

Last Update

  • April 29, 2024
About This Guided Project
Companies worldwide use Kubernetes to automate the deployment, management, and scaling of container-based applications. With companies continuing to adopt containerization, Kubernetes skills are highly in demand.

In this hands-on guided project, you will learn how to build and deploy a Docker image to a local Kubernetes cluster within an IBM cloud-based environment.

You’ll also learn how to use the openshift-client ClusterTask from the Tekton catalog, as well as how to modify your pipeline to reference the task as a ClusterTask. Then, you’ll gain valuable skills, such as how to pass additional parameters and how to run the pipeline to deploy an image to OpenShift. 

Completing this project can set you up to effectively work with Kubernetes as you perform more complex operations with pipelines and containers. 

A Look at the Project Ahead

After completing this project, you'll be able to:
  • Determine if the openshift-client ClusterTask is available on your cluster
  • Describe the parameters required to use the openshift-client ClusterTask
  • Use the openshift-client ClusterTask in a Tekton pipeline to deploy your Docker image to Kubernetes

What You'll Need

For this project, you will need:
  • Familiarity with the basics of Kubernetes
  • Familiarity with ClusterTask in a Tekton
  • A web browser

You’ll have access to a Cloud-based IDE that includes all of the required software, including Kubernetes, pre-installed. All you need is a recent version of a modern web browser to complete this project. 

Instructors

John Rofrano

Senior Technical Staff Member | DevOps Champion

John J. Rofrano is a Senior Technical Staff Member and DevOps Champion at IBM T.J. Watson Research Center where he leads a variety of research projects exploring the use of AI for accelerating Application Modernization to the Cloud. He is also an Adjunct Faculty Member at New York University Courant Institute, and Stern School of Business @ NYU, where he teaches a graduate course on DevOps and Agile Methodologies. John is an accomplished musician and videographer, and has authored numerous patents, industry papers, training videos, and books.

Read more