O'Reilly logo
live online training icon Live Online training

Kubernetes and OpenShift for Developers

Hands-on with OpenShift Developer Tools and Services

Topic: System Administration
Jan Kleinert

As organizations are increasingly moving toward containerized applications and cloud-native development, understanding Kubernetes and how to work with it productively is becoming more and more important. This training introduces web and application developers to Red Hat OpenShift, an enterprise Kubernetes platform, and gives you hands-on experience with some of the developer tools, services, and features of OpenShift that can help you be more productive.

We’ll start with a short introduction to Kubernetes and OpenShift, before we begin exploring the features of OpenShift and developer tools that are available to improve the developer experience of working with Kubernetes. You’ll learn how to use the developer perspective of the OpenShift web console, developer-focused command line tools like odo, the OpenShift Connector VS Code extension, OpenShift Pipelines for cloud-native CI/CD, and more.

What you'll learn-and how you can apply it

  • What Kubernetes is and what it is not
  • Basic Kubernetes resource types
  • What OpenShift is and how it relates to Kubernetes
  • How to navigate the developer perspective of the OpenShift web console, different options for deploying applications, and how to get the most out of the topology view
  • How to use the odo command line tool for fast, iterative development
  • How to install and use the OpenShift Connector extension for VS Code
  • How to get started with cloud-native CI/CD using OpenShift Pipelines
  • Options for installing OpenShift locally, in the public cloud, or on premises

This training course is for you because...

  • You are a web or application developer with a basic familiarity with Kubernetes and OpenShift, who wants to learn how to build and deploy applications on OpenShift.
  • You want to understand what features and tools are available for OpenShift to make the development process easier, faster, or more productive.

Prerequisites

  • Basic Linux command line experience
  • Basic familiarity with Kubernetes and OpenShift

Course Set-up

  • A modern web browser with JavaScript enabled
  • A GitHub account, to be able to fork sample repos and set up web hooks
  • VS Code installed, in order to be able to use the OpenShift Connector VS Code extension

Recommended Preparation

If you do not have any experience with Linux:

If you do not have any experience with OpenShift: - Live Online Training: Getting Started with OpenShift by Sander van Vugt (search the O’Reilly Learning Platform for an upcoming date)

Recommended Follow-up

About your instructor

  • Jan Kleinert leads the OpenShift Developer Advocacy team at Red Hat, where she focuses on OpenShift and developer experience. She has over 15 years of experience including software engineering, web analytics, and developer relations at Google, SAS, and Bloomberg LP. Jan is a frequent speaker at developer conferences, and her varied background helps her understand different approaches to learning and solving problems.

Schedule

The timeframes are only estimates and may vary according to how the class is progressing

Segment 1: Introduction to Kubernetes and OpenShift Length (30 min)

  • Why do we need Kubernetes?
  • Overview of what Kubernetes is and what it is not
  • Attendees will access and get acquainted with the interactive demo environment.
  • Interacting with Kubernetes via the API and kubectl
  • Overview of basic Kubernetes resources
  • What is OpenShift and how does it relate to Kubernetes?
  • The oc command line tool: What is it? How is it different from kubectl?

Segment 2: Navigating the OpenShift web console’s developer perspective Length (20 min)

  • Learn how to access the OpenShift Web Console and explore the Administrator and Developer perspectives.
  • Understand the different ways to deploy applications and consume services.
  • Use the topology view to help you visualize and interact with applications deployed on the cluster.
  • Q&A (5 min)
  • Break (5 min)

Segment 3: Iterative Development with the odo command line tool Length (30 min)

  • Introduction to odo, a command line tool for developers to help with inner-loop development.
  • Deploy an application made of multiple components
  • Learn how to use interactive mode
  • Link components within an application
  • Use odo watch for iterative development

Segment 4: Using the OpenShift Connector Extensions for VS Code Length (30 min)

  • Install the OpenShift Connector extension for VS Code
  • Learn how to connect to an OpenShift cluster using the extension
  • Explore how the OpenShift Connector works and see how it compares to using odo
  • Q&A (5 min)
  • Break (5 min)

Segment 4: Intro to Cloud-Native CI/CD, Tekton, and OpenShift Pipelines Length (30 min)

  • What do we mean by cloud-native CI/CD?
  • Overview of Tekton and the basic building blocks including Tasks, TaskRuns, Pipelines, PipelineRuns, and Pipeline Resources
  • Overview of OpenShift Pipelines, and what it adds on top of Tekton
  • Create and run tasks and a pipeline to build and deploy an application to the cluster
  • Use the Pipelines tab in the developer perspective of the web console to interact with OpenShift Pipelines
  • Q&A (5 min)

Segment 6: Wrap-up, resources, and next steps Length (10 min)

  • Briefly review the topics covered
  • Share resources for learning more about Kubernetes and OpenShift
  • Demonstrate ways of getting access to Kubernetes and OpenShift to continue experimenting and learning
  • Q&A (5 min)