Skip to content

Commit a7b7a16

Browse files
authored
Merge pull request #72974 from kelbrown20/OSDOCS-9729
OSDOCS#9729: Installing GitOps on MicroShift
2 parents c8c3a7a + b7e4e29 commit a7b7a16

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed

microshift_install/microshift-install-rpm.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ include::modules/microshift-install-rpms-olm.adoc[leveloffset=+1]
4646
* xref:../microshift_install/microshift-install-rpm.adoc#microshift-install-rpm-preparing_microshift-install-rpm[Preparing to install MicroShift from an RPM package]
4747
* xref:../microshift_running_apps/microshift-operators-olm.adoc#microshift-operators-olm[Using Operator Lifecycle Manager with {microshift-short}]
4848

49+
include::modules/microshift-install-rpms-gitops.adoc[leveloffset=+1]
50+
4951
include::modules/microshift-service-starting.adoc[leveloffset=+1]
5052

5153
include::modules/microshift-service-stopping.adoc[leveloffset=+1]
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// Module included in the following assemblies:
2+
//
3+
// microshift/microshift-install-rpm.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="microshift-installing-rpms-for-gitops_{context}"]
7+
== Installing the GitOps Argo CD manifests from an RPM package
8+
9+
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.
10+
11+
[IMPORTANT]
12+
====
13+
This process installs the basic GitOps functionalities, the Argo CD CLI is not currently available on {microshift-short}.
14+
====
15+
16+
.Prerequisites
17+
18+
* You installed {microshift-short} version 4.14 or higher
19+
* Additional RAM storage of 250MB recommended
20+
21+
.Procedure
22+
23+
. Enable the GitOps repository with the subscription manager by running the following command:
24+
+
25+
[source,terminal]
26+
----
27+
$ sudo subscription-manager repos --enable=gitops-1.12-for-rhel-9-$(uname -m)-rpms
28+
----
29+
30+
. Install the GitOps package by running the following command:
31+
+
32+
[source,terminal]
33+
----
34+
$ sudo dnf install -y microshift-gitops
35+
----
36+
37+
. To deploy Argo CD pods, restart the {microshift-short} service by running the following command:
38+
+
39+
[source,terminal]
40+
----
41+
$ sudo systemctl restart microshift
42+
----
43+
44+
.Verification
45+
46+
* You can verify that your pods are running properly by running the following command:
47+
+
48+
[source,terminal]
49+
----
50+
$ oc get pods -n openshift-gitops
51+
----
52+
+
53+
.Example output
54+
[source,terminal]
55+
----
56+
NAME READY STATUS RESTARTS AGE
57+
argocd-application-controller-0 1/1 Running 0 4m11s
58+
argocd-redis-56844446bc-dzmhf 1/1 Running 0 4m12s
59+
argocd-repo-server-57b4f896cf-7qk8l 1/1 Running 0 4m12s
60+
----

0 commit comments

Comments
 (0)