1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

OSDOCS#9729: Installing gitops on microshift

This commit is contained in:
Kelly Brown
2024-03-12 09:30:43 -04:00
committed by openshift-cherrypick-robot
parent 7a98998151
commit 3c56693b2e
2 changed files with 62 additions and 0 deletions

View File

@@ -46,6 +46,8 @@ include::modules/microshift-install-rpms-olm.adoc[leveloffset=+1]
* xref:../microshift_install/microshift-install-rpm.adoc#microshift-install-rpm-preparing_microshift-install-rpm[Preparing to install MicroShift from an RPM package]
* xref:../microshift_running_apps/microshift-operators-olm.adoc#microshift-operators-olm[Using Operator Lifecycle Manager with {microshift-short}]
include::modules/microshift-install-rpms-gitops.adoc[leveloffset=+1]
include::modules/microshift-service-starting.adoc[leveloffset=+1]
include::modules/microshift-service-stopping.adoc[leveloffset=+1]

View File

@@ -0,0 +1,60 @@
// 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 the 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 currently 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
----