mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// microshift_running_apps/microshift-gitops.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="microshift-gitops-debug_{context}"]
|
|
= Debugging GitOps with oc adm inspect
|
|
|
|
You can debug GitOps by using the {oc-first}.
|
|
|
|
.Prerequisites
|
|
|
|
* The `oc` command-line tool is installed.
|
|
|
|
.Procedure
|
|
|
|
. Run the `oc adm inspect` command when in the GitOps namespace:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc adm inspect ns/openshift-gitops
|
|
----
|
|
+
|
|
.Example output
|
|
[source,terminal]
|
|
----
|
|
Gathering data for ns/openshift-gitops...
|
|
W0501 20:34:35.978508 57625 util.go:118] the server doesn't have a resource type egressfirewalls, skipping the inspection
|
|
W0501 20:34:35.980881 57625 util.go:118] the server doesn't have a resource type egressqoses, skipping the inspection
|
|
W0501 20:34:36.040664 57625 util.go:118] the server doesn't have a resource type servicemonitors, skipping the inspection
|
|
Wrote inspect data to inspect.local.2673575938140296280.
|
|
----
|
|
|
|
.Next steps
|
|
* If `oc adm inspect` did not provide the information you need, you can run an sos report. |