|
| 1 | +:_mod-docs-content-type: ASSEMBLY |
| 2 | +[id="microshift-gitops"] |
| 3 | += Automating application management with the GitOps controller |
| 4 | +include::_attributes/attributes-microshift.adoc[] |
| 5 | +:context: microshift-gitops |
| 6 | + |
| 7 | +toc::[] |
| 8 | + |
| 9 | +GitOps with Argo CD for {microshift-short} is a lightweight, optional add-on controller derived from the Red Hat OpenShift GitOps Operator. GitOps for {microshift-short} uses the command-line interface (CLI) of Argo CD to interact with the GitOps controller that acts as the declarative GitOps engine. You can consistently configure and deploy Kubernetes-based infrastructure and applications across clusters and development lifecycles. |
| 10 | + |
| 11 | +[id="microshift-gitops-can-do_{context}"] |
| 12 | +== What you can do with the GitOps agent |
| 13 | +By using the GitOps with Argo CD agent with {microshift-short}, you can utilize the following principles: |
| 14 | + |
| 15 | +* Implement application lifecycle management. |
| 16 | +** Create and manage your clusters and application configuration files using the core principles of developing and maintaining software in a Git repository. |
| 17 | +** You can update the single repository and GitOps automates the deployment of new applications or updates to existing ones. |
| 18 | +** For example, if you have 1,000 edge devices, each using {microshift-short} and a local GitOps agent, you can easily add or update an application on all 1,000 devices with just one change in your central Git repository. |
| 19 | +* The Git repository contains a declarative description of the infrastructure you need in your specified environment and contains an automated process to make your environment match the described state. |
| 20 | +* You can also use the Git repository as an audit trail of changes so that you can create processes based on Git flows such as review and approval for merging pull requests that implement configuration changes. |
| 21 | + |
| 22 | +[id="microshift-gitops-cannot-do_{context}"] |
| 23 | +== Limitations of using the GitOps agent with {microshift-short} |
| 24 | +GitOps with Argo CD for {microshift-short} has the following differences from the Red Hat OpenShift GitOps Operator: |
| 25 | + |
| 26 | +* The `gitops-operator` component is not used with {microshift-short}. |
| 27 | +* To maintain the small resource use of {microshift-short}, the Argo CD web console is not available. You can use the Argo CD CLI or use a pull-based approach. |
| 28 | +* Because {microshift-short} is single-node, there is no multi-cluster support. Each instance of {microshift-short} is paired with a local GitOps agent. |
| 29 | +* Use sos reports for debugging because `oc adm must-gather` is not available in {microshift-short}. |
| 30 | + |
| 31 | +[id="additional-resources_microshift-gitops_{context}"] |
| 32 | +[role="_additional-resources"] |
| 33 | +== Additional resources |
| 34 | +* link:https://access.redhat.com/documentation/en-us/red_hat_openshift_gitops/1.12[Red Hat OpenShift GitOps] |
| 35 | + |
| 36 | +* xref:../microshift_support/microshift-sos-report.adoc#microshift-sos-report[Using sos reports] |
0 commit comments