Pass4Future also provide interactive practice exam software for preparing RedHat Red Hat Certified Specialist in OpenShift Automation and Integration (EX380) Exam effectively. You are welcome to explore sample free RedHat EX380 Exam questions below and also try RedHat EX380 Exam practice test software.
Do you know that you can access more real RedHat EX380 exam questions via Premium Access? ()
SIMULATION
Task SIMULATION 25
Create an Argo CD Application (OpenShift GitOps)
Task Information: Create an Argo CD Application that syncs from Git into namespace gitops-demo with automated sync enabled.
Answer : A
Create target namespace
oc new-project gitops-demo
Destination must exist (unless Argo is configured to auto-create).
Create Application manifest
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: demo-app
namespace: openshift-gitops
spec:
project: default
source:
repoURL: https://git.example.com/org/repo.git
targetRevision: main
path: manifests/demo
destination:
server: https://kubernetes.default.svc
namespace: gitops-demo
syncPolicy:
automated:
prune: true
selfHeal: true
automated: enables auto sync.
prune: removes deleted objects from Git.
selfHeal: corrects drift.
Apply Application
oc apply -f demo-app.yaml
Verify sync health
oc -n openshift-gitops get application demo-app -o yaml | grep -i -E 'sync|health' -n
oc -n gitops-demo get all
==========