
Explore OpenShift, a container-based platform from Red Hat, within a course led by a passionate online instructor who updates content every couple of weeks.
OpenShift container platform enables developing and deploying containerized apps across multiple hosts in any language. It explains containerization within cloud service models like SaaS, PaaS, IaaS and supports third-party applications.
Launch a local openshift cluster in a virtual machine with minishift, select a hypervisor (virtualbox, hyper-v, or kvm), and access the web console with developer:developer, noting non-persistent by default.
Learn how to access and log into an OpenShift cluster using the web console or the OSI command line, obtain an access token, and use the REST API.
Learn how to add applications to an OpenShift project, build container images from dockerfiles or source code, and manage collaborators with roles in a secure, namespace-based cluster.
OpenShift deploys applications from external or in-cluster images and from source code via builders, using templates to simplify multi-app deployments accessed via web console or command line.
Deploy an OpenShift application from a preexisting image in an external registry, expose it publicly, configure environment variables, and scale instances to handle traffic.
Learn how to import images into OpenShift, deploy from the internal image registry, manage image streams and tags, and enforce security by running containers as non-root.
Discover how OpenShift builds and deploys from source using source-to-image builds, dockerfile-based builds, Jenkins pipelines, and custom images for runnable applications.
Explore how OpenShift triggers new builds and automatic redeployments using image change and source code triggers, configure build and runtime settings, and manage local and repository sources.
Build a container image from a dockerfile in OpenShift using the docker build strategy. See how the builder configures the image and deployment, and use environment variables and build arguments.
OpenShift uses source-to-image builders to turn application source code into runnable images with s2i workflows, annotations, and custom builders. Understand how assemble and run steps create the final image.
Create an S2I builder image for OpenShift from a Dockerfile using a base image, assemble and run scripts, and add the image stream to the catalog for easy deployment.
learn how to customize OpenShift source-to-image builds by overriding assemble and run scripts, using environment variables, config maps, or persistent volumes to tailor build and deployment.
Explore how to add, host, and override assemble and run scripts for OpenShift builds, using a web server or original repository, and update image metadata with config maps.
Learn how incremental and chain builds in OpenShift reuse build artifacts to speed up builds and reduce downloads, aided by artifact saving and tar archiving.
Enable incremental and chain builds by configuring the build spec for incremental and copying artifacts from a wheelhouse image via chain builds with a wrapper assemble script.
OpenShift automates builds and deployments by linking a git repository via a webhook, enabling automatic builds on code changes and secure access with credentials and secrets.
Learn how to manage configuration and secrets in OpenShift using environment variables and config maps. Discover injecting settings into containers and reusing config maps across deployments.
Discover how OpenShift securely handles secret information, using secrets and config maps, base64 encoding, and environment variables; create, map, edit, and delete secrets and config maps with command line operations.
Explore how OpenShift uses containers and pods, exposes services with routes and hostnames, and manages external access via DNS and fully qualified hostnames with load balancing.
OpenShift demonstrates configuring secure routes, including edge termination by the router, pass-through, and re-encrypting connections, plus port forwarding with oc port-forward to reach a pod on a local port.
OpenShift quotas and limit ranges cap total resources and objects across projects, shaping how many applications, persistent volumes, and memory or cpu you can use.
Learn how readiness and liveness probes monitor application health in OpenShift, controlling pod startup, traffic routing to endpoints, and automatic restarts through http, socket, or command checks.
Explore OpenShift application lifecycle management, detailing rolling and recreate deployment strategies, readiness probes, and lifecycle hooks to achieve zero-downtime updates and safe application restarts.
Master logging, monitoring, and debugging in OpenShift by viewing build and application logs, watching pods and events, and debugging with interactive shells and deployment configuration insights.
Red Hat OpenShift is a multifaceted, open source container application platform from Red Hat Inc. for the development, deployment and management of applications.
Rearchitected during 2016 and 2017 to take advantage of advancements in cloud technology most notably, containers OpenShift provides developers with an integrated development environment (IDE) for building and deploying Docker-formatted containers, and then managing them with the open source Kubernetes container orchestration platform.
Red Hat OpenShift is available in four models:
· OpenShift Container Platform
· OpenShift Online
· OpenShift Dedicated
· OpenShift io
Though the implementations and locations on which they run and the pricing models differ, the actual underlying OpenShift code and functionality are identical.
OpenShift Container Platform
Known as OpenShift Enterprise until a June 2016 name change, OpenShift Container Platform is a private platform as a service (PaaS) for organizations that deploy and manage OpenShift on their own on-premises hardware or on the infrastructure of a certified cloud provider.
OpenShift Container Platform is implemented as an assemblage of Docker-based application containers managed via Kubernetes orchestration, all running on an operating system foundation of Red Hat Enterprise Linux (RHEL).
OpenShift Online
Introduced in 2011, OpenShift Online is for individual developers or teams that access OpenShift as a public cloud service. OpenShift Online is implemented as an on-demand consumption model hosted on public cloud platforms, including Amazon Web Services (AWS).
The latest version of OpenShift Online, released in May 2017, provides a container-based platform that developers can access from any web browser, IDE and command line. It also provides support for local development, enabling programmers to deploy a functional OpenShift cluster on their local workstations, and it supports port forwarding, which enables developers to use remote services as if they were running locally.
OpenShift Online was built with the same code as OpenShift Container Platform, and it is the deployment platform for OpenShift io
OpenShift Dedicated
OpenShift Dedicated offers organisations the ability to run a single-tenant OpenShift environment on a public cloud managed by Red Hat while incorporating Docker and Kubernetes orchestration technologies.
At the time of its launch in December 2015, OpenShift Dedicated ran only on AWS. Support for Google Cloud Platform was added in December 2016. As of July 2017, support for Microsoft Azure is not offered.
OpenShift io
Announced in May 2017, OpenShift io is a free, open source supplement to OpenShift Online. Together, they offer an integrated approach to DevOps that incorporates tools for development teams to create and deploy microservices based applications.
OpenShift io also provides a Linux container environment and a machine learning system that assist developers with design decisions. OpenShift io encompasses several open source development technologies, including fabric8, Eclipse Chef, Jenkins, OpenJDK, Performance Co-Pilot, WildFly Swarm, Eclipse Vert.x and Spring Boot.
Why use Red Hat OpenShift
As container use increases in app development and production, services such as OpenShift offer ways to manage and automate a large amount of containers. Doing so frees up developers from the manual management of containers.
A demo of OpenShift features
Also, OpenShift can help IT organizations bridge legacy servers supporting traditional applications and modern, microservices based work. These features feed into a mobile-first approach for companies that want to produce smartphone and tablet apps quickly.
Finally, OpenShift's options promote continuous app development and common tools for development and operations teams. This approach is a cornerstone of DevOps efforts.
How Red Hat OpenShift works
According to Red Hat, the key to OpenShift lies in the combination of Docker containers and Kubernetes orchestration, both built on RHEL.
By using Docker at its model, OpenShift enables any app created with it to run anywhere else that Docker containers are supported.
After developers push code to OpenShift either through software version control or continuous integration/continuous delivery (CI CD) systems, OpenShift orchestrates how and when the apps run. It also enables dev teams to fix, fine tune and scale those apps as quickly as needed.
Containers associated with OpenShift can serve as web frameworks or stateful services, according to Red Hat.
In addition to enabling developers to create their own containers, OpenShift provides an online container catalog with contributions from Red Hat and third parties. Some popular categories include container management, mobile application development, operating systems, programming languages, logging and monitoring, and database management.