Getting started


Red Hat build of MicroShift 4.14

Getting started with MicroShift

Red Hat OpenShift Documentation Team

Abstract

This document provides information to help you get started with MicroShift. You can find topics such as the architecture, Kubernetes overview, and how and where to use MicroShift.

Chapter 1. Understanding MicroShift

Get an overview of what you can do with MicroShift, a Kubernetes distribution derived from OpenShift Container Platform that is designed for optimizing small form factor devices and edge computing.

1.1. About MicroShift

Working with resource-constrained field environments and hardware presents many challenges not experienced with cloud computing. MicroShift enables you to solve problems for edge devices by:

  • Running the same Kubernetes workloads you run in the cloud, but at the edge.
  • Overcoming the operational challenge of minimal system resources.
  • Addressing the environmental challenges of severe networking constraints such as low or no connectivity.
  • Meeting the physical constraint of hard-to-access locations by installing your system images directly on edge devices.
  • Building on and integrating with edge-optimized operating systems such as Red Hat Enterprise Linux for Edge (RHEL for Edge).

MicroShift has the simplicity of single-node deployment with the functions and services you need for computing in resource-constrained locations. You can have many deployments on different hosts, creating the specific system image needed for each of your applications.

Chapter 2. Architecture

Learn the specifics 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
  • Helm

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. MicroShift as part of Red Hat Device Edge.

<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. MicroShift differences from OpenShift Kubernetes Engine.

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

The figure "MicroShift differences from OpenShift Kubernetes Engine" shows that OpenShift Kubernetes Engine has the same cluster capabilities as 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.

Additional resources

Legal Notice

Copyright © 2024 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
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.