Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/redhat-scholars/openshift-starter-guides

Getting Started with OpenShift for Developers Workshop
https://github.com/redhat-scholars/openshift-starter-guides

appdev cloudnative dotnet dotnet-core3-1 java javascript kubernetes nodejs openshift pipelines python tekton

Last synced: 6 days ago
JSON representation

Getting Started with OpenShift for Developers Workshop

Awesome Lists containing this project

README

        

# OpenShift Starter Guides for Developers

image::https://github.com/redhat-scholars/openshift-starter-guides/workflows/docs/badge.svg[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 https://openshift.com[OpenShift] from the perspective of a Developer.

https://www.redhat.com/en/topics/containers/whats-a-linux-container-vb[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 https://www.redhat.com/en/technologies/cloud-computing/openshift/try-it[try,window=_blank]!

* OCP
* Developer Sandbox
* CRC
* ARO
* ROKS
* ROSA

image::topology.gif[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 link:https://antora.org/[Antora] and link:https://github.com/redhat-scholars/courseware-template[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:

[%header,cols=5*]
|===
|OpenShift
|Java Path
|.NET Path
|Javascript Path
|Python Path

|link:https://www.openshift.com/try[OpenShift 4.11]
|link:https://redhat-scholars.github.io/openshift-starter-guides/rhs-openshift-starter-guides/4.11/index.html?PROJECT=workshop[Guide]
|
|
|

|link:https://developers.redhat.com/products/codeready-containers/overview[CRC 4.11]
|link:https://redhat-scholars.github.io/openshift-starter-guides/rhs-openshift-starter-guides/4.11/index.html?CLUSTER_SUBDOMAIN=apps-crc.testing&PROJECT=workshop[Guide]
|
|
|

|link:https://developers.redhat.com/courses/explore-openshift/openshift-49-playground[OpenShift 4.11 Playground]
|link:https://redhat-scholars.github.io/openshift-starter-guides/rhs-openshift-starter-guides/4.11/index.html?USERNAME=admin&PASSWORD=admin&PROJECT=workshop[Guide]
|
|
|

|link:https://www.openshift.com/try[OpenShift 4.8]
|link:https://redhat-scholars.github.io/openshift-starter-guides/rhs-openshift-starter-guides/4.8/index.html?PROJECT=workshop[Guide]
|
|
|

|link:https://www.openshift.com/try[OpenShift 4.7]
|link:https://redhat-scholars.github.io/openshift-starter-guides/[Guide]
|link:https://redhat-scholars.github.io/openshift-starter-guides-dotnet/[Guide]
|link:https://redhat-scholars.github.io/openshift-starter-guides-javascript/[Guide]
|link:https://redhat-scholars.github.io/openshift-starter-guides-python/[Guide]

|link:https://developers.redhat.com/products/codeready-containers/overview[CRC 4.7]
|link:https://redhat-scholars.github.io/openshift-starter-guides/rhs-openshift-starter-guides/4.7/index.html?CLUSTER_SUBDOMAIN=apps-crc.testing[Guide]
|link:https://redhat-scholars.github.io/openshift-starter-guides-dotnet/rhs-openshift-starter-guides-dotnet/4.6/index.html?CLUSTER_SUBDOMAIN=apps-crc.testing[Guide]
|link:https://redhat-scholars.github.io/openshift-starter-guides-javascript/rhs-openshift-starter-guides-javascript/4.6/index.html?CLUSTER_SUBDOMAIN=apps-crc.testing[Guide]
|link:https://redhat-scholars.github.io/openshift-starter-guides-python/rhs-openshift-starter-guides-python/4.6/index.html?CLUSTER_SUBDOMAIN=apps-crc.testing[Guide]

|===

### Lab Parameters

This lab supports both link:site.yml#L17[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):

[%header,cols=2*]
|===
|PARAM
|Description

|`CLUSTER_SUBDOMAIN`
|The subdomain for your OpenShift cluster in the form `apps..`, 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:

https://redhat-scholars.github.io/openshift-starter-guides/rhs-openshift-starter-guides/4.11/index.html?CLUSTER_SUBDOMAIN=apps-crc.testing&USERNAME=developer&PASSWORD=developer&PROJECT=workshop

## Contributing

Please refer to the link:CONTRIBUTING.adoc#contributing-guide[how to contribute] on how you can contribute to the tutorial.