Chapter 2. Architecture


Learn the specifics of Red Hat build of MicroShift architecture including design intent, how it differs from OpenShift Kubernetes Engine, and API compatibility.

2.1. Architectural design

MicroShift is a single-node container orchestration runtime designed to extend the benefits of using containers for running applications to low-resource edge environments. Because MicroShift is primarily a platform for deploying applications, only the APIs and features essential to operating in edge and small form factor computing environments are included.

For example, MicroShift contains only the following Kubernetes cluster capabilities:

  • Networking
  • Ingress
  • Storage

MicroShift also provides the following Kubernetes functions:

  • Orchestration
  • Security

To optimize your deployments, use MicroShift with a compatible operating system, such as Red Hat Enterprise Linux for Edge (RHEL for Edge). Using MicroShift and Red Hat Enterprise Linux for Edge (RHEL for Edge) together forms Red Hat Device Edge. Virtual machines are handled by the operating system in MicroShift deployments.

Figure 2.1. Red Hat build of MicroShift as part of Red Hat Device Edge.

<Red Hat build of MicroShift is tasked with only the Kubernetes cluster services networking

The following operational differences from OpenShift Kubernetes Engine can help you understand where MicroShift can be deployed:

2.2. Key differences from OpenShift Kubernetes Engine

  • Devices with MicroShift installed are self-managing
  • Compatible with RPM-OStree-based systems
  • Uses only the APIs needed for essential functions, such as security and runtime controls
  • Enables a subset of commands from the OpenShift CLI (oc) tool
  • Does not support workload high availability (HA) or horizontal scalability with the addition of worker nodes

Figure 2.2. Red Hat build of MicroShift differences from OpenShift Kubernetes Engine.

<MicroShift is tasked with only the Kubernetes cluster capabilities of networking

The figure "Red Hat build of MicroShift differences from OpenShift Kubernetes Engine" shows that OpenShift Kubernetes Engine has the same cluster capabilities as Red Hat build of MicroShift, and adds the following information:

  • Install
  • Over-the-air updates
  • Cluster Operators
  • Operator Lifecycle Manager
  • Monitoring
  • Logging
  • Registry
  • Authorization
  • Console
  • Cloud Integration
  • Virtual Machines (VMs) through OpenShift Virtualization

In OpenShift Kubernetes Engine and other OpenShift Container Platform deployments, all of the components from the operating system through the cluster capabilities work as one comprehensive unit, with full cluster services for a multi-node Kubernetes workload. With MicroShift, functions such as over-the-air-updates, monitoring, and logging, are performed by the operating system.

2.3. MicroShift OpenShift APIs

In addition to standard Kubernetes APIs, MicroShift includes a small subset of the APIs supported by OpenShift Container Platform.

APIAPI group

Route

route.openshift.io/v1

SecurityContextConstraints

security.openshift.io/v1

2.4. MicroShift Kubernetes APIs

The Kubernetes API is fully accessible within MicroShift and can be managed with the kubectl command-line tool or the OpenShift Container Platform CLI tool (oc). The oc binary is compatible with kubectl and offers a set of features that can be used with MicroShift. Using these command-line tools with MicroShift can help you access all of the resources you need to work with your deployments.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.