-
A Quickcluster cluster.
-
Use setup-nfs-quickcluster.sh to setup NFS.
- Install the OpenShift GitOps Operator
oc create -f install-openshift-gitops-operator.yaml
Once the the operator installation is complete, the link to Argo CD will be visible from the OpenShift Console. Argo CD should be also accessible through this link: https://openshift-gitops-server-openshift-gitops.apps.[cluster_host]
Example for cluster_host: 'mycluster.lab.psi.pnq2.redhat.com'.
You can get the information from the Quickcluster cluster page.
- Create the Argo CD logging app
oc create -f argocd-app.yaml
After a successful deployment, the sync indicator should indicate Synced
and the
overall health status of the app should be Healthy
.
- Apply the logging health checks
oc apply -f health-checks.yaml -n openshift-gitops
For example, clusterlogforwarder
before applying the Argo CD health check:
clusterlogforwarder
after applying the Argo CD health check:
- Open Splunk in your browser with the following command:
xdg-open "$(oc get route splunk-web --template='{{.spec.host}}' --namespace=splunk)"
- Login with u:admin/p:Password.
- Run a Splunk query against the index
rh_rhtap_dev_audit
orrh_rhtap_dev_app
.
E.g:index="rh_rhtap_dev_audit"
Relevant pod logs can be found in the following namespaces:
Namespace | Description |
---|---|
openshift-operators | openshift-gitops-operator, external-secrets-operator |
external-secrets | External Secrets resources |
splunk | Splunk resources |
external-secrets
operatorconfig fails to sync with the following error:
The Kubernetes API could not find operator.external-secrets.io/OperatorConfig for
requested resource external-secrets/cluster. Make sure the "OperatorConfig" CRD is
installed on the destination cluster.
How to resolve:
- Terminate the current sync attempt.
- sync the
external-secrets
namespace. - sync the
external-secrets-operator
- Everything else should sync successfully.