You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 22, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docs/operating-eck/troubleshooting.asciidoc
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ endif::[]
13
13
14
14
If you are an existing Elastic customer with a support contract, you can create a ticket in the link:https://support.elastic.co/[Elastic Support Portal] and provide the following information so that we can help you.
Make sure to set the correct options. Check here for link:https://github.com/elastic/cloud-on-k8s/blob/master/support/diagnostics/eck-dump.sh[the latest version].
21
+
The eck-diagnostics tool supports various command line flags. Run it with `-h` or `--help` to print all available options. The only required flag is `-r` or `--resources-namespace` which indicates the namespaces where your Elastic stack resources are deployed.
22
+
There is also `-o` or `--operator-namespaces` that indicate where the ECK operator is deployed. If you don't specify this flag the tool assumes the operator to be deployed in the `elastic-system` namespace.
27
23
28
24
[source,bash]
29
25
----
30
-
Options:
31
-
-N, --operator-namespaces Namespace(s) in which operator(s) are running in (comma-separated list)
32
-
-n, --resources-namespaces Namespace(s) in which resources are managed (comma-separated list)
33
-
-o, --output-directory Path to output dump files
34
-
-z, --create-zip Create an archive with the dump files (implies --output-directory)
By default, the tool automatically runs link:https://github.com/elastic/support-diagnostics[support diagnostics] for every Elasticsearch cluster and Kibana instance. This requires the temporary deployment of additional Pods into the Kubernetes cluster. If this is not what you want, you can turn off the feature by specifying the `--run-stack-diagnostics=false` flag.
44
30
45
31
46
32
[float]
47
33
== Example
48
34
49
-
Here is an example:
50
35
51
-
- Assuming the operator namespace is `elastic-system` and resources namespaces are `security` and `monitoring`
52
-
- Generate dump log to current folder with `eck-dump-log` prefix
53
-
- Also zip it
36
+
Assuming the ECK operator is deployed in a namespace called `operators` and Elastic stack resources are deployed in the `security` and `monitoring` namespaces, you should run `eck-diagnostics` as follows:
0 commit comments