Install the GitOps Argo CD manifests from an RPM package

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.

The microshift-gitops RPM package includes the necessary manifests to run core Argo CD.

Important

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

Prerequisites
  • You installed MicroShift version 4.16 or later.

  • You configured 250MB RAM of additional storage.

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
  2. Install the MicroShift GitOps package by running the following command:

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

    $ sudo systemctl restart microshift
Verification
  • You can verify that your pods are running properly by entering the following command:

    $ oc get pods -n openshift-gitops
    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