/openshift-starter-guides

Getting Started with OpenShift for Developers Workshop

Primary LanguageHandlebarsApache License 2.0Apache-2.0

OpenShift Starter Guides for Developers

docs

Overview

Audience Experience Level

Beginner

Average Time to Complete

90 minutes

This workshop is intended to give you a hands on introduction to using OpenShift from the perspective of a Developer.

Containers are a standardized way to package apps with all of their dependencies to simplify deployment and speed delivery. Unlike virtual machines, containers do not bundle to the operating system. Only the application code, run time, libraries, and settings are packaged inside of containers. Thus, containers are more lightweight, portable, and efficient as compared to virtual machines.

For developers looking to kickstart their projets, OpenShift enables efficient application development through streamlined workflows and validated integrations.

You can run this Lab on any OpenShift cluster, either Managed and Self-Managed, just git it a try!

  • OCP

  • Developer Sandbox

  • CRC

  • ARO

  • ROKS

  • ROSA

Workshop Topology

Objectives

  • Using the OpenShift command line (CLI) and Web Console.

  • Deploying an application using a pre-existing Container Image.

  • Working with application Labels to identify component parts.

  • Scaling up your application in order to handle web traffic.

  • Exposing your application to users outside of the cluster.

  • Viewing and working with Logs generated by your application.

  • Accessing your application container and interacting with it.

  • Giving access to other users to collaborate on your application.

  • Deploying an application from Source Code in a Git repository.

  • Deploying a Database from the OpenShift Developer Catalog.

  • Configuring an application so it can access a database.

  • Setting up Web Hooks to enable automated application builds.

  • Additional topics may also be covered relevant to the specific programming language used by the applications being deployed.

Documentation

This workshop is based on Antora and Red Hat scholars template to build HTML based tutorials.

To start this workshop, follow the step by step tutorial link for your cluster available below:

OpenShift Java Path .NET Path Javascript Path Python Path

OpenShift 4.11

Guide

CRC 4.11

Guide

OpenShift 4.11 Playground

Guide

OpenShift 4.8

Guide

OpenShift 4.7

Guide

Guide

Guide

Guide

CRC 4.7

Guide

Guide

Guide

Guide

Lab Parameters

This lab supports both Antora variables than query parameters. Query params makes the workshop content dynamic, like URLs specific for your cluster to copy and paste.

Note
In the table above, CRC and Playground links use them.

Here’s the list of all query params used (they are all optional, but generated links won’t work unless at least CLUSTER_SUBDOMAIN is set):

PARAM Description

CLUSTER_SUBDOMAIN

The subdomain for your OpenShift cluster in the form apps.<cluster_name>.<base_domain>, e.g. apps.openshift.mydomain.tld

USERNAME

The username of your OpenShift cluster

PASSWORD

The password for your OpenShift cluster

LOGIN

Only for ROKS clusters, the IBM Cloud login URL for authentication

Example:

Contributing

Please refer to the how to contribute on how you can contribute to the tutorial.