此内容没有您所选择的语言版本。

Chapter 1. Installing optional RPM packages


When you install MicroShift, you can add optional RPM packages to help manage your deployments. Examples of optional RPMs include those designed to expand your network, add and manage Operators, and manage applications. Use the following procedures to add the packages that you need.

You can use a lightweight version of Red Hat OpenShift GitOps with MicroShift to help manage your applications by installing the microshift-gitops RPM package. You can consistently configure and deploy Kubernetes-based infrastructure and applications across node and development lifecycles by using the declarative GitOps engine. The microshift-gitops RPM package includes the necessary manifests to run core Argo CD.

Important

The Argo CD CLI is not available on MicroShift. This process installs basic GitOps functions.

Prerequisites

  • You installed MicroShift version 4.14 or newer.
  • You configured 250MB of additional RAM.

Procedure

  1. Enable the GitOps repository with the subscription manager by running the following command:

    $ sudo subscription-manager repos --enable=gitops-1.16-for-rhel-9-$(uname -m)-rpms
    Copy to Clipboard Toggle word wrap
  2. Install the MicroShift GitOps package by running the following command:

    $ sudo dnf install -y microshift-gitops
    Copy to Clipboard Toggle word wrap
  3. To deploy Argo CD pods, restart MicroShift by running the following command:

    $ sudo systemctl restart microshift
    Copy to Clipboard Toggle word wrap

Verification

  • Verify that your pods are running by entering the following command:

    $ oc get pods -n openshift-gitops
    Copy to Clipboard Toggle word wrap

    Example output

    NAME                                  READY   STATUS    RESTARTS   AGE
    argocd-application-controller-0       1/1     Running   0          4m11s
    argocd-redis-56844446bc-dzmhf         1/1     Running   0          4m12s
    argocd-repo-server-57b4f896cf-7qk8l   1/1     Running   0          4m12s
    Copy to Clipboard Toggle word wrap

1.2. Installing the multiple networks plugin

You can install the MicroShift Multus Container Network Interface (CNI) plugin alongside a new MicroShift installation. If you want to attach additional networks to a pod for high-performance network configurations, install the microshift-multus RPM package.

Important

Uninstalling the MicroShift Multus CNI is not supported.

Procedure

  • Install the Multus RPM package by running the following command:

    $ sudo dnf install microshift-multus
    Copy to Clipboard Toggle word wrap
    Tip

    If you create your custom resources (CRs) while you are completing your installation of MicroShift, you can avoid restarting the service to apply them.

Next steps

  • Continue with your new MicroShift installation, including any add-ons.
  • Create the custom resources (CRs) needed for your MicroShift Multus CNI plugin.
  • Configure other networking CNIs as needed.
  • After you have finished installing all of the RPMs that you want to include, start the MicroShift service. The MicroShift Multus CNI plugin is automatically deployed.

When you install MicroShift, the Operator Lifecycle Manager (OLM) package is not installed by default. You can install the OLM on your MicroShift instance by using an RPM package. OLM helps you install, update, and manage the lifecycle of Kubernetes native applications (Operators) and their associated services running in each MicroShift node.

Procedure

  1. Install the OLM package by running the following command:

    $ sudo dnf install microshift-olm
    Copy to Clipboard Toggle word wrap
  2. To apply the manifest from the package to an active node, run the following command:

    $ sudo systemctl restart microshift
    Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat