Minishift
Minishift
and Preparation
https://github.com/mgonzalezo/RedHat_ex280
OpenShift consists of multiple components that work together to provide a robust platform for
containerized applications. These include:
The OpenShift API Server extends Kubernetes with additional APIs for authentication,
security, and multi-tenancy.
The Web Console provides an intuitive interface for managing applications, projects, and
deployments.
e) OpenShift Router
OpenShift is designed around Kubernetes, and it integrates Docker (or container runtimes like
CRI-O) to manage containerized workloads.
b) Container Registries
1. Public Registries – OpenShift can pull container images from Docker Hub, Quay.io, or
other public registries.
2. OpenShift Internal Registry – OpenShift includes an internal registry (image-
registry.openshift-image-registry.svc) that stores private images for use within
the cluster.
OpenShift deploys and manages applications using Pods, Deployments, and Services.
a) Pods
b) Deployments
Deployments manage Pods and ReplicaSets, ensuring the desired number of replicas run.
Supports rolling updates, blue-green deployments, and canary releases.
c) Services
d) Routes
4. Workflow Example
Conclusion
OpenShift provides deep integration with GitHub, GitLab, Bitbucket, and other SCM tools for
automated builds and deployments. Features like webhooks, Source-to-Image (S2I), Tekton Pipelines,
Jenkins, and ArgoCD enable seamless CI/CD workflows, making OpenShift a powerful platform for
modern DevOps automation.
Upload your application code to source code repository in order to deploy it to open shift.
It builds the code using a pre-defined build configuration into a docker image which is then pushed into
the built in docker registry. It then create a deployment.
Create a docker file/image to package this application code: