mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 15:46:57 +01:00
61 lines
1.7 KiB
Plaintext
61 lines
1.7 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// microshift/microshift-install-rpm.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="microshift-installing-rpms-for-gitops_{context}"]
|
|
= Installing the GitOps Argo CD manifests from an RPM package
|
|
|
|
You can use a lightweight version of OpenShift GitOps with {microshift-short} to help manage your applications. Install the necessary Argo CD manifests using an RPM package. This RPM package included the necessary manifests that runs core Argo CD.
|
|
|
|
[IMPORTANT]
|
|
====
|
|
This process installs the basic GitOps functionalities. The Argo CD CLI is not available on {microshift-short}.
|
|
====
|
|
|
|
.Prerequisites
|
|
|
|
* You installed {microshift-short} version 4.14 or higher
|
|
* Additional RAM storage of 250MB recommended
|
|
|
|
.Procedure
|
|
|
|
. Enable the GitOps repository with the subscription manager by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo subscription-manager repos --enable=gitops-1.12-for-rhel-9-$(uname -m)-rpms
|
|
----
|
|
|
|
. Install the GitOps package by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo dnf install -y microshift-gitops
|
|
----
|
|
|
|
. To deploy Argo CD pods, restart the {microshift-short} service by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo systemctl restart microshift
|
|
----
|
|
|
|
.Verification
|
|
|
|
* You can verify that your pods are running properly by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get pods -n openshift-gitops
|
|
----
|
|
+
|
|
.Example output
|
|
[source,terminal]
|
|
----
|
|
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
|
|
----
|